Exemplo n.º 1
0
 /// 
 /// Close the Toast object and calculate, if needed the new coordinates.
 /// 
 /// TaskbarNotifier object to close and dispose.
 /// Nothing
 public void KillWindow(TaskbarNotifier toast)
 {
     nToastCount -= 1;
     if (nToastCount == 0)
     {
         nBaseWindowBottom = 0;
         nBaseWindowRight = 0;
     }
     toast.Close();
     toast.Dispose();
 }
Exemplo n.º 2
0
 private void CloseClick(object sender, EventArgs e)
 {
     //MessageBox.Show("Close clicked!");
     taskbarNotifier3.Close();
     taskbarNotifier3 = null;
 }