private void MyDecimalUpDown_InputValidationError(object sender, Xceed.Wpf.Toolkit.Core.Input.InputValidationErrorEventArgs e) { StringBuilder errmsgStringBuilder = new StringBuilder("入力値は"); errmsgStringBuilder.AppendFormat("{0:F2}", this.Minimum); errmsgStringBuilder.Append("-"); errmsgStringBuilder.AppendFormat("{0:F2}", this.Maximum); errmsgStringBuilder.Append("を入力してください"); //MessageBox("aaa"); System.Windows.MessageBox.Show(errmsgStringBuilder.ToString()); }
private void On_Error(object sender, Xceed.Wpf.Toolkit.Core.Input.InputValidationErrorEventArgs e) { }
private void DateTimeUpDown_InputValidationError(object sender, Xceed.Wpf.Toolkit.Core.Input.InputValidationErrorEventArgs e) { MessageBox.Show("The date inputed was formatted incorrectly, please try again"); }