Click here to Skip to main content
15,894,291 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ Pin
Heath Stewart19-Mar-04 2:37
protectorHeath Stewart19-Mar-04 2:37 
GeneralForcing textbox focus Pin
Amberite0016-Mar-04 10:28
Amberite0016-Mar-04 10:28 
GeneralIgnore that... Pin
Anonymous16-Mar-04 10:36
Anonymous16-Mar-04 10:36 
GeneralRe: Ignore that... Pin
Judah Gabriel Himango16-Mar-04 11:33
sponsorJudah Gabriel Himango16-Mar-04 11:33 
Generaldatagrid keydown event Pin
jareddavies16-Mar-04 10:12
jareddavies16-Mar-04 10:12 
GeneralRe: datagrid keydown event Pin
Heath Stewart16-Mar-04 18:44
protectorHeath Stewart16-Mar-04 18:44 
GeneralRe: datagrid keydown event Pin
jareddavies16-Mar-04 22:51
jareddavies16-Mar-04 22:51 
GeneralRe: datagrid keydown event Pin
Heath Stewart17-Mar-04 3:35
protectorHeath Stewart17-Mar-04 3:35 
Read the .NET Framework SDK for the DataGrid. You can also use tools like ildasm.exe - the IL Disassembler - that comes with the .NET Framework SDK to read the Intermediate Language and see what's used. Don't know what IL is? Read about it. Since you're new to C# (and obviously .NET, since C# is one of many languages that use the .NET Framework class libraries (FCL) and target the Common Language Runtime (CLR)), be sure to read. IL (Microsoft IL, or MSIL, to be exact) is what is produced when you compile ANY managed language (at least in pure mode, since Managed C++ can use native instructions under mixed mode compilation) so the original source language of an assembly does not matter.

You can also use tools like .NET Reflector[^] to reflect, disassemble, and even decompile (though it's not 100% accurate in some cases) the assemblies (like System.Windows.Forms.dll) to see how things work. You'll discover there's a lot of controls in use by the DataGrid. Even looking at it would tell you that a TextBox - which can receive the focus - is used. The CheckBox control, however, is not used for a DataGridBoolColumn - the checkbox and its states are drawn by the ControlPaint class.

I'm not trying to be an ass, but being a newbie you really need to read. You won't find much about the internal workings of the .NET Framework documented, but that's where self-exploration comes in and will teach you more than the documents ever can (although reading them is important because just guessing at what to use and relying on IntelliSense is a bad way to develop anything).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: datagrid keydown event Pin
jareddavies17-Mar-04 9:09
jareddavies17-Mar-04 9:09 
GeneralIMalloc vs Release Pin
Tristan Rhodes16-Mar-04 6:20
Tristan Rhodes16-Mar-04 6:20 
GeneralRe: IMalloc vs Release Pin
Jeremy Kimball16-Mar-04 6:28
Jeremy Kimball16-Mar-04 6:28 
GeneralRe: IMalloc vs Release Pin
Judah Gabriel Himango16-Mar-04 8:44
sponsorJudah Gabriel Himango16-Mar-04 8:44 
GeneralRe: IMalloc vs Release Pin
Jeremy Kimball16-Mar-04 9:03
Jeremy Kimball16-Mar-04 9:03 
GeneralRe: IMalloc vs Release Pin
Judah Gabriel Himango16-Mar-04 10:05
sponsorJudah Gabriel Himango16-Mar-04 10:05 
GeneralENGLISH! My grammer sucks :P Pin
Tristan Rhodes16-Mar-04 11:03
Tristan Rhodes16-Mar-04 11:03 
GeneralRe: ENGLISH! My grammer sucks :P Pin
Judah Gabriel Himango16-Mar-04 11:31
sponsorJudah Gabriel Himango16-Mar-04 11:31 
GeneralDelegates and EventHandlers Pin
MrEyes16-Mar-04 5:57
MrEyes16-Mar-04 5:57 
GeneralRe: Delegates and EventHandlers Pin
Jeremy Kimball16-Mar-04 6:31
Jeremy Kimball16-Mar-04 6:31 
GeneralRe: Delegates and EventHandlers Pin
MrEyes16-Mar-04 7:45
MrEyes16-Mar-04 7:45 
GeneralRe: Delegates and EventHandlers Pin
Jeremy Kimball16-Mar-04 9:04
Jeremy Kimball16-Mar-04 9:04 
GeneralRe: Delegates and EventHandlers Pin
Heath Stewart16-Mar-04 6:38
protectorHeath Stewart16-Mar-04 6:38 
GeneralActive Directory hotswap policy Pin
UltraKev16-Mar-04 4:41
UltraKev16-Mar-04 4:41 
GeneralRe: Active Directory hotswap policy Pin
Heath Stewart16-Mar-04 5:02
protectorHeath Stewart16-Mar-04 5:02 
GeneralRe: Active Directory hotswap policy Pin
UltraKev16-Mar-04 5:14
UltraKev16-Mar-04 5:14 
GeneralRe: Active Directory hotswap policy Pin
Heath Stewart16-Mar-04 5:25
protectorHeath Stewart16-Mar-04 5:25 

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.