我要把按扭的外形变成圆的  这个怎么实现啊 很着急
我想的是重构画外观的虚函数   我同学用vc++实现了 但是我不知道c#里面怎么实现

解决方案 »

  1.   

    http://search.csdn.net/Expert/topic/2324/2324586.xml?temp=.7850763
      

  2.   

    System.Drawing.Drawing2D.GraphicsPath myGraphicsPath  = new
                    System.Drawing.Drawing2D.GraphicsPath();
                myGraphicsPath.AddEllipse(new Rectangle(0, 0, 125, 125));
                myGraphicsPath.AddEllipse(new Rectangle(75, 75, 20, 20));
                myGraphicsPath.AddEllipse(new Rectangle(120, 0, 125, 125));
                myGraphicsPath.AddEllipse(new Rectangle(145, 75, 20, 20));
                //Change the button's background color so that it is easy
                //to see.
                bt1.BackColor = Color.Chartreuse;
                bt1.Size = new System.Drawing.Size(256, 256);
                bt1.Region = new Region(myGraphicsPath);
      

  3.   

    你要的话,email? 我发一个给你...
      

  4.   

    C#是不能和VC++比的,他们各有各的优势!唯一的方法:楼上的!