summaryrefslogtreecommitdiff
path: root/windows/WebUIWrapper
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2015-05-08 14:51:24 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2015-05-08 14:51:24 -0700
commitc1e5c1c710d48fd065cce963834f3eec3ec1a69c (patch)
tree79765af0999ba27fa1c90b24ce001a92975de560 /windows/WebUIWrapper
parent257187a284108a8bc291aa093035ec17ecb65fa5 (diff)
downloadinfinitytier-c1e5c1c710d48fd065cce963834f3eec3ec1a69c.tar.gz
infinitytier-c1e5c1c710d48fd065cce963834f3eec3ec1a69c.zip
Fix some settings on WebControl implementation.
Diffstat (limited to 'windows/WebUIWrapper')
-rw-r--r--windows/WebUIWrapper/Form1.Designer.cs5
-rw-r--r--windows/WebUIWrapper/Form1.cs2
2 files changed, 1 insertions, 6 deletions
diff --git a/windows/WebUIWrapper/Form1.Designer.cs b/windows/WebUIWrapper/Form1.Designer.cs
index 350772e0..8d8eb9e9 100644
--- a/windows/WebUIWrapper/Form1.Designer.cs
+++ b/windows/WebUIWrapper/Form1.Designer.cs
@@ -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
//
diff --git a/windows/WebUIWrapper/Form1.cs b/windows/WebUIWrapper/Form1.cs
index 35ee5369..40d5da9d 100644
--- a/windows/WebUIWrapper/Form1.cs
+++ b/windows/WebUIWrapper/Form1.cs
@@ -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
{