Graphics g
= e.Graphics;
g.SmoothingMode
= SmoothingMode.AntiAlias;
g.FillRectangle(Brushes.White,
this.ClientRectangle);
Pen p
=
new Pen(Color.Black,
10);
p.StartCap
= LineCap.Round;
p.EndCap
= LineCap.ArrowAnchor;
g.DrawLine(p,
30,
30,
80,
30);
p.Dispose();
时间: 2024-11-06 23:35:44