示例#1
0
 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();
     }
 }
示例#3
0
        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;
        }