|
-
May 23rd, 2009, 07:38 PM
#3
Thread Starter
Lively Member
Re: Button cannot do job if...[HELP]
 Originally Posted by JugglingReferee
vb.net Code:
Private Sub btnButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnButton1.Click
If TextBox1.Text = "" Then
MessageBox.Show("You need to enter a text", "Missing Information", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
End If
End Sub
Thank you so much! +rep
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
|