Well, many years have passed, and it is derived from the accepted answer, but it worked for me. This method is a member of the Form class. The screen variable contains the properties of the screen on which the upper left corner of the form is located when the method is called.
private void ClsFormFoo_Load(object sender, EventArgs e) { Screen screen = Screen.FromControl(this); }
Nova Sys Eng Jul 23 '19 at 14:41 2019-07-23 14:41
source share