void MakeController() { Controller = new MWidgetController(this); Controller.SetAction( MEventType.Unlock, new EventAction((param, w, sender) => { Controller.RepeatForChildren(MEventType.Unlock, param); w.SetLock(false); })); }
protected void setDefaultParams() { setDefaultColors(); Controller = new MWidgetController(this); Controller.SetAction( MEventType.Unlock, new EventAction((param, w, sender) => { w.Children[(w as MLayout).selectedWidgetIndex].Controller.SendEvent(new MEvent(MEventType.Unlock, param, sender)); w.SetLock(false); })); }
void MakeController() { Controller = new MWidgetController(this); Controller.SetAction( MEventType.Unlock, new EventAction((param, w, sender) => { foreach (MWidget c in w.Children) { c.Controller.SendEvent(new MEvent(MEventType.Unlock, param, sender)); } w.SetLock(false); })); }
public MTestWidget() { Controller = new MWidgetController(this); }
public MLableMulty(String S, int width) { Width = width; Text = MDrawHandler.Strings(S, width); Controller = new MWidgetController(this); }
protected void Init() { Controller = new MWidgetController(this); }
void MakeController() { Controller = new MWidgetController(this); }