Ejemplo n.º 1
0
 private void FrmMsg_FormClosing(object sender, FormClosingEventArgs e)
 {
     WindowAPI.ShowWindow(this.Handle, 1);
     if (this.ExitApplication)
     {
         this.AbortThread();
     }
     else
     {
         this.Hide();
         e.Cancel = true;
     }
 }