Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac20-Nov-02 12:07
valikac20-Nov-02 12:07 
GeneralRe: Multi-Column Listbox :: C# Pin
Joshua Nussbaum20-Nov-02 12:46
Joshua Nussbaum20-Nov-02 12:46 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac20-Nov-02 15:10
valikac20-Nov-02 15:10 
GeneralRe: Multi-Column Listbox :: C# Pin
David Stone20-Nov-02 17:48
sitebuilderDavid Stone20-Nov-02 17:48 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac20-Nov-02 17:51
valikac20-Nov-02 17:51 
GeneralRe: Multi-Column Listbox :: C# Pin
LongRange.Shooter21-Nov-02 9:56
LongRange.Shooter21-Nov-02 9:56 
GeneralRe: Multi-Column Listbox :: C# Pin
valikac21-Nov-02 9:59
valikac21-Nov-02 9:59 
GeneralRe: Multi-Column Listbox :: C# Pin
ian mariano20-Nov-02 3:05
ian mariano20-Nov-02 3:05 
Think of WinForms as the dialogs you create in MFC. The "code behind" is similar to that of MFC, you inherit from a base class, and wire up your code. There are differences from MFC in how C# / .NET handles events.

You should review Event Handlers in Visual Basic and Visual C#[^] to understand how the mechanism works. In MFC, you handle messages through the message loop, in C#, you still write a handler, but it's triggered through the delegate / event mechanism. In a nutshell, you add your handler as a "listener" for an event (such as a button click or listbox selection change.)

It would also be wise to review the Windows Forms and Web Forms Recommendations[^].

The term "code behind" is more used with ASP.NET applications, where the "code behind" refers to the class that your aspx page inherits from. ASPX is basically ASP on steroids Poke tongue | ;-P Refer to Creating ASP.NET Web Applications[^] for more information.

"The greatest danger to humanity is humanity without an open mind."
  - Ian Mariano - http://www.ian-space.com/

Questioni have two threads and make a group of it? Pin
imran_rafique19-Nov-02 16:31
imran_rafique19-Nov-02 16:31 
AnswerRe: i have two threads and make a group of it? Pin
Joshua Nussbaum19-Nov-02 20:57
Joshua Nussbaum19-Nov-02 20:57 
Questionwhy use property in class? Pin
zhoujun19-Nov-02 14:40
zhoujun19-Nov-02 14:40 
AnswerRe: why use property in class? Pin
Christian Graus19-Nov-02 19:43
protectorChristian Graus19-Nov-02 19:43 
AnswerRe: why use property in class? Pin
ian mariano20-Nov-02 2:52
ian mariano20-Nov-02 2:52 
AnswerRe: why use property in class? Pin
LongRange.Shooter21-Nov-02 10:07
LongRange.Shooter21-Nov-02 10:07 
Questionhow to display bitmap in MDI form Pin
Linder Wang19-Nov-02 14:19
sussLinder Wang19-Nov-02 14:19 
GeneralCollection editor problem Pin
dacris19-Nov-02 11:24
dacris19-Nov-02 11:24 
GeneralRe: Collection editor problem Pin
leppie19-Nov-02 11:36
leppie19-Nov-02 11:36 
GeneralRe: Collection editor problem Pin
dacris19-Nov-02 12:14
dacris19-Nov-02 12:14 
QuestionUnfocus a form when it's created? Pin
Bog19-Nov-02 8:53
Bog19-Nov-02 8:53 
AnswerRe: Unfocus a form when it's created? Pin
LongRange.Shooter19-Nov-02 11:13
LongRange.Shooter19-Nov-02 11:13 
AnswerRe: I don't understand your q very well, but.. Pin
Masaaki Onishi19-Nov-02 19:20
Masaaki Onishi19-Nov-02 19:20 
GeneralSplit string by string Pin
dezoe19-Nov-02 6:43
dezoe19-Nov-02 6:43 
GeneralRe: Split string by string Pin
leppie19-Nov-02 11:12
leppie19-Nov-02 11:12 
GeneralRe: Split string by string Pin
Eric Gunnerson (msft)19-Nov-02 11:25
Eric Gunnerson (msft)19-Nov-02 11:25 
GeneralRe: Split string by string Pin
dezoe19-Nov-02 12:41
dezoe19-Nov-02 12:41 

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.