Click here to Skip to main content
15,914,160 members
Home / Discussions / C#
   

C#

 
AnswerRe: Debugging the windows service Pin
Nisar Inamdar17-Jul-07 0:56
Nisar Inamdar17-Jul-07 0:56 
AnswerRe: Debugging the windows service Pin
originSH17-Jul-07 1:00
originSH17-Jul-07 1:00 
GeneralRe: Debugging the windows service Pin
M. J. Jaya Chitra17-Jul-07 18:11
M. J. Jaya Chitra17-Jul-07 18:11 
AnswerRe: Debugging the windows service Pin
Harkamal Singh17-Jul-07 6:58
Harkamal Singh17-Jul-07 6:58 
GeneralRe: Debugging the windows service Pin
M. J. Jaya Chitra17-Jul-07 18:10
M. J. Jaya Chitra17-Jul-07 18:10 
QuestionKey Press Event Pin
Xmen Real 17-Jul-07 0:37
professional Xmen Real 17-Jul-07 0:37 
AnswerRe: Key Press Event Pin
Nisar Inamdar17-Jul-07 0:52
Nisar Inamdar17-Jul-07 0:52 
AnswerRe: Key Press Event Pin
Stu Richardson17-Jul-07 0:55
Stu Richardson17-Jul-07 0:55 
There are two ways you can create the event handler routines for the key press event.

Firstly in your initialisation routine type the following: (where "textBox1_KeyPress" will become the event handler routine)

textBox1.KeyPress += new KeyPressEventHandler(textBox1_KeyPress);

(As you are using Visual studio as soon as you type the "+=" part Visual Studio should prompt you with an auto complete option - press tab twice and it will create both the above line and the event handler routine)

2nd way is through the form designer. Click on the textbox and go to the textbox properties window. Click on the events button (the little lightning icon) then simply double click inside the KeyPress item in the list. This will create the routine for you and should take you to the code.


GeneralRe: Key Press Event Pin
Xmen Real 17-Jul-07 2:25
professional Xmen Real 17-Jul-07 2:25 
Questionhow to convert english text to unicode in c# Pin
Farhan Ali17-Jul-07 0:33
Farhan Ali17-Jul-07 0:33 
AnswerRe: how to convert english text to unicode in c# Pin
Bert delaVega17-Jul-07 6:10
Bert delaVega17-Jul-07 6:10 
GeneralMessage Removed Pin
15-Aug-11 2:38
marssilen15-Aug-11 2:38 
Question.Net 2.0 remoting security question Pin
Gizz17-Jul-07 0:15
Gizz17-Jul-07 0:15 
AnswerRe: .Net 2.0 remoting security question Pin
Gizz17-Jul-07 3:16
Gizz17-Jul-07 3:16 
QuestionReLoad Form Problem Pin
monafr8117-Jul-07 0:14
monafr8117-Jul-07 0:14 
AnswerRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 0:27
sitebuilderLuc Pattyn17-Jul-07 0:27 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 1:14
monafr8117-Jul-07 1:14 
GeneralRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 1:25
sitebuilderLuc Pattyn17-Jul-07 1:25 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 1:50
monafr8117-Jul-07 1:50 
GeneralRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 1:53
sitebuilderLuc Pattyn17-Jul-07 1:53 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 2:06
monafr8117-Jul-07 2:06 
GeneralRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 2:09
sitebuilderLuc Pattyn17-Jul-07 2:09 
AnswerRe: ReLoad Form Problem Pin
Nisar Inamdar17-Jul-07 0:27
Nisar Inamdar17-Jul-07 0:27 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 1:07
monafr8117-Jul-07 1:07 
GeneralRe: ReLoad Form Problem Pin
PhilDanger17-Jul-07 4:55
PhilDanger17-Jul-07 4:55 

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.