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

Diff of /trunk/TSAdminTool/frmClientProperties.cs

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

--- trunk/TSAdminTool/frmClientProperties.cs	2012/07/16 14:05:59	184
+++ trunk/TSAdminTool/frmClientProperties.cs	2012/07/16 14:14:09	185
@@ -58,6 +58,7 @@
                 tbrVolume.BackColor = System.Drawing.SystemColors.Control;
             }
 
+            Logging.TSControlPanelLog.DebugFormat("dialogMode={0}", dialogMode);
         switch (dialogMode)
         {   case ATSClientMode.EDIT_CLIENT:
                 this.Text = "Client Properties";
@@ -183,12 +184,15 @@
             if (dialogMode == ATSClientMode.CONTROL_PANEL)
             {
                 string myName = TSManager.GetMyName();
-                
+
+                Logging.TSControlPanelLog.DebugFormat("TSManager.GetMyName()={0}", myName);
+
                 // If the session does not have a client name. Most likely, the user is running in console mode.
                 if (myName.Length > 0)
                 {   // Session has name
                     // Try to extract MAC address from client name.
                     macAddress = ATSGlobals.GetMacFromATSname(myName);
+                    Logging.TSControlPanelLog.DebugFormat("ATSGlobals.GetMacFromATSname()={0}", macAddress);
                     if (macAddress.Length == 0)
                     {    // MAC not in name, try to lookup client name in database
                         atsDataSet datasetClientName = new atsDataSet();

 

  ViewVC Help
Powered by ViewVC 1.1.22