OSDN Git Service

AppliStation-GUI,f233cca26ee7bdf5c04e99fd3953d2ab416d48fa に伴う退行バグ修正(WindowsVista以前で進捗...
authorttp <ttp@users.sourceforge.jp>
Sat, 18 Sep 2010 04:11:26 +0000 (13:11 +0900)
committerttp <ttp@users.sourceforge.jp>
Sat, 18 Sep 2010 04:11:26 +0000 (13:11 +0900)
AppliStation/AppliStation.Util/NativeMethods.cs

index 1aee2ca..22aedc7 100644 (file)
@@ -131,6 +131,7 @@ namespace AppliStation.Util
                                \r
                                tasklist.SetProgressState(form.Handle, tbpFlag);\r
                                tasklist.SetProgressValue(form.Handle, val, maximum);\r
                                \r
                                tasklist.SetProgressState(form.Handle, tbpFlag);\r
                                tasklist.SetProgressValue(form.Handle, val, maximum);\r
+                       } catch (Exception) {\r
                        } finally {\r
                                if (tasklist != null) {\r
                                        Marshal.ReleaseComObject(tasklist);\r
                        } finally {\r
                                if (tasklist != null) {\r
                                        Marshal.ReleaseComObject(tasklist);\r