Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

VB.net - WinForms application, need ovals drawn on form...

I have a VB.net WinForm application that has a picture on it.  I need to high light certain areas of the picture with oval shapes (just the outline of the oval).  There are going to be about 2-30 ovals on the picture.  It's to help identify what is wrong on the picture.  So some of the ovals may not even be high lighted or shown.

Should I use the PowerPacks Oval shapes or is there a better more up to date way of doing this?  Seems like with powerpack shapes, you cant control the order (bring to front/back).
0
keith1001
Asked:
keith1001
2 Solutions
 
Bob LearnedCommented:
You could use the Form.Paint event, to draw ellipses, using the Graphics class instance that you get from the Paint event arguments.
0
 
Éric MoreauSenior .Net ConsultantCommented:
have you tried DrawEllipse? Check http://msdn.microsoft.com/en-us/library/aa327515(v=vs.71).aspx for an example
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now