7 instantiations of FormClosingEventArgs
System.Windows.Forms (6)
System\Windows\Forms\Form.cs (6)
3129FormClosingEventArgs e = new(_closeReason, false); 4828FormClosingEventArgs e = new(CloseReason.ApplicationExitCall, false); 4836FormClosingEventArgs fce = new(CloseReason.FormOwnerClosing, false); 6571FormClosingEventArgs e = new(CloseReason, false); 6604FormClosingEventArgs fe = new(CloseReason.MdiFormClosing, e.Cancel); 6634FormClosingEventArgs cfe = new(CloseReason.FormOwnerClosing, e.Cancel);
System.Windows.Forms.Tests (1)
System\Windows\Forms\FormClosingEventArgsTests.cs (1)
14FormClosingEventArgs e = new(closeReason, cancel);
18 references to FormClosingEventArgs
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
180Private Sub ProgressDialog_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
System.Windows.Forms (8)
System\Windows\Forms\Form.cs (7)
3129FormClosingEventArgs e = new(_closeReason, false); 4013protected virtual void OnFormClosing(FormClosingEventArgs e) 4828FormClosingEventArgs e = new(CloseReason.ApplicationExitCall, false); 4836FormClosingEventArgs fce = new(CloseReason.FormOwnerClosing, false); 6571FormClosingEventArgs e = new(CloseReason, false); 6604FormClosingEventArgs fe = new(CloseReason.MdiFormClosing, e.Cancel); 6634FormClosingEventArgs cfe = new(CloseReason.FormOwnerClosing, e.Cancel);
System\Windows\Forms\FormClosingEventHandler.cs (1)
9public delegate void FormClosingEventHandler(object? sender, FormClosingEventArgs e);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
429private void OnFormClosing(object? sender, FormClosingEventArgs e)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ApplicationTests.cs (7)
425mdiParent.FormClosing += (object sender, FormClosingEventArgs e) => 449child.FormClosing += (object sender, FormClosingEventArgs e) => 476/// Count of forms that we will remove during last form <see cref="Form.OnFormClosing(FormClosingEventArgs)"/>. 479/// Count of forms that we will add during last form <see cref="Form.OnFormClosing(FormClosingEventArgs)"/>. 534mainForm.FormClosing += (object sender, FormClosingEventArgs e) => 564other.FormClosing += (object sender, FormClosingEventArgs e) => 626add.FormClosing += (object sender, FormClosingEventArgs e) =>
System\Windows\Forms\FormClosingEventArgsTests.cs (1)
14FormClosingEventArgs e = new(closeReason, cancel);