Esempio n. 1
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     _sharedConnection.Connect(tbAddress.Text, cbAutoRefresh.Checked, (int)nudInterval.Value);
     this.DialogResult = DialogResult.OK;
     this.Hide();
 }