WinForms - Remove Dock = DockStyle.Fill as it's been the default for a long time
This commit is contained in:
parent
282d2c0bd3
commit
0d386bf7b5
@ -20,10 +20,7 @@ namespace CefSharp.MinimalExample.WinForms
|
|||||||
Text = "CefSharp";
|
Text = "CefSharp";
|
||||||
WindowState = FormWindowState.Maximized;
|
WindowState = FormWindowState.Maximized;
|
||||||
|
|
||||||
browser = new ChromiumWebBrowser("www.google.com")
|
browser = new ChromiumWebBrowser("www.google.com");
|
||||||
{
|
|
||||||
Dock = DockStyle.Fill,
|
|
||||||
};
|
|
||||||
toolStripContainer.ContentPanel.Controls.Add(browser);
|
toolStripContainer.ContentPanel.Controls.Add(browser);
|
||||||
|
|
||||||
browser.IsBrowserInitializedChanged += OnIsBrowserInitializedChanged;
|
browser.IsBrowserInitializedChanged += OnIsBrowserInitializedChanged;
|
||||||
@ -44,7 +41,7 @@ namespace CefSharp.MinimalExample.WinForms
|
|||||||
#else
|
#else
|
||||||
// .NET Framework
|
// .NET Framework
|
||||||
var bitness = Environment.Is64BitProcess ? "x64" : "x86";
|
var bitness = Environment.Is64BitProcess ? "x64" : "x86";
|
||||||
var environment = String.Format("Environment: {0}", bitness);
|
var environment = String.Format("Environment: {0}", bitness);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DisplayOutput(string.Format("{0}, {1}", version, environment));
|
DisplayOutput(string.Format("{0}, {1}", version, environment));
|
||||||
|
Loading…
Reference in New Issue
Block a user