/[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

revision 63 by william, Thu Jul 12 18:17:31 2012 UTC revision 64 by william, Thu Jul 12 18:56:31 2012 UTC
# Line 609  namespace AnywhereTS Line 609  namespace AnywhereTS
609                  }                  }
610                  else                  else
611                  {                  {
                     //throw new Exception(string.Format("Error: Cannot find record to delete (43556) for mac address: "));  
612                      string error = string.Format("Error: Cannot find record to delete (43556) for mac address: {0}", selectedClientMacAddress);                      string error = string.Format("Error: Cannot find record to delete (43556) for mac address: {0}", selectedClientMacAddress);
613                      Logging.ATSAdminLog.Error(error);                      using (log4net.NDC.Push(string.Format("MacAddress={0}", selectedClientMacAddress)))
614                      MessageBox.Show(error);                                          {
615                            Logging.ATSAdminLog.Error(error);
616                        }
617                        MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("MacAddress={0}", selectedClientMacAddress)));
618                        return;
619                  }                  }
620              }              }
621          }          }

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

  ViewVC Help
Powered by ViewVC 1.1.22