private void pictureBox1_Paint(object sender, PaintEventArgs e) { q1.Draw(e.Graphics, Color.Blue); q2.Draw(e.Graphics, Color.Green); // e.Graphics.DrawLine(new Pen(Color.Black), new Point(0, 0), new Point(pictureBox1.Width, pictureBox1.Height)); }