Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UserControl
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00714741
Message ID:
00716389
Views:
14
Pardon me for jumping in...

If the user control is placed inside the form, as you say (not in a separate toolbar), can't you just use Me.Parent to reference the form?

Try placing this code in your button Click event:
MessageBox(Me.Parent.GetType().Name) ' should show form's class name

If this works for you, there are several ways to call a method in your form, either using existing events / methods, or thru a custom interface.

Regards
Jose

>Cathi, it does not work I can't see my form because it's in a deferant application in the same solution.
>I stop here:
>CType(me.FindForm(), Windows.Forms.Form.
>after Form. it shows only these options (DockPaddingEdgesConverter(), DockPaddingEdges(), ControlCollection())
>
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform