private void menuSettings_Click(object sender, EventArgs e) { using (var frm = new FrmSettings(ConServer)) { frm.ShowDialog(); } }
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { using (var frm = new FrmSettings(ListenServer)) { frm.ShowDialog(); } }