private void button1_Click(object sender, System.EventArgs e) { Graphics g = this.CreateGraphics(); Pen pen = new Pen(Color.Red); g.DrawLine(pen,10,10,100,100);}你再去试试看,我做了可以 啊
老兄,你太帅了~~我刚试完,没问题!谢谢,谢谢