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