StormBreaker
Registered
Код:
Private Sub СниманеToolStripMenuItem_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim bounds As Rectangle = Screen.PrimaryScreen.Bounds
Dim screenshot As Bitmap = New Bitmap(bounds.Width, bounds.Height, PixelFormat.Format32bppArgb)
Dim graph As Graphics = Graphics.FromImage(screenshot)
graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)
Me.PictureBox1.Image = screenshot
Me.Timer1.Start()
End Sub
Няма код за скриване на формата