Home All Groups Group Topic Archive Search About

Add new event manually to a control of mine.

Author
31 May 2010 5:31 PM
Mr. X.
Hello.
I want to make a new event manually to a control of mine.
I overrided the control : DataGridView, and want to add a new event
(and also call the event on some of my methods).

How can I do the above ?

Thanks :)

Author
31 May 2010 5:36 PM
Mr. X.
Also change the parameters, that are sent to the control.

Thanks :)

Show quoteHide quote
"Mr. X." <nospam@nospam_please.com> wrote in message
news:#bQ1kcOALHA.2332@TK2MSFTNGP04.phx.gbl...
> Hello.
> I want to make a new event manually to a control of mine.
> I overrided the control : DataGridView, and want to add a new event
> (and also call the event on some of my methods).
>
> How can I do the above ?
>
> Thanks :)
Author
31 May 2010 5:55 PM
Armin Zingler
Am 31.05.2010 19:31, schrieb Mr. X.:
> Hello.
> I want to make a new event manually to a control of mine.
> I overrided the control : DataGridView, and want to add a new event
> (and also call the event on some of my methods).
>
> How can I do the above ?
>
> Thanks :)

http://msdn.microsoft.com/en-us/library/h7a2kh64%28VS.90%29.aspx

--
Armin