예제 #1
0
 void OnErrorRaised(TextBoxControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }
예제 #2
0
        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            string message = CheckSecurityPermission(GroupUniqueID);

            if (message == string.Empty)
            {
                base.OnKeyPress(e);
            }
            else
            {
                e.Handled = true;
                TextBoxControlEventArgs cnt = new TextBoxControlEventArgs();
                cnt.ErrorMessage = message;
                if (oError != null)
                {
                    this.oError(cnt);
                }
            }
        }
예제 #3
0
 protected override void OnKeyPress(KeyPressEventArgs e)
 {
     string message = CheckSecurityPermission(GroupUniqueID);
     if (message == string.Empty) { base.OnKeyPress(e); }
     else
     {
         e.Handled = true;
         TextBoxControlEventArgs cnt = new TextBoxControlEventArgs();
         cnt.ErrorMessage = message;
         if (oError != null) { this.oError(cnt); }
     }
 }
예제 #4
0
 void OnErrorRaised(TextBoxControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }