摘要: private void button1_Click(object sender, EventArgs e) { Graphics gr = CreateGraphics(); Image bmp = new Bitmap(1024,800); Bitmap png = new Bitmap(@"D 阅读全文
posted @ 2022-06-05 20:30 sbwynnss 阅读(666) 评论(0) 推荐(0) 编辑
摘要: //先添加Form1_Paint事件 private void Form1_Paint(object sender, PaintEventArgs e) { int x, y; x = y = 100;//偏移值; Graphics gr = e.Graphics; Pen p1 = new Pen 阅读全文
posted @ 2022-06-05 11:00 sbwynnss 阅读(332) 评论(0) 推荐(0) 编辑