예제 #1
0
 private void ShowNotification(NotificationForm Notification)
 {
     Notification.Show();
 }
예제 #2
0
        // 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();
        }
예제 #3
0
        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();
        }