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"; |
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(); |