示例#1
0
 void OnErrorRaised(ComboControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }
示例#2
0
        protected override void  OnSelectionChangeCommitted(EventArgs e)
        {
            string message = CheckSecurityPermission(GroupUniqueID);

            if (message == string.Empty)
            {
                base.OnSelectionChangeCommitted(e);
            }
            else
            {
                this.SelectedIndex = LoadedIndex;
                ComboControlEventArgs cnt = new ComboControlEventArgs();
                cnt.ErrorMessage = message;
                if (oError != null)
                {
                    this.oError(cnt);
                }
            }
        }
示例#3
0
 void OnErrorRaised(ComboControlEventArgs e)
 {
     if (oError != null)
     {
         oError(e);
     }
 }
示例#4
0
 protected override void OnSelectionChangeCommitted(EventArgs e)
 {
     string message = CheckSecurityPermission(GroupUniqueID);
     if (message == string.Empty) { base.OnSelectionChangeCommitted(e); }
     else
     {
         this.SelectedIndex = LoadedIndex;
         ComboControlEventArgs cnt = new ComboControlEventArgs();
         cnt.ErrorMessage = message;
         if (oError != null) { this.oError(cnt); }
     }
 }