Re: Consuming your own events.

Greg Young <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
Events are slower than a simple virtual method call ... also if there
is an exception in another event handler your code is not guarenteed
to be called where as with the OnXXX pattern (event template methods)
your code will be called before the event is actually raised.

On Jan 28, 2008 8:59 AM, Brady Kelly <[email protected]> wrote:
> I came across a mention in an article last year, advising on not consuming
> your own events, e.g. not using a Form_Load handler on your form, but
> overriding OnLoad.  What is the story behind this, and is it a UI thing I
> should ask about elsewhere, or a more general pattern?
>
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>



--
Studying for the Turing test

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.