/[AnywhereTS-MSSQL]/trunk/TSControlPanel/Program.cs
ViewVC logotype

Diff of /trunk/TSControlPanel/Program.cs

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

revision 98 by william, Sat Jul 14 03:14:54 2012 UTC revision 109 by william, Sat Jul 14 06:25:57 2012 UTC
# Line 16  namespace AnywhereTS Line 16  namespace AnywhereTS
16          [STAThread]          [STAThread]
17          static void Main()          static void Main()
18          {          {
19              Logging.Initialize();              //Logging.Initialize();
20              using (log4net.NDC.Push("Logged from TSControlPanel.exe"))              using (log4net.NDC.Push("Logged from TSControlPanel.exe"))
21              {              {
22                  AppDomain currentDomain = AppDomain.CurrentDomain;                  AppDomain currentDomain = AppDomain.CurrentDomain;
# Line 40  namespace AnywhereTS Line 40  namespace AnywhereTS
40          }          }
41          static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs args)          static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs args)
42          {          {
43              Logging.Initialize();              //Logging.Initialize();
44              DialogResult result = DialogResult.Cancel;              DialogResult result = DialogResult.Cancel;
45              Exception e = (Exception)args.ExceptionObject;              Exception e = (Exception)args.ExceptionObject;
46              if (e == null)              if (e == null)

Legend:
Removed from v.98  
changed lines
  Added in v.109

  ViewVC Help
Powered by ViewVC 1.1.22