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

Diff of /trunk/TSAdminTool/frmAdmin.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- 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 @@
             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)

 

  ViewVC Help
Powered by ViewVC 1.1.22