aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Apps/Shiftnet.cs
diff options
context:
space:
mode:
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)