Click here to Skip to main content
16,007,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: Use VS2005 designer to create Panel? Pin
Ravi Bhavnani20-Feb-06 13:21
professionalRavi Bhavnani20-Feb-06 13:21 
QuestionRemote Copy/paste Pin
IceWater4220-Feb-06 11:55
IceWater4220-Feb-06 11:55 
AnswerRe: Remote Copy/paste Pin
Judah Gabriel Himango20-Feb-06 16:36
sponsorJudah Gabriel Himango20-Feb-06 16:36 
GeneralRe: Remote Copy/paste Pin
IceWater4221-Feb-06 2:14
IceWater4221-Feb-06 2:14 
QuestionMeta tag reading in c# Pin
rizwan_rashid20-Feb-06 11:25
rizwan_rashid20-Feb-06 11:25 
AnswerRe: Meta tag reading in c# Pin
Judah Gabriel Himango20-Feb-06 16:41
sponsorJudah Gabriel Himango20-Feb-06 16:41 
Questiononclick in Textbox windows app Pin
Cuu20-Feb-06 9:54
Cuu20-Feb-06 9:54 
AnswerRe: onclick in Textbox windows app Pin
Sean8920-Feb-06 10:44
Sean8920-Feb-06 10:44 
Should be very similar to VB.

Drag a text box control onto the form. Right click the text box and hit properties. At the top of the properties window you will see a button that looks like a lighting bolt. Click on that and you will see all the events associated with that control. Double click on the label that says 'Click'.

If, for whatever reason you are not using visual studio add this code:
<br />
this.textBox1.Click += new System.EventHandler(this.textBox1_Click);<br />
<br />
private void textBox1_Click(object sender, EventArgs e)<br />
{<br />
<br />
}<br />

In either case insert this code into the textBox_Click method.

textBox1.Clear();

But of course use the name you have assigned the text box for the code.

Hope that helps Poke tongue | ;-P
GeneralRe: &#x6f;nclick in Textbox windows app Pin
Cuu20-Feb-06 16:09
Cuu20-Feb-06 16:09 
AnswerRe: &#x6f;nclick in Textbox windows app Pin
microsoc20-Feb-06 14:32
microsoc20-Feb-06 14:32 
GeneralRe: &#x6f;nclick in Textbox windows app Pin
Cuu20-Feb-06 16:14
Cuu20-Feb-06 16:14 
QuestionSelect Statement Formating, need help. Pin
zaboboa20-Feb-06 9:29
zaboboa20-Feb-06 9:29 
AnswerRe: Select Statement Formating, need help. Pin
Steve Maier20-Feb-06 9:52
professionalSteve Maier20-Feb-06 9:52 
GeneralRe: Select Statement Formating, need help. Pin
zaboboa21-Feb-06 1:58
zaboboa21-Feb-06 1:58 
AnswerRe: Select Statement Formating, need help. Pin
veeru_syd27-Feb-06 14:11
veeru_syd27-Feb-06 14:11 
Questionforbid copying of DB (MS Access) Pin
berlin200520-Feb-06 9:28
berlin200520-Feb-06 9:28 
AnswerRe: forbid copying of DB (MS Access) Pin
Dave Kreskowiak20-Feb-06 9:53
mveDave Kreskowiak20-Feb-06 9:53 
QuestionDefine print area in C#.net 2003 Pin
berlin200520-Feb-06 9:25
berlin200520-Feb-06 9:25 
QuestionVS QueryBuilder Pin
Mehdy Khoshrou20-Feb-06 9:19
Mehdy Khoshrou20-Feb-06 9:19 
Question[Message Deleted] Pin
albCode20-Feb-06 6:44
albCode20-Feb-06 6:44 
AnswerRe: Run EXE File Pin
Dave Kreskowiak20-Feb-06 7:17
mveDave Kreskowiak20-Feb-06 7:17 
GeneralRe: Run EXE File Pin
albCode20-Feb-06 7:33
albCode20-Feb-06 7:33 
GeneralRe: Run EXE File Pin
Alvaro Mendez20-Feb-06 8:21
Alvaro Mendez20-Feb-06 8:21 
GeneralRe: Run EXE File Pin
Dave Kreskowiak20-Feb-06 8:54
mveDave Kreskowiak20-Feb-06 8:54 
GeneralRe: Run EXE File Pin
Judah Gabriel Himango20-Feb-06 8:59
sponsorJudah Gabriel Himango20-Feb-06 8:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.