I have a main form with a panel on the form. The panel can be resized.
Depending on a selection, I display another form inside the panel on the main form using the following code....
frm = new MyForm();
frm.TopLevel = false;
frm.Parent = pnl_fleet_main;
frm.Show();
Now when the panel is resized in the main form, I want to pass the resize event to the childform.
In VB6 I used the WithEvents command. In C# I have to create an event handler in the child form that response the the panel resize from the main form.
Any suggestions?




Reply With Quote