Quellcode durchsuchen

处理.Abort() 报正在中止线程的问题

cxs vor 1 Jahr
Ursprung
Commit
aca5ca2cf8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

+ 1 - 1
OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

@@ -285,7 +285,7 @@ namespace OTSMeasureApp
                     sp.ShowDialog();
                 }
             }
-            catch
+            catch (ThreadAbortException)
             {
 
             }