5 writes to CloseReason
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
5609
CloseReason
= CloseReason.None;
6660
CloseReason
= CloseReason.None;
6954
CloseReason
= CloseReason.UserClosing;
7050
CloseReason
= CloseReason.TaskManagerClosing;
7058
CloseReason
= CloseReason.WindowsShutDown;
4 references to CloseReason
System.Windows.Forms (4)
System\Windows\Forms\Form.cs (3)
6571
FormClosingEventArgs e = new(
CloseReason
, false);
6712
fc = new FormClosedEventArgs(
CloseReason
);
7048
if (
CloseReason
== CloseReason.None)
System\Windows\Forms\MDI\MdiWindowListStrip.cs (1)
103
if (forms[i].Visible && (forms[i].
CloseReason
== CloseReason.None))