16,554
社区成员
发帖
与我相关
我的任务
分享
Dim G As Graphics
Dim B1 As Bitmap
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TopMost = True
Me.Location = New Point(0, 0)
Me.Size = New Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
B1 = New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
G = Graphics.FromImage(B1)
G.CopyFromScreen(New Point(0, 0), New Point(0, 0), New Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height))
G.Dispose()
Me.BackgroundImage = B1
End Sub