From: jpbruyere Date: Fri, 11 Sep 2015 08:34:43 +0000 (+0200) Subject: * GraphicObject.cs: X-Git-Tag: 0.2~42 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=019452b6194b660984b4f260e20347e57ce1abb4;p=jp%2Fcrow.git * GraphicObject.cs: removed Mouse enter and leave debug message * ListBox.cs: comment * Interface.cs: removed test null of es.Value, I was sure it was working with it, but it does not anymore --- diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 03d43da0..b6ebeb14 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -711,12 +711,10 @@ namespace go } public virtual void onMouseEnter(object sender, MouseMoveEventArgs e) { - Debug.WriteLine ("Mouse enter: " + this.Name); MouseEnter.Raise (this, e); } public virtual void onMouseLeave(object sender, MouseMoveEventArgs e) { - Debug.WriteLine ("Mouse leave: " + this.Name); MouseLeave.Raise (this, e); } #endregion diff --git a/src/GraphicObjects/ListBox.cs b/src/GraphicObjects/ListBox.cs index ee068ac5..5811e5ac 100644 --- a/src/GraphicObjects/ListBox.cs +++ b/src/GraphicObjects/ListBox.cs @@ -22,7 +22,7 @@ using System; using System.Collections; using System.Xml.Serialization; using System.ComponentModel; - +//TODO: implement ItemTemplate node in xml namespace go { [DefaultTemplate("#go.Templates.Listbox.goml")] diff --git a/src/Interface.cs b/src/Interface.cs index 9b6e3dc8..54cd752a 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -157,8 +157,8 @@ namespace go { foreach (DynAttribute es in GOMLResolver) { - if (string.IsNullOrEmpty(es.Value)) - continue; +// if (string.IsNullOrEmpty(es.Value)) +// continue; Type dstType = es.Source.GetType (); MemberInfo miTarget = dstType.GetMember (es.MemberName).FirstOrDefault();