battle programmers alliance

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

 moti construct the megazord with me !

View previous topic View next topic Go down 
AuthorMessage
kurosen

avatar

Posts : 63
Join date : 2012-04-17

PostSubject: moti construct the megazord with me !   Wed Feb 15, 2017 12:39 am

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
View user profile
kurosen

avatar

Posts : 63
Join date : 2012-04-17

PostSubject: NetLingo   Wed Feb 15, 2017 4:10 am

http://www.netlingo.com/acronyms.php

getting there 96line
Back to top Go down
View user profile
 
moti construct the megazord with me !
View previous topic View next topic 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: