aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Apps/Shiftnet.cs
diff options
context:
space:
mode:
authorMichael VanOverbeek <[email protected]>2016-07-25 12:54:08 -0400
committerMichael VanOverbeek <[email protected]>2016-07-25 12:54:08 -0400
commit6fa16209519896de09949a27425dff00ebf2970a (patch)
treef00af7ea3f6ad2641fb26fa1d310fd8b7179b39c /source/WindowsFormsApplication1/Apps/Shiftnet.cs
parent401ae1bb353887a2b90a3dbf53b8913dc84d70a9 (diff)
parentaf48e774189596b8d7a058c564a7d6d75205ca03 (diff)
downloadshiftos-c--6fa16209519896de09949a27425dff00ebf2970a.tar.gz
shiftos-c--6fa16209519896de09949a27425dff00ebf2970a.tar.bz2
shiftos-c--6fa16209519896de09949a27425dff00ebf2970a.zip
Merge remote-tracking branch 'refs/remotes/origin/master' into shiftui_integration
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/Shiftnet.cs')
-rw-r--r--source/WindowsFormsApplication1/Apps/Shiftnet.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Shiftnet.cs b/source/WindowsFormsApplication1/Apps/Shiftnet.cs
index 0c8b4b7..11c8094 100644
--- a/source/WindowsFormsApplication1/Apps/Shiftnet.cs
+++ b/source/WindowsFormsApplication1/Apps/Shiftnet.cs
@@ -61,11 +61,17 @@ namespace ShiftOS
wbshiftnet.Document.TextContent = WebLayer.VisitSite("shiftnet://main");
txtaddress.Text = WebLayer.LastUrl;
}
+
+ private void txtaddress_TextChanged(object sender, EventArgs e)
+ {
+
+ }
}
public class WebLayer
{
- private static string HtmlTemplate = "<html><head><title>Shiftnet Page</title><link rel=\"stylesheet\" href=\"http://playshiftos.ml/shiftnet.css\"/></head><body>#BODY#</body></html>";
+ public static String serverurl = "http://playshiftos.ml";
+ private static string HtmlTemplate = "<html><head><title>Shiftnet Page</title><link rel=\"stylesheet\" href=\"" + serverurl + "/shiftnet.css\"/></head><body>#BODY#</body></html>";
public static string LastUrl = null;
public static string VisitSite(string url)