public static void ShowSetupWindow() { if (master == null) { master = new XBoxConfig(); master.Owner = Earth3d.MainWindow; master.Show(); } else { master.Show(); master.Activate(); } }
private void XBoxConfig_FormClosed(object sender, FormClosedEventArgs e) { SaveDirtyMaps(); master = null; }