C# Class Evbpc.Framework.Windows.Forms.FormClosingEventArgs

Provides data for the Form.FormClosing event.
https://msdn.microsoft.com/en-us/library/system.windows.forms.formclosingeventargs(v=vs.110).aspx
Inheritance: CancelEventArgs
Show file Open project: EBrown8534/Framework Class Usage Examples

Public Methods

Method Description
FormClosingEventArgs ( CloseReason closeReason, bool cancel ) : System

Initializes a new instance of the FormClosingEventArgs class.

https://msdn.microsoft.com/en-us/library/system.windows.forms.formclosingeventargs.formclosingeventargs(v=vs.110).aspx

Method Details

FormClosingEventArgs() public method

Initializes a new instance of the FormClosingEventArgs class.
https://msdn.microsoft.com/en-us/library/system.windows.forms.formclosingeventargs.formclosingeventargs(v=vs.110).aspx
public FormClosingEventArgs ( CloseReason closeReason, bool cancel ) : System
closeReason CloseReason A value that represents the reason why the form is being closed.
cancel bool True to cancel the event, otherwise false.
return System