Solved

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

Posted on 2013-11-30
2
269 Views
Last Modified: 2013-12-13
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
Comment
Question by:keith1001
2 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 250 total points
ID: 39688503
You could use the Form.Paint event, to draw ellipses, using the Graphics class instance that you get from the Paint event arguments.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 39688570
have you tried DrawEllipse? Check http://msdn.microsoft.com/en-us/library/aa327515(v=vs.71).aspx for an example
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question