Esempio n. 1
0
        // ***********************************************************************************
        // CONSTRUCTOR
        // ***********************************************************************************

        public HOtk2dButtonEvent(HOtk2dButtonEventType type, HOtk2dButton target)
        {
            this.target = target;
            this.type = type;
        } 
Esempio n. 2
0
 static void DispatchEvent(HOtk2dButton button, HOTk2dButtonDelegate e, HOTk2dButtonDelegate eManager, HOtk2dButtonEventType type)
 {
     if (e != null)
     {
         e(new HOtk2dButtonEvent(type, button));
     }
     eManager(new HOtk2dButtonEvent(type, button));
 }
Esempio n. 3
0
        // ***********************************************************************************
        // CONSTRUCTOR
        // ***********************************************************************************

        public HOtk2dButtonEvent(HOtk2dButtonEventType type, HOtk2dButton target)
        {
            this.target = target;
            this.type   = type;
        }
Esempio n. 4
0
 static void DispatchEvent(HOtk2dButton button, HOTk2dButtonDelegate e, HOTk2dButtonDelegate eManager, HOtk2dButtonEventType type)
 {
     if (e != null) e(new HOtk2dButtonEvent(type, button));
     eManager(new HOtk2dButtonEvent(type, button));
 }