|
-
Apr 18th, 2013, 04:46 AM
#1
Thread Starter
Junior Member
Calculator problem !
Hey I am new to Visual basic, I learnt some things and I want to make a calculator I want it with buttons so I made the 9 buttons of the 9 numbers and I made 2 labels what I actually want is when I press Button "1" label = "1" then I press button "6" the next label be = "6" so I made this:
Private Sub num3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles num3.Click
If Number2.Text = Nothing Then
Number2.Text = "3"
End If
Number1.Text = "3"
End Sub
and it's not working can someone help me please?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|