I am doing a full screen/normal screen button but the logic suddenly started looping from full screen to normal size each button click and it was working at one point here is a snippet:
If ScreenMode.Text = "Normal Size" Then
ScreenMode.Text = "Full Size"
Me.WindowState = FormWindowState.Normal
Me.Width = 563
Me.Height = 447
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable
Me.TopMost = False
ElseIf Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable Then
ScreenMode.Text = "Normal Size"
Me.WindowState = FormWindowState.Maximized
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.TopMost = True
End If