public void UIUpdate(object data, object arguments, eUpdateVisibilty visiblity, ref List <Control> owners) { foreach (Control c in mControls)//this.Controls) { ITriggerUIUpdate ui = c as ITriggerUIUpdate; if (ui != null) { ui.UIUpdate(data, arguments, visiblity, ref owners); } } }
public void UIUpdate(object data, object arguments, eUpdateVisibilty visiblity, ref List <Control> owners) { TriggerValue trigerValue = data as TriggerValue; if (trigerValue != null) { foreach (Control c in VarInHardPointsBar.GetLogicalControls()) { ITriggerUIUpdate ui = c as ITriggerUIUpdate; if (ui != null) { ui.UIUpdate(data, arguments, visiblity, ref owners); } } foreach (Control c in VarOutHardPointsBar.GetLogicalControls()) { ITriggerUIUpdate ui = c as ITriggerUIUpdate; if (ui != null) { ui.UIUpdate(data, arguments, visiblity, ref owners); } } } BasicArgument ba = arguments as BasicArgument; if (data == null) { } else if ((data == this.TriggerTemplateMapping) && (ba != null)) { if (ba.mArgument == BasicArgument.eArgumentType.Search) { owners.Add(this); } } //throw new Exception("The method or operation is not implemented."); }
public void UIUpdate(object data, object arguments, eUpdateVisibilty visiblity, ref List <Control> owners) { foreach (Control c in flowLayoutPanel1.Controls) { ITriggerUIUpdate ui = c as ITriggerUIUpdate; if (ui != null) { ui.UIUpdate(data, arguments, visiblity, ref owners); } } BasicArgument ba = arguments as BasicArgument; if (data == null) { } else if (data is TriggerComponent && (((TriggerComponent)data).ID == ((TriggerComponent)this.Tag).ID) && (ba != null)) { if (ba.mArgument == BasicArgument.eArgumentType.Search) { owners.Add(this); } } }