Quantcast
Channel: Drawing on mouse move/drag
Browsing all 4 articles
Browse latest View live

Drawing on mouse move/drag

Ooops .... Change this line If lst.Count > 0 Then e.Graphics.DrawCurve(Pens.Black, lst.ToArray) to read If lst.Count > 1 Then e.Graphics.DrawCurve(Pens.Black, lst.ToArray)

View Article



Drawing on mouse move/drag

Hy ShymaSorry to jump in here, but that previous example is quite verbose and maybe a little confusing if you are new to GDI.Here is a very simplified example (read not production code) of how you...

View Article

Drawing on mouse move/drag

shyma,The following code example demonstrates using different mouse events to draw the path of the mouse on a Panel. A line segment is added to the GraphicsPath for each MouseMove and MouseDown events...

View Article

Drawing on mouse move/drag

  Hello I want to give my user the ability to 'write out' with the mouse, and therefore upon mouse click and move, I want them to be able to draw a line on my control. Is there an easy way to do that?...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images