110,502
社区成员
发帖
与我相关
我的任务
分享
private void Form1_Paint(object sender, PaintEventArgs e)
{
Brush brAL = new SolidBrush(Color.Red);
this.Width = this.Height;
e.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
int r = this.Height / 2;
e.Graphics.FillEllipse(brAL, new Rectangle(0, 0, r * 2 - 1, r * 2 - 1));
brAL.Dispose();
}
挺正常的