private void _DoAdvancedDialog() { frmAdvancedSettings frmSettings = new frmAdvancedSettings(); frmSettings.ShowDialog(); }
private void pbGeminiSettings_Click(object sender, EventArgs e) { frmAdvancedSettings settings = new frmAdvancedSettings(); if (settings != null && !settings.IsDisposed) { DialogResult re = settings.ShowDialog(); } }
private void mountParametersToolStripMenuItem_Click(object sender, EventArgs e) { frmAdvancedSettings parametersForm = new frmAdvancedSettings(); if (parametersForm == null || parametersForm.IsDisposed) return; DialogResult ans = parametersForm.ShowDialog(this); if (ans == DialogResult.OK) { } parametersForm.Dispose(); GeminiHardware.Instance.Profile = null; }