Exemple #1
0
        private void NotificationDialog_Load(object sender, EventArgs e)
        {
            const int margin = 10;
            int       x      = Screen.PrimaryScreen.WorkingArea.Right -
                               this.Width - margin;
            int y = Screen.PrimaryScreen.WorkingArea.Bottom -
                    this.Height - margin;

            this.Location = new Point(x, y);

            Closer.Start();
        }
Exemple #2
0
 private void NotificationDialog_MouseLeave(object sender, EventArgs e)
 {
     Closer.Start();
 }