private void ShowNotification(NotificationForm Notification) { Notification.Show(); }
// Send form to System Tray private void formToTray(bool ShowBalloonTip = false) { NotificationForm Notification = new NotificationForm(ui); Notification.Title = "WhyNs Stream Watcher"; Notification.Message = "The Application has been minimized to System Tray.\n\n(Right click icon to restore)"; notifyIconMain.Visible = true; if (ShowBalloonTip) { Notification.Show(); } this.ShowInTaskbar = false; this.WindowState = FormWindowState.Minimized; this.Hide(); }
private void btnGetFollowingChannels_Click(object sender, EventArgs e) { NotificationForm nfTest = new NotificationForm(ui); nfTest.Show(); //nfTest = new NotificationForm(ui); //nfTest.Show(); //nfTest = new NotificationForm(ui); //nfTest.Show(); //nfTest = new NotificationForm(ui); //nfTest.Show(); }