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

Comparing trunk/TSAdminTool/frmClientProperties.cs (file contents):
Revision 184 by william, Sun Jul 15 11:21:36 2012 UTC vs.
Revision 185 by william, Mon Jul 16 14:14:09 2012 UTC

# Line 58 | Line 58 | namespace AnywhereTS
58                  tbrVolume.BackColor = System.Drawing.SystemColors.Control;
59              }
60  
61 +            Logging.TSControlPanelLog.DebugFormat("dialogMode={0}", dialogMode);
62          switch (dialogMode)
63          {   case ATSClientMode.EDIT_CLIENT:
64                  this.Text = "Client Properties";
# Line 183 | Line 184 | namespace AnywhereTS
184              if (dialogMode == ATSClientMode.CONTROL_PANEL)
185              {
186                  string myName = TSManager.GetMyName();
187 <                
187 >
188 >                Logging.TSControlPanelLog.DebugFormat("TSManager.GetMyName()={0}", myName);
189 >
190                  // If the session does not have a client name. Most likely, the user is running in console mode.
191                  if (myName.Length > 0)
192                  {   // Session has name
193                      // Try to extract MAC address from client name.
194                      macAddress = ATSGlobals.GetMacFromATSname(myName);
195 +                    Logging.TSControlPanelLog.DebugFormat("ATSGlobals.GetMacFromATSname()={0}", macAddress);
196                      if (macAddress.Length == 0)
197                      {    // MAC not in name, try to lookup client name in database
198                          atsDataSet datasetClientName = new atsDataSet();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines