Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16037

VS 2010 Window2 is not in fullscreen mode even correct resolution is detected

$
0
0
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).
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

I cannot use the window_state.maximize because then I cannot see other important window.

Viewing all articles
Browse latest Browse all 16037

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>