예제 #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>();
 }