Olá pessoal,
tenho o seguinte formulario
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public delegate void ToSaveEventHandle(object sender,
EventArgs e);
public event ToSaveEventHandle ToSave;
public virtual void DispatchToSave()
{
ToSave(this, new EventArgs());
}
}
}
in my form you can see que im creating myself event
"ToSave".
What i want its know how do i to add that event those list of events
that appear
in Visual Studio when i select a component. At window Properties of
Visual Studio
that stay along rigth????
Hugs