Пример #1
0
 private void Application_BeginQuit(object sender, BeginQuitEventArgs e)
 {
     PrintEventMessage("Begin Quit");
 }
Пример #2
0
 private void OnBeginQuit(object sender, BeginQuitEventArgs e)
 {
     quitting = true;
 }