Пример #1
0
 internal void RaiseOnValidationError(object sender, MaskEdBoxEvents_ValidationErrorEvent e)
 {
     if ((this.ValidationError != null))
     {
         this.ValidationError(sender, e);
     }
 }
Пример #2
0
        public virtual void ValidationError(ref string invalidText, ref short startPosition)
        {
            MaskEdBoxEvents_ValidationErrorEvent validationerrorEvent = new MaskEdBoxEvents_ValidationErrorEvent(invalidText, startPosition);

            this.parent.RaiseOnValidationError(this.parent, validationerrorEvent);
            invalidText   = validationerrorEvent.invalidText;
            startPosition = validationerrorEvent.startPosition;
        }
 private void TimeErr(object sender, MaskEdBoxEvents_ValidationErrorEvent e)
 {
     L.Items.Add("Time validation error");
 }