|
-
Jun 13th, 2011, 01:58 PM
#5
Re: vb 2010 Mapeditor
I'd make the Map class a control (by inheriting Control, or Panel, or PictureBox, or...) and put the painting in the OnPaint method override. This way you can just drop the Map onto any form you want instead of having to repeat the drawing code in each form's Paint event...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|