Skip to content

Use bitmap or draw directly?

cyn

Asked Jul 18, 2007, 4:56 PM EDT2 answers
Share
LinkedInX
Hi, I need some expert opinion. Assume that i need to display 3 shape(circle, rectangle and a triangle). I should be able to select any of them at one time to be drag and drop. So, should i draw these shape onto the form directly or should i save it in the bitmap and load the image. if using bitmap, each of the shape must be save separately? Thanks

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    you can add new user controls and give their shape. but i am not sure that if you can use region class on user control (may be u can use it). by adding new user control u drag and drop it to me
    0
  • Mahesh Chand
    0
    You should NOT use bitmap for this. It will be slower. Either draw object directly or create User Control for those shapes using by setting the Region property of the User Controls. Advantage of using User Controls is, you get feature of drag and drop.
    0