Пример #1
0
 public GnosisGenericControlController(GnosisControl _control)
     : base(_control)
 {
     EventHandlers = new List <GnosisEventHandler>();
     if (((GnosisGenericControl)ControlImplementation).EventHandlers != null)
     {
         foreach (GnosisEventHandler handler in ((GnosisGenericControl)ControlImplementation).EventHandlers)
         {
             EventHandlers.Add(handler);
         }
     }
 }
Пример #2
0
 public GnosisBooleanHelper(GnosisEventHandler _handler, GnosisControl _control)
 {
     handler      = _handler;
     ownerControl = _control;
 }