Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
please show me a tutorial for a textbox with click event in NET 3.5, thank you very much...
Posted
Updated 26-May-10 6:02am
v2
Comments
Sandeep Mewara 25-May-10 14:37pm    
Are you asking a tutorial of C# button click? Would you like to add more details like, WPF or so? Did you try Google?
William Winner 25-May-10 15:36pm    
Reason for my vote of 1
not actually a question...

What kind of tutorial are you expecting?

Create your form in design view.
Add a TextBox control.
Highlight it.
Select Events in the properties window.
Scroll to the Click event.
Double click it.
Add code to handle the click.

Or:
Add a handler to your textbox:
textBox1.Click += new EventHandler(textBox1_Click);
and provide the handler:
void textBox1_Click(object sender, EventArgs e)
    {
    throw new NotImplementedException();
    }
Then code your handler so it doesn't throw an exception...

Or was there something else?
 
Share this answer
 
in compact flash click event doesnt exist, i have a code implemented for this event, but doesnt work on cf net 3.5, thank for the reponse anyway.:thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900