Well yes, but that may be more than you need. Shared events (or any shared
members for that matter) do not require an instance of your class to be
used. So imagine being able to wire an event procedure on a class that is
not even instanced.
A good example of this would be the Show method of the MessageBox class.
You don't have to make an instance of a MessageBox to be able to use its
Show method.
If you've solved your problem, great! But you should be able to access
events of a class from a different assembly without having to resort to
this. If the class is declared "WithEvents" then it will receive
notifications about the events that are raised for the base class:
Public WithEvents Button1 As System.Windows.Forms.Button
"calderara serge" <se*************@maillefer.net> wrote in message
news:eA**************@TK2MSFTNGP12.phx.gbl...
I find our the problem.
sipply declare my event as public shared and they are trigged from
anywhere
regards
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!