public static void showAdminPassword(Options options) { if (Pswd.password == null) { Pswd.password = new Pswd(); } Pswd.password.options = options; Pswd.password.Show(); }
/// <summary> /// Die verwendeten Ressourcen bereinigen. /// </summary> protected override void Dispose(bool disposing) { Options.REMOPENTAB = this.tabControl1.SelectedIndex; Options.options = null; if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
public static void ShowOptions() { if (Options.options == null) { Options.options = new Options(); Options.options.button2.Enabled = false; Options.options.checkBox1.Enabled = false; Options.options.Show(); } else { Options.options.Focus(); } }