I need , when I'll press the button, to show this graphic.
Private Sub btnsin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsin.Click
For i = 0 To 100
PictureBox.DrawLine(Pens.Black, i, 100 + CInt(Math.Sin(i)), i + 1, 100 + CInt(Math.Sin(i + 1)))
Next i
End Sub
error is on PictureBox.DrawLine -> "is not a member 'System.Windows.Form.PictureBox'" so what word I have to use?
thanks.

New Topic/Question
Reply



MultiQuote







|