mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
Fix some settings on WebControl implementation.
This commit is contained in:
parent
257187a284
commit
c1e5c1c710
5
windows/WebUIWrapper/Form1.Designer.cs
generated
5
windows/WebUIWrapper/Form1.Designer.cs
generated
@ -35,18 +35,13 @@
|
||||
// webContainer
|
||||
//
|
||||
this.webContainer.AllowNavigation = false;
|
||||
this.webContainer.AllowWebBrowserDrop = false;
|
||||
this.webContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.webContainer.IsWebBrowserContextMenuEnabled = false;
|
||||
this.webContainer.Location = new System.Drawing.Point(0, 0);
|
||||
this.webContainer.MinimumSize = new System.Drawing.Size(20, 20);
|
||||
this.webContainer.Name = "webContainer";
|
||||
this.webContainer.ScriptErrorsSuppressed = true;
|
||||
this.webContainer.ScrollBarsEnabled = false;
|
||||
this.webContainer.Size = new System.Drawing.Size(1012, 556);
|
||||
this.webContainer.TabIndex = 0;
|
||||
this.webContainer.Url = new System.Uri("", System.UriKind.Relative);
|
||||
this.webContainer.WebBrowserShortcutsEnabled = false;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
|
@ -62,7 +62,7 @@ namespace WebUIWrapper
|
||||
this.Close();
|
||||
return;
|
||||
}
|
||||
webContainer.Url = new System.Uri("http://127.0.0.1:" + port.ToString() + "/index.html?authToken=" + authToken);
|
||||
webContainer.Navigate("http://127.0.0.1:" + port.ToString() + "/index.html?authToken=" + authToken);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user