コード例 #1
0
ファイル: FrmMain.cs プロジェクト: akapetanovic/MUAC
 // 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;
 }
コード例 #2
0
ファイル: FrmMain.cs プロジェクト: akapetanovic/MUAC
 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;
 }