protected void OnBindingComplete(BindingCompleteEventArgs args) { if (BindingComplete != null) { BindingComplete(this, args); } }
protected virtual void OnBindingComplete(BindingCompleteEventArgs e) { if (BindingComplete != null) { BindingComplete(this, e); } }
protected virtual void OnBindingComplete(BindingCompleteEventArgs e) { BindingCompleteEventHandler eh = (BindingCompleteEventHandler)Events[BindingCompleteEvent]; if (eh != null) { eh(this, e); } }
protected override void OnBindingComplete(BindingCompleteEventArgs e) { base.OnBindingComplete(e); if (typeof(RadioButton).IsAssignableFrom(Control.GetType())) { //DataSourceUpdateMode.OnValidating does not work with RadioButtons DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged; } }
void FireBindingComplete(BindingCompleteContext context, Exception exc, string error_message) { BindingCompleteEventArgs args = new BindingCompleteEventArgs(this, exc == null ? BindingCompleteState.Success : BindingCompleteState.Exception, context); if (exc != null) { args.SetException(exc); args.SetErrorText(error_message); } OnBindingComplete(args); }