sundar07

hi i am new to dotnet ..

can anybody help me with the graphics concept...

for eg i want to develop a paint application using c#.

how to add a simple tool like pencil in order to draw in the form

can anybody help me with the code



Re: Visual C# General reg - graphics.

Peter Ritchie

That's really vague and isn't related to anything specific in the C# language, I've moved this thread to the C# General Forum.




Re: Visual C# General reg - graphics.

Figo Fei - MSFT

Hi,

There are a lot of method to graph in the System.Drawing.Graphics: http://msdn2.microsoft.com/en-gb/library/system.drawing.graphics.aspx

You want to draw on the form with the mouse key down and movement, right Then you can get the mouse position and to paint a point on the form when MouseDown and MouseMove event (or else you want) is fired.

Thank you






Re: Visual C# General reg - graphics.