不用重新Button,只通过更改Button的Region属性即可造出圆形按钮
System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();
path.AddEllipse(this.btn_circle.ClientRectangle);
this.btn_circle.Region = new Region(path);
posted on 2008-06-15 13:49
天书 阅读(6006)
评论(3) 编辑 收藏 引用