Hello,
I am facing problem - window2 is not in fullscreen mode (I can see approx 30 cm from the top of monitor and also start menu is visible) even though correct resolution is detected (I saw correct values in textboxes from testing).
I cannot use the window_state.maximize because then I cannot see other important window.
I am facing problem - window2 is not in fullscreen mode (I can see approx 30 cm from the top of monitor and also start menu is visible) even though correct resolution is detected (I saw correct values in textboxes from testing).
Code:
Private Sub Window2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim intX As Integer = Screen.PrimaryScreen.Bounds.Width
Dim intY As Integer = Screen.PrimaryScreen.Bounds.Height
Me.Width = intX
Me.Height = intY
End Sub