How to properly calculate the coordinates for the withdrawal of the form



  • Specify how to correctly calculate the coordinates for the withdrawal of the form in order to place it in the right underground of the working table without closing the diskbar.



  • Concerning the work area of the active virtual desk, taking into account any position of the diskbar on the screen.

    var x = SystemInformation.WorkingArea.Width - Width;
    var y = SystemInformation.WorkingArea.Height - Height;
    Location = new Point(x, y);
    

    Decision on the grounds https://stackoverflow.com/q/1317235/5796587 c EnSO




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2