From 019452b6194b660984b4f260e20347e57ce1abb4 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 11 Sep 2015 10:34:43 +0200 Subject: [PATCH] * 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 --- src/GraphicObjects/GraphicObject.cs | 2 -- src/GraphicObjects/ListBox.cs | 2 +- src/Interface.cs | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) 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(); -- 2.47.3