Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.Text = "1" Button1.Text = "+" Button1.Text = "2" Button1.Text = "=" Button1.Text = "3"
Essentially making it 5 buttons clicks to reach "3"
Problem: Runs all commands and ends up at 3.
Additional information:
I was informed by my programming teacher that adding a loop should do it but I am not entirely sure... If so, How do I do it?
Program: Visual Studio 2010 Language: Visual Basics




Reply With Quote
