没有消除锯齿的效果
protected override void OnPaint(PaintEventArgs e)
{
//e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
.....
}
消除锯齿以后的效果
protected override void OnPaint(PaintEventArgs e)
{
e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
.....
}