protected GuiChildPresenter(GuiPresenter parent, bool attachController) : base(parent.Host) { Parent = parent; if (attachController) { base.View = Host.Provider.GetChildController(this, parent.View); } }
public bool CheckExecute(GuiPresenter presenter) { var MyHandler = (GuiCommandCheckHandler)Delegate.CreateDelegate(typeof(GuiCommandCheckHandler), presenter, _CheckMethod); return(MyHandler()); }
protected GuiChildPresenter(GuiPresenter parent) : base(parent.Host) { Parent = parent; base.View = Host.Provider.GetChildController(this, parent.View); }
//**************************************** public void Execute(GuiPresenter presenter) { var MyHandler = (GuiCommandHandler)Delegate.CreateDelegate(typeof(GuiCommandHandler), presenter, _TargetMethod); MyHandler(); }