private WindowClosing ( object sender, CancelEventArgs e ) : void | ||
sender | object | The |
e | CancelEventArgs | The event data. |
Результат | void |
private void WindowClosing(object sender, CancelEventArgs e)
{
e.Cancel = !this.PromptToSaveIfRequired();
}