8 instantiations of BindingCompleteEventArgs
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\Binding.cs (1)
617
return new
BindingCompleteEventArgs
(this, state, context, errorText, ex, cancel);
System.Windows.Forms.Tests (7)
System\Windows\Forms\BindingCompleteEventArgsTests.cs (4)
21
BindingCompleteEventArgs e =
new
(binding, state, context);
40
BindingCompleteEventArgs e =
new
(binding, state, context, errorText);
59
BindingCompleteEventArgs e =
new
(binding, state, context, errorText, exception);
78
BindingCompleteEventArgs e =
new
(binding, state, context, errorText, exception, cancel);
System\Windows\Forms\BindingTests.cs (3)
322
yield return new object[] { new
BindingCompleteEventArgs
(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate) };
378
yield return new object[] { new
BindingCompleteEventArgs
(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate), new NullReferenceException() };
411
yield return new object[] { new
BindingCompleteEventArgs
(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate), new SecurityException() };
19 references to BindingCompleteEventArgs
System.Windows.Forms (10)
System\Windows\Forms\DataBinding\Binding.cs (4)
592
private
BindingCompleteEventArgs
CreateBindingCompleteEventArgs(BindingCompleteContext context, Exception? ex)
620
protected virtual void OnBindingComplete(
BindingCompleteEventArgs
e)
931
BindingCompleteEventArgs
args = CreateBindingCompleteEventArgs(BindingCompleteContext.DataSourceUpdate, lastException);
1008
BindingCompleteEventArgs
args = CreateBindingCompleteEventArgs(BindingCompleteContext.ControlUpdate, lastException);
System\Windows\Forms\DataBinding\BindingCompleteEventHandler.cs (1)
9
public delegate void BindingCompleteEventHandler(object? sender,
BindingCompleteEventArgs
e);
System\Windows\Forms\DataBinding\BindingManagerBase.cs (2)
45
protected internal void OnBindingComplete(
BindingCompleteEventArgs
args)
335
private void Binding_BindingComplete(object? sender,
BindingCompleteEventArgs
args)
System\Windows\Forms\DataBinding\BindingSource.cs (2)
574
private void CurrencyManager_BindingComplete(object? sender,
BindingCompleteEventArgs
e)
797
protected virtual void OnBindingComplete(
BindingCompleteEventArgs
e)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
389
private void ErrorManager_BindingComplete(object? sender,
BindingCompleteEventArgs
e)
System.Windows.Forms.Tests (9)
System\Windows\Forms\BindingCompleteEventArgsTests.cs (4)
21
BindingCompleteEventArgs
e = new(binding, state, context);
40
BindingCompleteEventArgs
e = new(binding, state, context, errorText);
59
BindingCompleteEventArgs
e = new(binding, state, context, errorText, exception);
78
BindingCompleteEventArgs
e = new(binding, state, context, errorText, exception, cancel);
System\Windows\Forms\BindingTests.cs (5)
327
public void Binding_OnBindingComplete_Invoke_CallsBindingComplete(
BindingCompleteEventArgs
eventArgs)
355
public void Binding_OnBindingComplete_InvokeInsideBindingComplete_DoesNotCallBindingComplete(
BindingCompleteEventArgs
eventArgs)
384
public void Binding_OnBindingComplete_ThrowsCriticalException_Rethrows(
BindingCompleteEventArgs
eventArgs, Exception exception)
416
public void Binding_OnBindingComplete_ThrowsNonCriticalException_SetsCancelToTrue(
BindingCompleteEventArgs
eventArgs, Exception exception)
624
public new void OnBindingComplete(
BindingCompleteEventArgs
e) => base.OnBindingComplete(e);