【发布时间】:2015-02-15 12:58:07
【问题描述】:
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);
}
我想做一个漂亮的按钮,但是上面方法的按钮很丑 还有另一种方法吗???
【问题讨论】:
-
在 Windows 窗体中构建漂亮的 UI 就像用灰色乐高积木构建浪漫的烛光晚餐。不会发生。如果您想要一些真正的美感,请查看 WPF。
标签: c#