7 references to new
System.Windows.Forms (6)
System\Windows\Forms\Form.cs (6)
3204FormClosingEventArgs e = new(_closeReason, false); 4887FormClosingEventArgs e = new(CloseReason.ApplicationExitCall, false); 4895FormClosingEventArgs fce = new(CloseReason.FormOwnerClosing, false); 6662FormClosingEventArgs e = new(CloseReason, false); 6695FormClosingEventArgs fe = new(CloseReason.MdiFormClosing, e.Cancel); 6725FormClosingEventArgs cfe = new(CloseReason.FormOwnerClosing, e.Cancel);
System.Windows.Forms.Tests (1)
System\Windows\Forms\FormClosingEventArgsTests.cs (1)
16FormClosingEventArgs e = new(closeReason, cancel);