111,120
社区成员
发帖
与我相关
我的任务
分享
private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
System.Drawing.Graphics ht;
ht = e.Graphics;
Pen ok = new Pen(System.Drawing.Color.DarkBlue, 3);
Rectangle jx = new Rectangle();
jx.X = 0;
jx.Y = 0;
jx.Width = 100;
jx.Height = 200;
ht.DrawLine(ok, 0, 10, 100, 90);
}