/// /// 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(); }
private void CloseClick(object sender, EventArgs e) { //MessageBox.Show("Close clicked!"); taskbarNotifier3.Close(); taskbarNotifier3 = null; }