RosettaCodeData/Task/GUI-Maximum-window-dimensions/Visual-Basic-.NET/gui-maximum-window-dimensions-2.visual
2019-09-12 10:33:56 -07:00

15 lines
394 B
Text

Imports System.Drawing
Imports System.Windows.Forms
Module Program
Sub Main()
Using f As New Form() With {
.WindowState = FormWindowState.Maximized,
.FormBorderStyle = FormBorderStyle.None
}
f.Show()
Console.WriteLine($"Size of maximized borderless form: {f.Width}x{f.Height}")
End Using
End Sub
End Module