Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ntier app Pin
StephenMcAllister23-Oct-04 7:53
StephenMcAllister23-Oct-04 7:53 
GeneralAdjusting the columns on the datagrid Pin
steve_rm18-Oct-04 5:54
steve_rm18-Oct-04 5:54 
GeneralRe: Adjusting the columns on the datagrid Pin
Heath Stewart18-Oct-04 7:31
protectorHeath Stewart18-Oct-04 7:31 
GeneralRe: Adjusting the columns on the datagrid Pin
steve_rm19-Oct-04 7:44
steve_rm19-Oct-04 7:44 
GeneralRe: Adjusting the columns on the datagrid Pin
Heath Stewart19-Oct-04 7:54
protectorHeath Stewart19-Oct-04 7:54 
GeneralDetecting the enter key Pin
exhaulted18-Oct-04 5:18
exhaulted18-Oct-04 5:18 
GeneralRe: Detecting the enter key Pin
Roger Stewart18-Oct-04 7:28
professionalRoger Stewart18-Oct-04 7:28 
GeneralRe: Detecting the enter key Pin
Heath Stewart18-Oct-04 7:34
protectorHeath Stewart18-Oct-04 7:34 
You should actually use KeyCode.Enter. While this will probably always be character code 13, without optimization (based on the compiler) (char)13 may require additional instructions for the cast while using KeyCode.Enter will always compile to 13 without a cast.

Besides, it's best to avoid "magic numbers" and makes for more elegant code.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Detecting the enter key Pin
Roger Stewart18-Oct-04 9:32
professionalRoger Stewart18-Oct-04 9:32 
GeneralRe: Detecting the enter key Pin
exhaulted18-Oct-04 22:22
exhaulted18-Oct-04 22:22 
Questioncan I create rotatable widgets? Pin
Daniel Tomasini18-Oct-04 5:07
Daniel Tomasini18-Oct-04 5:07 
AnswerRe: can I create rotatable widgets? Pin
Heath Stewart18-Oct-04 7:27
protectorHeath Stewart18-Oct-04 7:27 
GeneralRe: can I create rotatable widgets? Pin
Daniel Tomasini19-Oct-04 3:09
Daniel Tomasini19-Oct-04 3:09 
GeneralRe: can I create rotatable widgets? Pin
Heath Stewart19-Oct-04 5:16
protectorHeath Stewart19-Oct-04 5:16 
QuestionIs using reflection 'cheating'? Pin
Anonymous18-Oct-04 4:05
Anonymous18-Oct-04 4:05 
AnswerRe: Is using reflection 'cheating'? Pin
afinnell18-Oct-04 5:31
afinnell18-Oct-04 5:31 
AnswerRe: Is using reflection 'cheating'? Pin
Steven Campbell18-Oct-04 14:50
Steven Campbell18-Oct-04 14:50 
Generallooking for a user modeling open source written in c# Pin
Pupik36018-Oct-04 2:57
Pupik36018-Oct-04 2:57 
Generaltwo xml doubts Pin
ee9903518-Oct-04 1:26
ee9903518-Oct-04 1:26 
GeneralRe: two xml doubts Pin
Stanciu Vlad18-Oct-04 5:16
Stanciu Vlad18-Oct-04 5:16 
GeneralRe: two xml doubts Pin
Heath Stewart18-Oct-04 7:23
protectorHeath Stewart18-Oct-04 7:23 
QuestionHow to convert VC++ to C# code? Pin
momer18-Oct-04 1:22
momer18-Oct-04 1:22 
AnswerRe: How to convert VC++ to C# code? Pin
Heath Stewart18-Oct-04 7:14
protectorHeath Stewart18-Oct-04 7:14 
GeneralRe: How to convert VC++ to C# code? Pin
momer18-Oct-04 16:51
momer18-Oct-04 16:51 
GeneralText Wrap for ListView in C# Pin
Member 141415918-Oct-04 1:09
Member 141415918-Oct-04 1:09 

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.