Esempio n. 1
0
        private void notificationIcon_BalloonTipClicked(object sender, EventArgs e)
        {
            TaskNotification notificationForm = new TaskNotification(taskToNotify, taskControler);

            notificationForm.FormClosing += notificationForm_FormClosing;
            notificationForm.Show();
            notificationForm.WindowState = FormWindowState.Normal;
        }
Esempio n. 2
0
        public void OnNotificationStarted(object sender, EventArgs e)
        {
            changeNextDate();
            fileStreamer.editTask(this);

            // тут оповещение вк и почты

            TaskNotification notificationForm = new TaskNotification(this);

            notificationForm.ShowDialog();
            notificationForm.TopMost = true;
        }