10 references to Success
System.Windows.Forms (2)
System\Windows\Forms\DataBinding\Binding.cs (2)
596
BindingCompleteState state = BindingCompleteState.
Success
;
941
if (args.BindingCompleteState == BindingCompleteState.
Success
&& !args.Cancel)
System.Windows.Forms.Tests (8)
System\Windows\Forms\BindingCompleteEventArgsTests.cs (4)
12
yield return new object[] { null, BindingCompleteState.
Success
- 1, BindingCompleteContext.ControlUpdate - 1 };
31
yield return new object[] { null, BindingCompleteState.
Success
- 1, BindingCompleteContext.ControlUpdate - 1, null };
50
yield return new object[] { null, BindingCompleteState.
Success
- 1, BindingCompleteContext.ControlUpdate - 1, null, null };
69
yield return new object[] { null, BindingCompleteState.
Success
- 1, BindingCompleteContext.ControlUpdate - 1, null, null, false };
System\Windows\Forms\BindingTests.cs (4)
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() };
575
Assert.Equal(BindingCompleteState.
Success
, e.BindingCompleteState);