Click here to Skip to main content
15,902,276 members
Home / Discussions / C#
   

C#

 
GeneralRe: Users Password Retrive Pin
Alex Korchemniy25-Sep-04 21:54
Alex Korchemniy25-Sep-04 21:54 
GeneralRe: Users Password Retrive Pin
Sakkijha25-Sep-04 21:57
Sakkijha25-Sep-04 21:57 
GeneralRe: Users Password Retrive Pin
Alex Korchemniy25-Sep-04 22:02
Alex Korchemniy25-Sep-04 22:02 
GeneralRe: Users Password Retrive Pin
Sakkijha25-Sep-04 22:12
Sakkijha25-Sep-04 22:12 
GeneralRemoting Question Pin
jtmtv1825-Sep-04 20:01
jtmtv1825-Sep-04 20:01 
GeneralRe: Remoting Question Pin
LongRange.Shooter27-Sep-04 9:45
LongRange.Shooter27-Sep-04 9:45 
GeneralAfterCheck event Arg Pin
CocciaStella25-Sep-04 18:33
CocciaStella25-Sep-04 18:33 
GeneralRe: AfterCheck event Arg Pin
SimonS25-Sep-04 22:22
SimonS25-Sep-04 22:22 
Basically, an event handler is just a function with specific parameters.
The thing that makes an event handler different, is when it's actually hooked up to an event on an object.

So, your node_AfterCheck is a function that isn't hooked up to anything.
Typically, the event handler is prefixed with the object's name.
To hook this up to a treeview called treeView1, do this:
this.treeView1.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCheck);


The easier way of doing this, is to double click the event you want in the object's properties window. This will automatically create the delegate assigning code as well as the stub method code.

Hope this helps.

Cheers,
Simon

sig ::
"Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.

article :: animation mechanics in SVG blog:: brokenkeyboards
"It'll be a cold day in Hell when I do VB.NET...", Chris Maunder

GeneralRe: AfterCheck event Arg Pin
CocciaStella26-Sep-04 4:38
CocciaStella26-Sep-04 4:38 
GeneralRe: AfterCheck event Arg Pin
SimonS26-Sep-04 5:08
SimonS26-Sep-04 5:08 
GeneralRe: AfterCheck event Arg Pin
CocciaStella26-Sep-04 9:00
CocciaStella26-Sep-04 9:00 
QuestionReflection : how to transfer messages between to loaded assemblies? Pin
CNU25-Sep-04 17:43
CNU25-Sep-04 17:43 
QuestionHow to get local web server's home directory? Pin
CNU25-Sep-04 17:41
CNU25-Sep-04 17:41 
AnswerRe: How to get local web server's home directory? Pin
Colin Angus Mackay26-Sep-04 1:41
Colin Angus Mackay26-Sep-04 1:41 
GeneralRe: How to get local web server's home directory? Pin
CNU27-Sep-04 17:30
CNU27-Sep-04 17:30 
AnswerRe: How to get local web server's home directory? Pin
Colin Angus Mackay27-Sep-04 20:41
Colin Angus Mackay27-Sep-04 20:41 
GeneralCheckers under c# Pin
aeruzcar25-Sep-04 17:31
aeruzcar25-Sep-04 17:31 
GeneralRe: Checkers under c# Pin
SimonS25-Sep-04 22:25
SimonS25-Sep-04 22:25 
GeneralRe: Checkers under c# Pin
Anonymous26-Sep-04 5:50
Anonymous26-Sep-04 5:50 
QuestionCan I put an email to the inbox of the outlook (not outlook express) using outlook object model? Pin
ting66825-Sep-04 16:01
ting66825-Sep-04 16:01 
QuestionTransfer an SQL database? Pin
cemlouis25-Sep-04 14:09
cemlouis25-Sep-04 14:09 
AnswerRe: Transfer an SQL database? Pin
Colin Angus Mackay25-Sep-04 14:56
Colin Angus Mackay25-Sep-04 14:56 
Questiontrying to fade in and out a picture on a form? Pin
vista2725-Sep-04 13:46
vista2725-Sep-04 13:46 
AnswerRe: trying to fade in and out a picture on a form? Pin
Alex Korchemniy25-Sep-04 15:03
Alex Korchemniy25-Sep-04 15:03 
AnswerRe: trying to fade in and out a picture on a form? Pin
yoaz26-Sep-04 3:43
yoaz26-Sep-04 3:43 

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.