在标签页上画一条线

时间:2017-05-17 20:05:43

标签: c# draw picturebox tabpage

编辑:

我设法添加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..
}

0 个答案:

没有答案