void OnErrorRaised(ComboControlEventArgs e) { if (oError != null) { oError(e); } }
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); } } }