|
7 | 7 | '
|
8 | 8 | ' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
|
9 | 9 |
|
10 |
| -Imports WinNUT_Params = WinNUT_Client_Common.WinNUT_Params |
11 |
| -Imports Logger = WinNUT_Client_Common.Logger |
12 |
| -Imports LogLvl = WinNUT_Client_Common.LogLvl |
13 |
| -Imports WinNUT_Globals = WinNUT_Client_Common.WinNUT_Globals |
| 10 | +Imports WinNUT_Client_Common |
14 | 11 |
|
15 | 12 | Public Class About_Gui
|
16 |
| - Private LogFile As Logger |
17 | 13 | Private Sub About_Gui_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
18 |
| - Lbl_ProgNameVersion.Text = WinNUT_Globals.LongProgramName & vbNewLine & "Version " & WinNUT_Globals.ProgramVersion |
19 |
| - Lbl_Copyright_2019.Text = Strings.Replace(WinNUT_Globals.Copyright, "©", vbNewLine & "©") |
20 |
| - LkLbl_Github.Text = WinNUT_Globals.GitHubURL |
21 |
| - Me.Icon = WinNUT.Icon |
| 14 | + Lbl_ProgNameVersion.Text = LongProgramName & vbNewLine & "Version " & ProgramVersion |
| 15 | + Lbl_Copyright_2019.Text = Replace(Copyright, "©", vbNewLine & "©") |
| 16 | + LkLbl_Github.Text = GitHubURL |
| 17 | + Icon = WinNUT.Icon |
22 | 18 | ' Me.LogFile = WinNUT.LogFile
|
23 | 19 | LogFile.LogTracing("Load About Gui", LogLvl.LOG_DEBUG, Me)
|
24 | 20 | End Sub
|
25 | 21 |
|
26 | 22 | Private Sub Btn_OK_Click(sender As Object, e As EventArgs) Handles Btn_OK.Click
|
27 | 23 | LogFile.LogTracing("Close About Gui", LogLvl.LOG_DEBUG, Me)
|
28 |
| - Me.Close() |
| 24 | + Close() |
29 | 25 | End Sub
|
30 | 26 |
|
31 | 27 | Private Sub LkLbl_Github_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LkLbl_Github.LinkClicked
|
32 |
| - System.Diagnostics.Process.Start(sender.Text) |
| 28 | + Process.Start(sender.Text) |
33 | 29 | End Sub
|
34 | 30 | End Class
|
0 commit comments