Exemple #1
0
 void OnErrorRaised(CheckBoxControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }
Exemple #2
0
        protected override void OnClick(EventArgs e)
        {
            string message = CheckSecurityPermission(GroupUniqueID);

            if (message == string.Empty)
            {
                base.OnClick(e);
            }
            else
            {
                this.Checked = false;
                CheckBoxControlEventArgs cnt = new CheckBoxControlEventArgs();
                cnt.ErrorMessage = message;
                if (oError != null)
                {
                    this.oError(cnt);
                }
            }
        }
 protected override void OnClick(EventArgs e)
 {
     string message = CheckSecurityPermission(GroupUniqueID);
     if (message == string.Empty) { base.OnClick(e); }
     else
     {
         this.Checked = false;
         CheckBoxControlEventArgs cnt = new CheckBoxControlEventArgs();
         cnt.ErrorMessage = message;
         if (oError != null) { this.oError(cnt); }
     }
 }
 void OnErrorRaised(CheckBoxControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }