/[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 109 by william, Sat Jul 14 06:25:57 2012 UTC revision 113 by william, Sat Jul 14 07:18:30 2012 UTC
# Line 16  namespace AnywhereTS Line 16  namespace AnywhereTS
16          [STAThread]          [STAThread]
17          static void Main()          static void Main()
18          {          {
             //Logging.Initialize();  
19              using (log4net.NDC.Push("Logged from TSControlPanel.exe"))              using (log4net.NDC.Push("Logged from TSControlPanel.exe"))
20              {              {
21                  AppDomain currentDomain = AppDomain.CurrentDomain;                  AppDomain currentDomain = AppDomain.CurrentDomain;
# Line 39  namespace AnywhereTS Line 38  namespace AnywhereTS
38              CurrentDomain_UnhandledException(sender, new UnhandledExceptionEventArgs(e.Exception, false));              CurrentDomain_UnhandledException(sender, new UnhandledExceptionEventArgs(e.Exception, false));
39          }          }
40          static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs args)          static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs args)
41          {          {          
             //Logging.Initialize();  
42              DialogResult result = DialogResult.Cancel;              DialogResult result = DialogResult.Cancel;
43              Exception e = (Exception)args.ExceptionObject;              Exception e = (Exception)args.ExceptionObject;
44              if (e == null)              if (e == null)

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

  ViewVC Help
Powered by ViewVC 1.1.22