Exemplo n.º 1
0
 void OnErrorRaised(TextBoxControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }
Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 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); }
     }
 }
Exemplo n.º 4
0
 void OnErrorRaised(TextBoxControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }