public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
button1.Size = new Size(50, 50);
GraphicsPath Gcircle = new GraphicsPath();
Gcircle.AddEllipse(0, 0, 50, 50);
this.button1.Region = new Region(Gcircle);
}
我想制作一个漂亮的按钮,但上面方法的按钮非常难看 还有另一种方法吗???
答案 0 :(得分:0)
如果您需要,请尝试此链接 www.codeproject.com/Articles/5082/Round-Button-in-C
www.codeproject.com/Articles/5582/Elongated-Buttons-Rounded-cornered-Groupboxes-and
www.codeproject.com/Articles/15730/RoundButton-Windows-Control-Ever-Decreasing-Circle