Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
Imports System.Drawing
|
||||
Imports System.Windows.Forms
|
||||
|
||||
Module Program
|
||||
Sub Main()
|
||||
Dim bounds As Rectangle = Screen.PrimaryScreen.Bounds
|
||||
Console.WriteLine($"Primary screen bounds: {bounds.Width}x{bounds.Height}")
|
||||
|
||||
Dim workingArea As Rectangle = Screen.PrimaryScreen.WorkingArea
|
||||
Console.WriteLine($"Primary screen working area: {workingArea.Width}x{workingArea.Height}")
|
||||
End Sub
|
||||
End Module
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue