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

Diff of /trunk/TSAdminTool/frmConfigMode.cs

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

revision 46 by william, Thu Jul 12 14:17:14 2012 UTC revision 64 by william, Thu Jul 12 18:56:31 2012 UTC
# Line 20  namespace AnywhereTS Line 20  namespace AnywhereTS
20    
21          private void Mode_Load(object sender, EventArgs e)          private void Mode_Load(object sender, EventArgs e)
22          {          {
23              this.Cursor = Cursors.WaitCursor;              //this.Cursor = Cursors.WaitCursor;
24              if (ATSGlobals.configured == 0)              if (ATSGlobals.configured == 0)
25              {  // ATS not configured yet              {  // ATS not configured yet
26                  radManagedMode.Checked = true;                  radManagedMode.Checked = true;
# Line 129  namespace AnywhereTS Line 129  namespace AnywhereTS
129              }              }
130              else              else
131              {              {
132                  throw new Exception("Error: Unknown mode (84377)");                  string error = "Error: Unknown mode (84377)";
133                    using (log4net.NDC.Push(string.Format("mode={0}", ATSGlobals.managedMode)))
134                    {
135                        Logging.ATSAdminLog.Error(error);
136                    }
137                    MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("mode={0}", ATSGlobals.managedMode)));
138                    return;
139    
140              }              }
141              // Save the database directory to registry              // Save the database directory to registry
142              ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();              ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();

Legend:
Removed from v.46  
changed lines
  Added in v.64

  ViewVC Help
Powered by ViewVC 1.1.22