
How to show a form from a usercontrol
Patrick & Helga,
Use something like:
class UserControl1
{
void ShowInfoForm()
{
FrmInfo frm = new FrmInfo();
frm.Show();
}
Quote:
}
There is also a ShowDialog method which will show the form Modally.
Hope this helps
Jay
Quote:
> I would like to show a form by calling a method of a usercontrol, can
anyone
> advise how to do this.
> eg : myControl.ShowInfoForm() and have the FrmInfo shown.