//在窗体重新绘制的时候,重新加载划线
private void Form1_Paint(object sender, PaintEventArgs e)
{
//创建GDI图像
Graphics graphics = this.CreateGraphics();
//创建画笔对象
C#的GDI画图
最新推荐文章于 2023-12-01 08:24:03 发布