程序初始化的时候:
先引用
using System.Drawing.Drawing2D;
GraphicsPath myPath = new GraphicsPath();
myPath.AddEllipse(5, 5,150, 150);
this.button1.Region = new Region(myPath);
this.button2.Region = new Region(myPath);
this.button3.Region = new Region(myPath);
this.button4.Region = new Region(myPath);
1万+

被折叠的 条评论
为什么被折叠?



