Unformatted text preview: in the main program to help write the code in a logical fashion. Public Class Form1 Private Sub btnShow_Click(. . .) Handles btnShow.Click ‘declare the input variables ‘declare the answer variable ‘transfer the user’s input from textbox called txtNum1 to variable ‘transfer the user’s input from textbox called txtNum2 to variable ‘print the output in the listbox called lstOutput End Sub txtNum1 txtNum2 lstOutput btnCalculate...
View Full Document
- Spring '09
- Imperative programming, GUI widget