Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i declare this in paint event
Dim g As Drawing.Graphics = e.Graphics
and i type this line:g.DrawCurve(pen1, curvePoints).Pen1 and curvepoints already declared but have error:'DrawCurve' is not a member of 'System.Drawing.Graphics'.
Thank your help!
Posted

1 solution

Because the Compact Framework (or .NET CF, .NET CE) is just that: compact. The way they made it compact is to remove a heck of a lot of the (mostly pretty useful) methods from the framework - DrawCurve is one of them!.

You may find some help with this article: http://www.therobotgeek.net/articles/CF_Bezier_Curves.aspx[^]
 
Share this answer
 
Comments
blackcat02 15-May-11 7:51am    
thank u so much:)

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