Capture portion of PicBox
Hello,
I'm writing a game in VB 2005. The Game Board is a Bitmap displayed in a PictureBox within the Main Form. Occassionally I want to display a Message or a Graphic onto the Game Board, but I need a way to save and restore what was originally there. I've come across this:
<code>
Dim RectCopy As New Rectangle(X, Y, sizeX, sizeY)
<end code>
But I believe this only works to capture the Windows Form background, whereas I need to capture the PictureBox background.
Visual Basic 2005 Express Edition
Microsoft Net version 2