battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeSearchRegisterLog in
Share
 

 moti construct the megazord with me !

Go down 
AuthorMessage
kurosen
codding
codding
kurosen

Posts : 105
Join date : 2012-04-17

moti construct the megazord with me ! Empty
PostSubject: moti construct the megazord with me !   moti construct the megazord with me ! EmptyTue Feb 14, 2017 7:39 pm

vb.net see through picbox image capture megazord

Code:
Public Class Form1

    Dim bmp1 As Bitmap
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim screenBounds = Screen.PrimaryScreen.Bounds
        Dim screenShot As New Bitmap(screenBounds.Width, screenBounds.Height)
        Using g = Graphics.FromImage(screenShot)
            g.CopyFromScreen(screenBounds.Location, Point.Empty, screenBounds.Size)
        End Using

        bmp1 = screenShot
        Dim cloneRect As New Rectangle(Me.Location.X + PictureBox1.Location.X + 4, Me.Location.Y + PictureBox1.Location.Y + 30, PictureBox1.Width - 5, PictureBox1.Height - 35)

        PictureBox2.Image = bmp1.Clone(cloneRect, bmp1.PixelFormat)
    End Sub
End Class
Back to top Go down
kurosen
codding
codding
kurosen

Posts : 105
Join date : 2012-04-17

moti construct the megazord with me ! Empty
PostSubject: NetLingo   moti construct the megazord with me ! EmptyTue Feb 14, 2017 11:10 pm

Back to top Go down
 
moti construct the megazord with me !
Back to top 
Page 1 of 1

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