コード例 #1
0
 void MakeController()
 {
     Controller = new MWidgetController(this);
     Controller.SetAction(
         MEventType.Unlock,
         new EventAction((param, w, sender) =>
                         { Controller.RepeatForChildren(MEventType.Unlock, param); w.SetLock(false); }));
 }
コード例 #2
0
 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);
     }));
 }
コード例 #3
0
 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);
     }));
 }
コード例 #4
0
 public MTestWidget()
 {
     Controller = new MWidgetController(this);
 }
コード例 #5
0
 public MLableMulty(String S, int width)
 {
     Width      = width; Text = MDrawHandler.Strings(S, width);
     Controller = new MWidgetController(this);
 }
コード例 #6
0
 protected void Init()
 {
     Controller = new MWidgetController(this);
 }
コード例 #7
0
 void MakeController()
 {
     Controller = new MWidgetController(this);
 }