/[AnywhereTS-MSSQL]/trunk/TSAdminTool/WebSupport.cs
ViewVC logotype

Contents of /trunk/TSAdminTool/WebSupport.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download)
Wed Jul 11 14:19:13 2012 UTC (7 years, 7 months ago) by william
File size: 1078 byte(s)
imported from https://anywherets.svn.sourceforge.net/svnroot/anywherets/trunk/
Revision: 1
Author: beartown
Date: 3:10:40 AM, Monday, June 21, 2010
Message:
First upload. Still todo in order to get a fully working product: Replace Thinstation images with vanilla Thinstation, modify ImageDesigntimeConfig.cs, ImageRuntimeConfig.cs in order to support the Thinstation image
1 using System;
2 using System.Collections.Generic;
3 using System.Diagnostics;
4 using System.Text;
5 using System.Windows.Forms;
6
7 namespace AnywhereTS
8 {
9 public static class WebSupport
10 {
11 public static void OpenURL(string url)
12 { // Open a
13
14 try
15 {
16 // Try letting system select browser
17 System.Diagnostics.Process.Start(url);
18 }
19 catch
20 {
21 try
22 {
23 System.Diagnostics.Process.Start("IExplore.exe", url);
24 }
25 catch
26 {
27 MessageBox.Show("AnywhereTS was not able to launch a web browser on your computer. Please launch a web browser and type in the following URL in order to display the requested page: " + url);
28 }
29 }
30 }
31
32 public static void DisplayProInfo()
33 {
34 OpenURL("http://anywherets.com");
35 }
36
37 } // Class WebSupport
38 } // Namespace AnywhereTS

  ViewVC Help
Powered by ViewVC 1.1.22