8 instantiations of BindingCompleteEventArgs
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\Binding.cs (1)
617return new BindingCompleteEventArgs(this, state, context, errorText, ex, cancel);
System.Windows.Forms.Tests (7)
System\Windows\Forms\BindingCompleteEventArgsTests.cs (4)
19BindingCompleteEventArgs e = new(binding, state, context); 38BindingCompleteEventArgs e = new(binding, state, context, errorText); 57BindingCompleteEventArgs e = new(binding, state, context, errorText, exception); 76BindingCompleteEventArgs e = new(binding, state, context, errorText, exception, cancel);
System\Windows\Forms\BindingTests.cs (3)
320yield return new object[] { new BindingCompleteEventArgs(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate) }; 376yield return new object[] { new BindingCompleteEventArgs(null, BindingCompleteState.Success, BindingCompleteContext.ControlUpdate), new NullReferenceException() }; 409yield 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)
592private BindingCompleteEventArgs CreateBindingCompleteEventArgs(BindingCompleteContext context, Exception? ex) 620protected virtual void OnBindingComplete(BindingCompleteEventArgs e) 934BindingCompleteEventArgs args = CreateBindingCompleteEventArgs(BindingCompleteContext.DataSourceUpdate, lastException); 1011BindingCompleteEventArgs args = CreateBindingCompleteEventArgs(BindingCompleteContext.ControlUpdate, lastException);
System\Windows\Forms\DataBinding\BindingCompleteEventHandler.cs (1)
9public delegate void BindingCompleteEventHandler(object? sender, BindingCompleteEventArgs e);
System\Windows\Forms\DataBinding\BindingManagerBase.cs (2)
45protected internal void OnBindingComplete(BindingCompleteEventArgs args) 335private void Binding_BindingComplete(object? sender, BindingCompleteEventArgs args)
System\Windows\Forms\DataBinding\BindingSource.cs (2)
574private void CurrencyManager_BindingComplete(object? sender, BindingCompleteEventArgs e) 797protected virtual void OnBindingComplete(BindingCompleteEventArgs e)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
389private void ErrorManager_BindingComplete(object? sender, BindingCompleteEventArgs e)
System.Windows.Forms.Tests (9)
System\Windows\Forms\BindingCompleteEventArgsTests.cs (4)
19BindingCompleteEventArgs e = new(binding, state, context); 38BindingCompleteEventArgs e = new(binding, state, context, errorText); 57BindingCompleteEventArgs e = new(binding, state, context, errorText, exception); 76BindingCompleteEventArgs e = new(binding, state, context, errorText, exception, cancel);
System\Windows\Forms\BindingTests.cs (5)
325public void Binding_OnBindingComplete_Invoke_CallsBindingComplete(BindingCompleteEventArgs eventArgs) 353public void Binding_OnBindingComplete_InvokeInsideBindingComplete_DoesNotCallBindingComplete(BindingCompleteEventArgs eventArgs) 382public void Binding_OnBindingComplete_ThrowsCriticalException_Rethrows(BindingCompleteEventArgs eventArgs, Exception exception) 414public void Binding_OnBindingComplete_ThrowsNonCriticalException_SetsCancelToTrue(BindingCompleteEventArgs eventArgs, Exception exception) 634public new void OnBindingComplete(BindingCompleteEventArgs e) => base.OnBindingComplete(e);