thanks. works fine but when it opens a new form it disappears off the original form.
Any ideas why?
thanks again.
I don't understand what is happening.
Do I understand this correctly:
You have a form with the user control on it and can view it perfectly.
You open another form and the user control disappears of the first form??
Just realised I have this line to hide the original form in the usercontrol class...
this.Hide();
How do I use the above code to hide the relevant form based on which form has been used to perform the code?
thanks.
I've never used this sort of thing but I would assume that the Hide() property can be used by the from that owns the control to set its visibility state. Much like the Visible() property in a Web User Control.
-Frinny