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

Go down 
Moti Barski

Moti Barski

Posts : 281
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
» Selection of sub menus in Selenium IDE
» how to select an option from select box of a form
» Need to do a simple Left Click in a text box
» Hi everyone!
» mario party 2

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