diff --git a/.gitignore b/.gitignore index 28bcb4a..30a047b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ /.vs /bin /obj +*.user +*.pubxml.user +*.csproj.user diff --git a/FizzyLauncher.csproj.user b/FizzyLauncher.csproj.user deleted file mode 100644 index ff4db01..0000000 --- a/FizzyLauncher.csproj.user +++ /dev/null @@ -1,69 +0,0 @@ - - - - false - <_LastSelectedProfileId>L:\gitlab-hiimray\fizzy-launcher\Properties\PublishProfiles\Release x86.pubxml - - - - Form - - - UserControl - - - Component - - - UserControl - - - UserControl - - - UserControl - - - Form - - - UserControl - - - UserControl - - - UserControl - - - UserControl - - - UserControl - - - UserControl - - - UserControl - - - Form - - - Form - - - Form - - - Form - - - UserControl - - - UserControl - - - \ No newline at end of file diff --git a/MainForm.cs b/MainForm.cs index bd47082..1ddb62c 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -123,7 +123,7 @@ namespace FizzyLauncher { if (this.CurrentSession.HotKey.KeyCode != Keys.None) { - // UnregisterHotKey((IntPtr)Handle, 1); + UnregisterHotKey((IntPtr)Handle, 1); } } @@ -193,12 +193,12 @@ namespace FizzyLauncher { this.Invoke(new MethodInvoker(() => { - // UnregisterHotKey((IntPtr)Handle, 1); + UnregisterHotKey((IntPtr)Handle, 1); })); } else { - // UnregisterHotKey((IntPtr)Handle, 1); + UnregisterHotKey((IntPtr)Handle, 1); } if (this.CurrentSession.HotKey != null) @@ -209,12 +209,12 @@ namespace FizzyLauncher { this.Invoke(new MethodInvoker(() => { - // RegisterHotKey((IntPtr)Handle, 1, this.CurrentSession.HotKey.ModifierCode, this.CurrentSession.HotKey.Key); + RegisterHotKey((IntPtr)Handle, 1, this.CurrentSession.HotKey.ModifierCode, this.CurrentSession.HotKey.Key); })); } else { - // RegisterHotKey((IntPtr)Handle, 1, this.CurrentSession.HotKey.ModifierCode, this.CurrentSession.HotKey.Key); + RegisterHotKey((IntPtr)Handle, 1, this.CurrentSession.HotKey.ModifierCode, this.CurrentSession.HotKey.Key); } } } diff --git a/Properties/PublishProfiles/Release x64.pubxml.user b/Properties/PublishProfiles/Release x64.pubxml.user deleted file mode 100644 index dfee95b..0000000 --- a/Properties/PublishProfiles/Release x64.pubxml.user +++ /dev/null @@ -1,9 +0,0 @@ - - - - - True|2021-07-23T00:58:59.4046567Z; - - \ No newline at end of file diff --git a/Properties/PublishProfiles/Release x86.pubxml.user b/Properties/PublishProfiles/Release x86.pubxml.user deleted file mode 100644 index a3ff1d7..0000000 --- a/Properties/PublishProfiles/Release x86.pubxml.user +++ /dev/null @@ -1,9 +0,0 @@ - - - - - True|2021-07-23T00:59:33.9680448Z;True|2021-07-23T01:52:28.5639205+01:00;True|2021-07-23T01:49:36.9865426+01:00;True|2021-07-23T01:48:31.0435665+01:00; - - \ No newline at end of file