ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/TSAdminTool/frmAdmin.cs
(Generate patch)

Comparing trunk/TSAdminTool/frmAdmin.cs (file contents):
Revision 115 by william, Sat Jul 14 04:50:27 2012 UTC vs.
Revision 116 by william, Sat Jul 14 08:03:33 2012 UTC

--- trunk/TSAdminTool/frmAdmin.cs	2012/07/14 07:31:18	115
+++ trunk/TSAdminTool/frmAdmin.cs	2012/07/14 08:03:33	116
@@ -27,6 +27,11 @@ namespace AnywhereTS
             Logging.ATSAdminLog.Debug("Entering frmAdmin .ctor()");
             InitializeComponent();
             Logging.ATSAdminLog.Debug("Leaving frmAdmin .ctor()");
+
+            ProSupport.strDatabaseServer = AnywhereTS.DBSupport.Properties.Settings.Default.DBServer;
+            ProSupport.strDatabaseInstance = AnywhereTS.DBSupport.Properties.Settings.Default.DBInstance;
+            ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseServer, ProSupport.strDatabaseServer);
+            ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseInstance, ProSupport.strDatabaseInstance);
         }
 
         private void frmAdmin_Load(object sender, EventArgs e)