Hello!
Dim i as integer = 0
How to make an event, that label1.text = me.i.tostring()
So, whenever the 'i' value is changed, label1.text is equal 'i'
example:
On the form1 we got, label1 and button1, each time we klick on button1 it increments 'i' by 1.
And the label1.text should be equal to me.i, without putting any extra codes to button1_klick event.
Dim i as integer = 0
How to make an event, that label1.text = me.i.tostring()
So, whenever the 'i' value is changed, label1.text is equal 'i'
example:
Code:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
me.i += 1
And the label1.text should be equal to me.i, without putting any extra codes to button1_klick event.