Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1540
Add a Form into a UltraPanel
posted

Hello,

I want to add a form1 into a panel which is on form2.

private void Form2_Load(object sender, EventArgs e)
{

form1 = new Form1();
form1.Dock = DockStyle.Fill;
this.ultraPanel2.Controls.Add(form1);~

}

But this doesn't work. Am I doing something wrong?

Thank you.

Best regards,

Maria