Пример #1
0
 private void OkBTN_Click(object sender, EventArgs e)
 {
     try {
         ValueCTRL.EndEdit();
         DialogResult = DialogResult.OK;
     } catch (Exception exception) {
         ClientUtils.HandleException(this.Text, exception);
     }
 }
Пример #2
0
 private void OkBTN_Click(object sender, EventArgs e)
 {
     try
     {
         ValueCTRL.EndEdit();
         DialogResult = DialogResult.OK;
     }
     catch (Exception exception)
     {
         MessageBox.Show(Text + ": " + exception.Message);
     }
 }
Пример #3
0
 private void OkBTN_Click(object sender, EventArgs e)
 {
     try
     {
         ValueCTRL.EndEdit();
         DialogResult = DialogResult.OK;
     }
     catch (Exception ex)
     {
         Opc.Ua.Client.Controls.ExceptionDlg.Show(Text, ex);
     }
 }