Exemple #1
0
        private void menuMainSettingsNetwork_Click(object sender, EventArgs e)
        {
            using (frmNetworkSettings frm = new frmNetworkSettings(Properties.Settings.Default.SelectedDevice)) {
                if (frm.ShowDialog(this) != System.Windows.Forms.DialogResult.OK)
                {
                    return;
                }
                if (frm.SelectedDevice == null)
                {
                    return;
                }

                OpenListening(frm.SelectedDevice);
                frm.Close();
            }
        }
Exemple #2
0
		private void menuMainSettingsNetwork_Click(object sender, EventArgs e) {
			using (frmNetworkSettings frm = new frmNetworkSettings(Properties.Settings.Default.SelectedDevice)) {
				if (frm.ShowDialog(this) != System.Windows.Forms.DialogResult.OK) {
					return;
				}
				if (frm.SelectedDevice == null) {
					return;
				}

				OpenListening(frm.SelectedDevice);
				frm.Close();
			}
		}