在项目的Reference中添加GraphicsPath
然后再using GraphicsPath;

解决方案 »

  1.   

    你用using不够的,还要右键点击引用,添加引用,在.net程序中,找到System.Drawing.Drawing2D,添加对它的引用后,才可以的!
      

  2.   

    能具体点吗?没看到Reference中有Graphics的引用啊
      

  3.   

    .NET中只有Drawing,没有Drawing.Drawing2D的引用啊
      

  4.   

    GraphicsPath 
    命名空间: System.Drawing.Drawing2D
    程序集: System.Drawing(在 system.drawing.dll 中)
    Windows Mobile for Pocket PC
      

  5.   

    不支持。
    wince/mobile方面,msdn很多注解不太准确。从c++时代开始就有勘误了。
      

  6.   

    那在Windows Mobile中如何绘制圆角矩形啊,想做个按钮
      

  7.   

    这个么,我没试过,网上说支持。用api:RoundRect
    [DllImport("coredll.dll", EntryPoint="RoundRect")]
    public static extern int RoundRect (
    int hdc,
    int X1,
    int Y1,
    int X2,
    int Y2,
    int X3,
    int Y3
    );没时间测试,你试试这个api。