示例#1
0
 private void _btnOpenForm_OnClick(IUEditorWidgetClickable sender, System.EventArgs e)
 {
     if (this._activeButton != null)
     {
         foreach (var item in _listFormTypes)
         {
             if (item.Name == _activeButton.Label)
             {
                 EditorDesignerEngine.LoadEditor(item.ItemType);
                 this.CloseWindow = true;
             }
         }
     }
 }
示例#2
0
 public static void LoadEditor <T>() where T : frmBase
 {
     EditorDesignerEngine.LoadEditor(typeof(T));
 }
示例#3
0
 public static void CreateNewForm()
 {
     EditorDesignerEngine.LoadEditor <frmBase>();
 }