Hi, 1. first of all, are you on the right forum? have you switched from native C/C++ coding to managed C++/CLI coding all of a sudden? 2. please use PRE tags to show code snippets and do show the relevant code; nobody is going to download a ZIP/RAR file to help you out. 3. if you want N spokes, your best bet is using a for loop. They are pretty good at executing the same code over and over with a slight twist; and add 90 degrees to the angle each time. 4. Stop using all those magic constants (180, 3.1415926, 161, 52, 41). Either use a function parameter, use an object property (e.g. drawing size), use an official const such as Math.Pi, or if all else fails provide an actual const yourself. You will get more readable code with fewer errors. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.