delegate
public
internal
class
event
ref
^
gcnew
%
System.Runtime.InteropServices.DLLImportAttribute
// This is in form_load for example MyType var = new MyType(); var.MyEvent += new System.EventHandler(this.MyHandler); // this is outside form_load, the event handler: private void MyHandler(object sender, System.EventArgs e) { // handle var.MyEvent here. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)