I'm creating an application that is based on displaying some notifications which the user should Accept or Refuse
How can i show the request form on the right bottom of screen not above taskbar ?
Code :
notificationForm ntf = new notificationForm();
ntf.ShowDialog();
Any help would be highly appreciated
Try this:
int x = Screen.PrimaryScreen.WorkingArea.Width - this.Width;
int y = Screen.PrimaryScreen.WorkingArea.Height - this.Height;
this.Location = new Point(x, y);