Calling private event handler from outside class
Posted
by Azodious
on Stack Overflow
See other posts from Stack Overflow
or by Azodious
Published on 2010-06-17T14:28:56Z
Indexed on
2010/06/17
14:33 UTC
Read the original article
Hit count: 193
i've two classes. One class (say A) takes a textbox in c'tor. and registers TextChanged event with private event-handler method. 2nd class (say B) creates the object of class A by providing a textbox.
how to invoke the private event handler of class A from class B?
it also registers the MouseClick event.
is there any way to invoke private eventhandlers?
© Stack Overflow or respective owner