mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 09:01:08 +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
|
// webContainer
|
||||||
//
|
//
|
||||||
this.webContainer.AllowNavigation = false;
|
this.webContainer.AllowNavigation = false;
|
||||||
this.webContainer.AllowWebBrowserDrop = false;
|
|
||||||
this.webContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.webContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.webContainer.IsWebBrowserContextMenuEnabled = false;
|
this.webContainer.IsWebBrowserContextMenuEnabled = false;
|
||||||
this.webContainer.Location = new System.Drawing.Point(0, 0);
|
this.webContainer.Location = new System.Drawing.Point(0, 0);
|
||||||
this.webContainer.MinimumSize = new System.Drawing.Size(20, 20);
|
this.webContainer.MinimumSize = new System.Drawing.Size(20, 20);
|
||||||
this.webContainer.Name = "webContainer";
|
this.webContainer.Name = "webContainer";
|
||||||
this.webContainer.ScriptErrorsSuppressed = true;
|
|
||||||
this.webContainer.ScrollBarsEnabled = false;
|
|
||||||
this.webContainer.Size = new System.Drawing.Size(1012, 556);
|
this.webContainer.Size = new System.Drawing.Size(1012, 556);
|
||||||
this.webContainer.TabIndex = 0;
|
this.webContainer.TabIndex = 0;
|
||||||
this.webContainer.Url = new System.Uri("", System.UriKind.Relative);
|
|
||||||
this.webContainer.WebBrowserShortcutsEnabled = false;
|
|
||||||
//
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
|
@ -62,7 +62,7 @@ namespace WebUIWrapper
|
|||||||
this.Close();
|
this.Close();
|
||||||
return;
|
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
|
catch
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user