battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | capture selected part from screenshot

Go down 
Moti Barski


Posts : 259
Join date : 2011-08-02

PostSubject: capture selected part from screenshot   Sat Dec 05, 2015 12:47 pm

overlord stage 2 was enabled

add btn and picbox
Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim pic As Bitmap = New Bitmap(270, 100)
        Dim gfx As Graphics = Graphics.FromImage(pic)
        gfx.CopyFromScreen(New Point(MousePosition.X, MousePosition.Y), New Point(0, 0), pic.Size)
        PictureBox1.Image = pic

    End Sub
End Class

MB over and out _______________________     
Back to top Go down
View user profile capture selected part from screenshot
Back to top 
Page 1 of 1
 Similar topics
» How to capture screenshots in RC with JUnit
» How to capture the dialog box values using the selenium IDE
» I know the volcano story is becoming part of history.
» how to capture and replay date picker in j-querry
» How to take the screen shot? when i set a kwargs, it is showing error... when i not set kwargs it is coming black color as background

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: