Z
Zytan
I just wanted a little practice with the WebBrowser control, so I did
the VB guided tour example here in C#:
http://msdn2.microsoft.com/en-us/library/a08t4ke7(VS.80).aspx
The tutorial asks to put a Panel with a Button and TextBox in it, and
a WebBrowser below it. Then, it sets the Panel's Dock property to be
Top. It sets the WebBroswer's Dock property to be Fill.
But, the WebBrowser then fills the entire form! Even though the
Panel's Dock property is already using the top of the form. I did
this example in VB some time ago, and this did not occur. Is this a
bug? Does C# handle this differently? I would assume Dock implies
like a docking toolbar, no two can occupy the same space.
It takes 1 minute to test this out, so please do if you have time.
You can see the error occurs right within the form designer, before
any code is written.
Zytan
the VB guided tour example here in C#:
http://msdn2.microsoft.com/en-us/library/a08t4ke7(VS.80).aspx
The tutorial asks to put a Panel with a Button and TextBox in it, and
a WebBrowser below it. Then, it sets the Panel's Dock property to be
Top. It sets the WebBroswer's Dock property to be Fill.
But, the WebBrowser then fills the entire form! Even though the
Panel's Dock property is already using the top of the form. I did
this example in VB some time ago, and this did not occur. Is this a
bug? Does C# handle this differently? I would assume Dock implies
like a docking toolbar, no two can occupy the same space.
It takes 1 minute to test this out, so please do if you have time.
You can see the error occurs right within the form designer, before
any code is written.
Zytan