Exemple #1
0
 public static void ShowDialog()
 {
     if (Dlg != null)
     {
         throw null;                 // never
     }
     Dlg = new LevelEditorDlg();
     Dlg.Show();
 }
Exemple #2
0
 public static void CloseDialog()
 {
     Dlg.Close();
     Dlg.Dispose();
     Dlg = null;
 }