private void OkBTN_Click(object sender, EventArgs e) { try { ValueCTRL.EndEdit(); DialogResult = DialogResult.OK; } catch (Exception exception) { ClientUtils.HandleException(this.Text, exception); } }
private void OkBTN_Click(object sender, EventArgs e) { try { ValueCTRL.EndEdit(); DialogResult = DialogResult.OK; } catch (Exception exception) { MessageBox.Show(Text + ": " + exception.Message); } }
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); } }