OSDN Git Service

AppliStation-GUI,OptionDialogについてノート付きコマンドリンク形式に変更。
[applistation/AppliStation.git] / AppliStation / AppliStation.Util / NativeMethods.cs
index 1aee2ca..14fc235 100644 (file)
@@ -131,6 +131,7 @@ namespace AppliStation.Util
                                \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
@@ -582,7 +583,7 @@ namespace AppliStation.Util
                \r
                #endregion\r
                \r
-               [DllImport("user32.dll", CharSet = CharSet.Auto)]\r
+               [DllImport("user32.dll", CharSet=CharSet.Auto)]\r
                internal static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam);\r
                \r
                [DllImport("user32.dll", CharSet=CharSet.Auto)]\r