I've just started programming in C# en have a question. I've been looking on internet on how to make a browser in a windows form.
I have got 3 forms in my project.
- A Login form
- A MDI-form
- A MDI-child
The Login-form contains the main function.
The browser must come in the MDI-child.
I've made the browser with the microsoft control. I even added the MSHTML reference. Now I can compile. But when I open the mdiChild.
I have got 3 forms in my project.
- A Login form
- A MDI-form
- A MDI-child
The Login-form contains the main function.
The browser must come in the MDI-child.
I've made the browser with the microsoft control. I even added the MSHTML reference. Now I can compile. But when I open the mdiChild.
Code:
An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: Cannot add a top level control to a control.