Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim DeskHeight As Integer : Dim DeskWidth As Integer DeskHeight = Screen.PrimaryScreen.Bounds.Height : DeskWidth = Screen.PrimaryScreen.Bounds.Width Me.Show() Me.Size = New Size(DeskWidth, DeskHeight) Dim Location As Point : Location = New System.Drawing.Point(0, 0) Me.Location = Location End Sub
me.WindowState = FormWindowState.Maximized
DeskWidth = Screen.PrimaryScreen.WorkingArea.Width DeskHeight = Screen.PrimaryScreen.WorkingArea.Height
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)