Skip to content

Commit dba3c06

Browse files
committed
fixed check for updates window not closing issue.
fixed hotkey not opening window when not autoHiding
1 parent 19e4b14 commit dba3c06

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

WindowsApplication1/Form_CheckForUpdates.vb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22

33
Public Class Form_CheckForUpdates
44

5-
Private Sub HandlerFun_on_Btn_Ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
5+
Private Sub HandlerFun_on_Btn_Ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn_Ok.Click
66
Me.DialogResult = System.Windows.Forms.DialogResult.OK
77
Me.Close()
88
End Sub
99

10-
Private Sub HandlerFun_on_Btn_Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
11-
Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
12-
Me.Close()
13-
End Sub
14-
1510
Private Sub HandlerFun_on_CheckForUpdatesBrowserWindow_Load(sender As Object, e As EventArgs) Handles MyBase.Load
1611
Uri.TryCreate(My.Resources.Str_UpdateURL, UriKind.Absolute, WebBrws_gitHubPage.Url)
1712
End Sub

WindowsApplication1/Form_Main.vb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
Me.Visible = True
2121
Me.BringToFront()
2222
Me.Activate()
23+
Me.WindowState = FormWindowState.Normal
2324
End Select
2425
End If
2526
MyBase.WndProc(m)

WindowsApplication1/My Project/Resources.Designer.vb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

WindowsApplication1/My Project/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,6 @@
127127
<value>https://www.github.com/Marc-Bender/ClipboardHistory/releases/latest</value>
128128
</data>
129129
<data name="Str_VersionNumber" xml:space="preserve">
130-
<value>V.0.2</value>
130+
<value>V.0.2.2</value>
131131
</data>
132132
</root>

0 commit comments

Comments
 (0)