Click here to Skip to main content
15,880,503 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending mail using SMTP Pin
gr8tushar4-Jan-04 3:43
gr8tushar4-Jan-04 3:43 
GeneralRe: Sending mail using SMTP Pin
Broken God4-Jan-04 5:59
Broken God4-Jan-04 5:59 
GeneralRe: Sending mail using SMTP Pin
Heath Stewart4-Jan-04 8:18
protectorHeath Stewart4-Jan-04 8:18 
GeneralRe: Sending mail using SMTP Pin
Mazdak4-Jan-04 5:08
Mazdak4-Jan-04 5:08 
GeneralRe: Sending mail using SMTP Pin
Heath Stewart4-Jan-04 8:21
protectorHeath Stewart4-Jan-04 8:21 
GeneralPanel + Keypress Pin
Heroz4-Jan-04 0:26
Heroz4-Jan-04 0:26 
GeneralRe: Panel + Keypress Pin
Mike Ellison4-Jan-04 3:14
Mike Ellison4-Jan-04 3:14 
GeneralRe: Panel + Keypress Pin
Heroz4-Jan-04 5:29
Heroz4-Jan-04 5:29 
Well, i tried to add the handler to the form object, but I can't.
Here's what i did:

public Form1()
{
...
this.KeyPress += new KeyPressEventHandler(this.keypressed);
...
}

void keypressed(Object o, KeyPressEventArgs e)
{
switch (e.KeyChar)//Here I made a breakpoint, but the debugger doesnt reach this point, when I
//press a button...
{
...
}
}

What's the problem?

MS Visual Studio.NET 2003
C#
GeneralRe: Panel + Keypress Pin
Mike Ellison4-Jan-04 6:27
Mike Ellison4-Jan-04 6:27 
GeneralRe: Panel + Keypress Pin
Heroz4-Jan-04 8:04
Heroz4-Jan-04 8:04 
GeneralStrange exception in a strange thread Pin
Broken God4-Jan-04 0:23
Broken God4-Jan-04 0:23 
GeneralRe: Strange exception in a strange thread Pin
Heath Stewart4-Jan-04 8:16
protectorHeath Stewart4-Jan-04 8:16 
GeneralRe: Strange exception in a strange thread Pin
Broken God4-Jan-04 9:58
Broken God4-Jan-04 9:58 
GeneralCSharp Studying Pin
Melanius4-Jan-04 0:04
Melanius4-Jan-04 0:04 
GeneralRe: CSharp Studying Pin
leppie4-Jan-04 1:01
leppie4-Jan-04 1:01 
GeneralRe: CSharp Studying Pin
Melanius4-Jan-04 2:40
Melanius4-Jan-04 2:40 
GeneralRe: CSharp Studying Pin
Nick Parker4-Jan-04 6:18
protectorNick Parker4-Jan-04 6:18 
GeneralRe: CSharp Studying Pin
Michael P Butler4-Jan-04 3:53
Michael P Butler4-Jan-04 3:53 
GeneralLoading assemblies Pin
peon20043-Jan-04 21:56
susspeon20043-Jan-04 21:56 
GeneralRe: Loading assemblies Pin
leppie3-Jan-04 22:13
leppie3-Jan-04 22:13 
GeneralRe: Loading assemblies Pin
Heath Stewart4-Jan-04 8:09
protectorHeath Stewart4-Jan-04 8:09 
GeneralRe: Loading assemblies Pin
Broken God4-Jan-04 0:27
Broken God4-Jan-04 0:27 
Generalinserting images into access database Pin
Steve1_rm3-Jan-04 16:19
Steve1_rm3-Jan-04 16:19 
GeneralRe: inserting images into access database Pin
Heath Stewart3-Jan-04 17:30
protectorHeath Stewart3-Jan-04 17:30 
GeneralRe: inserting images into access database Pin
Anonymous3-Jan-04 18:02
Anonymous3-Jan-04 18:02 

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.