编辑:
我设法添加picturebox,但我不知道如何在其上划一条线。
private void buttonDraw_Click_1(object sender, EventArgs e)
{
pictureBoxDraw.BackColor = Color.Black;
pictureBoxDraw.BorderStyle = BorderStyle.Fixed3D;
Graphics g = e.Graphics // I don't know this method.. I just need to draw a line here..
}