Click here to Skip to main content
15,916,949 members
Home / Discussions / C#
   

C#

 
GeneralRe: Determining Active Custom Multiple Component Component Pin
Heath Stewart31-Mar-04 4:14
protectorHeath Stewart31-Mar-04 4:14 
GeneralOpaque Controls Showing Controls Underneath Pin
Tristan Rhodes30-Mar-04 20:31
Tristan Rhodes30-Mar-04 20:31 
GeneralRe: Opaque Controls Showing Controls Underneath Pin
Heath Stewart31-Mar-04 3:56
protectorHeath Stewart31-Mar-04 3:56 
GeneralRe: Opaque Controls Showing Controls Underneath Pin
Jesse Squire1-Apr-04 7:39
Jesse Squire1-Apr-04 7:39 
Generalserializing DataColumns Pin
DougW4830-Mar-04 19:57
DougW4830-Mar-04 19:57 
GeneralRe: serializing DataColumns Pin
Mazdak30-Mar-04 20:10
Mazdak30-Mar-04 20:10 
GeneralRe: serializing DataColumns Pin
Heath Stewart31-Mar-04 3:53
protectorHeath Stewart31-Mar-04 3:53 
GeneralStrange GDI+ error Pin
Anonymous30-Mar-04 19:42
Anonymous30-Mar-04 19:42 
GeneralRe: Strange GDI+ error Pin
Heath Stewart31-Mar-04 3:46
protectorHeath Stewart31-Mar-04 3:46 
GeneralRe: Strange GDI+ error Pin
Stephane David31-Mar-04 10:00
Stephane David31-Mar-04 10:00 
GeneralRe: Strange GDI+ error Pin
Heath Stewart31-Mar-04 10:02
protectorHeath Stewart31-Mar-04 10:02 
GeneralRe: Strange GDI+ error Pin
leppie31-Mar-04 6:21
leppie31-Mar-04 6:21 
General.NET Remoting Pin
Prasad Anand30-Mar-04 18:29
Prasad Anand30-Mar-04 18:29 
GeneralRe: .NET Remoting Pin
Heath Stewart31-Mar-04 3:42
protectorHeath Stewart31-Mar-04 3:42 
GeneralKey Press Pin
DucLinh30-Mar-04 14:54
DucLinh30-Mar-04 14:54 
GeneralRe: Key Press Pin
Charlie Williams30-Mar-04 16:02
Charlie Williams30-Mar-04 16:02 
duclinh wrote:
if ((Control.ModifierKeys & Keys.Enter) == Keys.Enter)

The Enter key is not a modifier key, so this will never be true. Here's what you're looking for:
if(e.KeyChar == (char)Keys.Enter)

However, you don't even need to do that. Just set your form's AcceptButton to be btOK and the button will be "clicked" when Enter is pressed in your form.

Charlie

if(!curlies){ return; }
Generalreading from sqldatareader Pin
pgraeve30-Mar-04 14:39
pgraeve30-Mar-04 14:39 
GeneralRe: reading from sqldatareader Pin
Heath Stewart30-Mar-04 16:42
protectorHeath Stewart30-Mar-04 16:42 
QuestionWhy do my graphics still flicker? Pin
adonisv30-Mar-04 14:30
adonisv30-Mar-04 14:30 
AnswerRe: Why do my graphics still flicker? Pin
Roman Rodov30-Mar-04 14:37
Roman Rodov30-Mar-04 14:37 
GeneralRe: Why do my graphics still flicker? Pin
adonisv30-Mar-04 14:40
adonisv30-Mar-04 14:40 
GeneralRe: Why do my graphics still flicker? Pin
Heath Stewart30-Mar-04 16:44
protectorHeath Stewart30-Mar-04 16:44 
GeneralRe: Why do my graphics still flicker? Pin
adonisv31-Mar-04 16:36
adonisv31-Mar-04 16:36 
AnswerRe: Why do my graphics still flicker? Pin
blackthunder00130-Mar-04 14:41
blackthunder00130-Mar-04 14:41 
GeneralRe: Why do my graphics still flicker? Pin
adonisv30-Mar-04 14:59
adonisv30-Mar-04 14: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.