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)
19
BindingCompleteEventArgs e =
new
(binding, state, context);
38
BindingCompleteEventArgs e =
new
(binding, state, context, errorText);
57
BindingCompleteEventArgs e =
new
(binding, state, context, errorText, exception);
76
BindingCompleteEventArgs e =
new
(binding, state, context, errorText, exception, cancel);
System\Windows\Forms\BindingTests.cs (3)
320
yield return new object[] { new
BindingCompleteEventArgs
(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate) };
376
yield return new object[] { new
BindingCompleteEventArgs
(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate), new NullReferenceException() };
409
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)
934
BindingCompleteEventArgs
args = CreateBindingCompleteEventArgs(BindingCompleteContext.DataSourceUpdate, lastException);
1011
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)
19
BindingCompleteEventArgs
e = new(binding, state, context);
38
BindingCompleteEventArgs
e = new(binding, state, context, errorText);
57
BindingCompleteEventArgs
e = new(binding, state, context, errorText, exception);
76
BindingCompleteEventArgs
e = new(binding, state, context, errorText, exception, cancel);
System\Windows\Forms\BindingTests.cs (5)
325
public void Binding_OnBindingComplete_Invoke_CallsBindingComplete(
BindingCompleteEventArgs
eventArgs)
353
public void Binding_OnBindingComplete_InvokeInsideBindingComplete_DoesNotCallBindingComplete(
BindingCompleteEventArgs
eventArgs)
382
public void Binding_OnBindingComplete_ThrowsCriticalException_Rethrows(
BindingCompleteEventArgs
eventArgs, Exception exception)
414
public void Binding_OnBindingComplete_ThrowsNonCriticalException_SetsCancelToTrue(
BindingCompleteEventArgs
eventArgs, Exception exception)
634
public new void OnBindingComplete(
BindingCompleteEventArgs
e) => base.OnBindingComplete(e);