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