/[AnywhereTS-MSSQL]/trunk/TSAdminTool/frmClientProperties.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/frmClientProperties.cs

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

--- trunk/TSAdminTool/frmClientProperties.cs	2012/07/12 16:47:17	57
+++ trunk/TSAdminTool/frmClientProperties.cs	2012/07/12 17:00:14	58
@@ -13,8 +13,7 @@
     {
         public frmClientProperties()
         {
-            InitializeComponent();
-            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
+            InitializeComponent();          
         }
         static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
         {
@@ -68,6 +67,7 @@
 
         private void frmClientProperties_Load(object sender, EventArgs e)
         {
+            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
             this.Cursor = Cursors.WaitCursor;
             changedByUser = false; // To prevent the some controls from triggering changed event.
 

 

  ViewVC Help
Powered by ViewVC 1.1.22