xml comments for event?

Apr 21, 2010 at 2:02 AM

i donn't kown how to write for it ?  just like :

private void Form1_shown(object sender, EventArgs e)

and it always be treat like method in sandcastle ?


Apr 21, 2010 at 2:17 AM

Hello yeah83,

Are you new to .NET? Is this your first time of writing XML comments?

The example you gave is a method, an event handler. Please explain your question well.

Best regards,

Apr 21, 2010 at 7:03 AM

hi, thx.

yes, i found a "Form1_shown" in method, but should i also have a "shown" in event at the same time? 

maybe i made a terrible example.........- -

Apr 21, 2010 at 3:01 PM


No.  The Form.Shown event is not an event that you've defined in your class, so it doesn't appear in the documentation for your class.

- Dave