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