Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

In C#.net windows application, How to create a diagram in a form using lines and arcs.

Thanks & Regards
T.sudhakara rao
Posted
Comments
Ganesh Nikam 21-Aug-12 4:52am    
add more details please
Prasad_Kulkarni 21-Aug-12 4:58am    
C# or VB.net ??
Member 7993229 21-Aug-12 5:05am    
Both
Prasad_Kulkarni 21-Aug-12 5:07am    
Have you tried anything so far?

 
Share this answer
 
 
Share this answer
 
hi
refer this,
C#
use namespace system.drawing;

System.Drawing.Graphics graphics = this.CreateGraphics();
System.Drawing.Rectangle rectangle = new System.Drawing.Rectangle(100, 100, 200, 200);
graphics.DrawEllipse(System.Drawing.Pens.Black, rectangle);
graphics.DrawRectangle(System.Drawing.Pens.Red, rectangle);
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900