Example #1
0
 private static void OnExportMenuCtrlClose(
     MenuCtrl _sender)
 {
     if (_sender.mEventMenuCtrlClose != null)
     {
         _sender.mEventMenuCtrlClose(
             _sender);
     }
 }
Example #2
0
 private static void OnExportMenuCtrlAccept(
     MenuCtrl _sender,
     MenuItem _item)
 {
     if (_sender.mEventMenuCtrlAccept != null)
     {
         _sender.mEventMenuCtrlAccept(
             _sender,
             _item);
     }
 }
 private static void OnExportMenuCtrlClose(
     MenuCtrl _sender)
 {
     if (_sender.mEventMenuCtrlClose != null)
         _sender.mEventMenuCtrlClose(
              _sender );
 }
 private static void OnExportMenuCtrlAccept(
     MenuCtrl _sender ,
     MenuItem _item)
 {
     if (_sender.mEventMenuCtrlAccept != null)
         _sender.mEventMenuCtrlAccept(
              _sender ,
              _item );
 }
 internal static BaseWidget RequestWrapMenuCtrl(BaseWidget _parent, IntPtr _widget)
 {
     MenuCtrl widget = new MenuCtrl();
     widget.WrapWidget(_parent, _widget);
     return widget;
 }
 internal static BaseWidget RequestCreateMenuCtrl(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
 {
     MenuCtrl widget = new MenuCtrl();
     widget.CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name);
     return widget;
 }
Example #7
0
 static void menu_EventMenuCtrlClose(MenuCtrl _sender)
 {
     Export.DebugOut("EventMenuCtrlClose");
 }
Example #8
0
 static void menu_EventMenuCtrlAccept(MenuCtrl _sender, MenuItem _item)
 {
     Export.DebugOut("EventMenuCtrlAccept  item=" + _item.ToString());
 }