// Display menu box to enable users to set up connection(s) private void connectionSettingsToolStripMenuItem_Click(object sender, EventArgs e) { FrmConnectionSettings SettingDialog = new FrmConnectionSettings(); SettingDialog.Visible = false; SettingDialog.Show(this); SettingDialog.Visible = true; }
private void button8_Click(object sender, EventArgs e) { FrmConnectionSettings SettingDialog = new FrmConnectionSettings(); SettingDialog.Visible = false; SettingDialog.Owner = this; SettingDialog.Show(this); SettingDialog.Location = System.Windows.Forms.Cursor.Position; SettingDialog.Visible = true; }