Getting resolution issue

i am trying to get resolution of the screen using
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width but i am getting error that
“screen” is not a member of “Forms” but when i press dot after forms “screen is coming” not sure what to do , i used the imports next to the variable.

1 Like