Ejemplo 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;
        }
Ejemplo n.º 2
0
        public void OnNotificationStarted(object sender, EventArgs e)
        {
            changeNextDate();
            fileStreamer.editTask(this);

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

            TaskNotification notificationForm = new TaskNotification(this);

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