Professional Documents
Culture Documents
Sample
Sample
Sample
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Private xui As XUI
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
Private Button1 As Button
Private Button2 As Button
Private Button3 As Button
Private EditText1 As EditText
Private EditText2 As EditText
Private EditText3 As EditText
Private EditText4 As EditText
Private EditText5 As EditText
Private Label1 As Label
Private Label2 As Label
Private Label3 As Label
End Sub
Sub Activity_Resume
End Sub
End Sub
Sub Button1_Click
Dim total As Int
Else
change= EditText4.Text - EditText3.Text
EditText5.Text = change
End If
End Sub