Hi,
It's not completely clear what do you actually want to do...
If you use some custom label, the System.Windows.Forms.Label class has a
protected OnMouseUp method you can call to raise the event. So you could
create an inherited control, expose a public method called something like
ImitateClick that would in turn call the protected OnMouseUp method, raising
the MouseUp event.
Then provided that the form will have been supplied an event handler by the
time the event is raised, this handler will be invoked just like you have
really clicked on the label.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Mauricio Rendon" <mr*******@hotmail.com> wrote in message
news:14****************************@phx.gbl...
Hi,
If I have a Label in a Form and need to raise the MouseUp
event on the label to the Form ( Parent Control ), What
must I do ?
Thanks !!!