11 references to None
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (4)
159private CloseReason _closeReason = CloseReason.None; 5609CloseReason = CloseReason.None; 6660CloseReason = CloseReason.None; 7048if (CloseReason == CloseReason.None)
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
103if (forms[i].Visible && (forms[i].CloseReason == CloseReason.None))
System.Windows.Forms.Tests (4)
System\Windows\Forms\FormClosedEventArgsTests.cs (2)
10[InlineData(CloseReason.None)] 11[InlineData((CloseReason.None - 1))]
System\Windows\Forms\FormClosingEventArgsTests.cs (2)
10[InlineData(CloseReason.None, true)] 11[InlineData((CloseReason.None - 1), false)]
System.Windows.Forms.UI.IntegrationTests (2)
ButtonTests.cs (2)
38Assert.Equal(CloseReason.None, form.CloseReason); 46Assert.Equal(CloseReason.None, form.CloseReason);