how to open a web page as a child form in mdi fom
how to open a web page as a child form in mdi fom
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Dec 10, 2010, 8:50 PM
Josip JuricPosted Dec 10, 2010, 11:26 AM
this.IsMdiContainer = true;
Form childForm = new Form();
WebBrowser wb = new WebBrowser();
childForm.MdiParent = this;
childForm.Size = new Size(657, 482);
childForm.Controls.Add(wb);
wb.Dock = DockStyle.Fill;
//here you enter page that you want to show
wb.Navigate("YourPage");
childForm.Show();