示例#1
0
 protected override void OnClosing(CancelEventArgs ce)
 {
     if (this.pmClosingApp())
     {
         base.OnClosing(ce);
         App.ActivateMainScreen();
     }
     else
     {
         ce.Cancel = true;
     }
 }