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