摘要: 1: public Form1() 2: { 3: InitializeComponent(); 4: this.Show(); 5: Graphics grp = this.CreateGraphics(); 6: Pen p = new Pen(Color.Black, 2); 7: grp.DrawLine(p, new Point(0, 0), new Point(100, 100)); ... 阅读全文