圆形按钮

it2024-08-14  54

System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath();path.AddEllipse(this.btn_1.ClientRectangle);

this.btn_1.Region = new System.Drawing.Region(path);

转载于:https://www.cnblogs.com/terrorpig/archive/2008/11/25/1340525.html

相关资源:C#圆角按钮
最新回复(0)