Hi
I have a problem trying to store points. Each time plotButton is click, a point is plotted. I need to store the particular point as a variable so that it can be saved as a text file. And later on, when user open up the file again, it will automatically reads the points and plot them in place.
Here's my code for the plotting of points.
I have a problem trying to store points. Each time plotButton is click, a point is plotted. I need to store the particular point as a variable so that it can be saved as a text file. And later on, when user open up the file again, it will automatically reads the points and plot them in place.
Here's my code for the plotting of points.
Code:
Private Sub plotButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles plotButton.Click, PlotToolStripMenuItem.Click
If Me.count = 0 Then
Audiogram.mypts.Add(New Point(104, 74))
ElseIf Me.count = 5 Then
Audiogram.mypts.Add(New Point(104, 86))
ElseIf Me.count = 10 Then
Audiogram.mypts.Add(New Point(104, 98))
End If
End Sub
Comment