I have a windows application project which has a form (frmGUI) with a label control (Label1) and a button. When i click the button, it will call the doStuff's doLoop function and display the i value in frmGUI.Label1.Text (the line in bold). Is that possible
I also have a class library project called Test with the following class:
Edit: I can't seem to indent my quotes.
Code:
Imports Test
Public Class frmGUI
Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
[COLOR="Green"]'call the testStuff.doLoop("value")[/COLOR]
End Sub
End Class
I also have a class library project called Test with the following class:
Code:
Public Class doStuff
Public Function doLoop(ByVal db As String)
For i = 0 To 10
[B]frmGUI.Label1.Text = i[/B]
Next i
Return Nothing
End Function
End Class
Edit: I can't seem to indent my quotes.
Last edited: