b83cffcc9b
- tolta lettura messaggi - aggiunto manifest per OS fino a Windows 10.
31 lines
1.7 KiB
VB.net
31 lines
1.7 KiB
VB.net
Imports EgtUILib
|
|
|
|
Public Class AboutBoxV
|
|
|
|
Private Sub AboutBoxWD_Initialized(sender As Object, e As EventArgs) Handles Me.Initialized
|
|
Me.Owner = Application.Current.MainWindow
|
|
DescriptionLbl.Text = My.Application.Info.Description.ToString()
|
|
VersionLbl.Text = "Version : " & My.Application.Info.Version.Major.ToString() &
|
|
"." & My.Application.Info.Version.Minor.ToString() &
|
|
(ChrW(97 - 1 + My.Application.Info.Version.Build)).ToString() &
|
|
My.Application.Info.Version.Revision.ToString()
|
|
CopyrightLbl.Text = My.Application.Info.Copyright.ToString()
|
|
Dim sInfo As String = String.Empty
|
|
Dim sKey As String = String.Empty
|
|
EgtGetKeyInfo(sKey)
|
|
Dim sKlev As String = Map.refMainWindowVM.MainWindowM.nKeyLevel.ToString()
|
|
Dim sOpts As String = Map.refMainWindowVM.MainWindowM.nKeyOptions.ToString()
|
|
Dim sLeftDays As String = ""
|
|
Dim nLeftDays As Integer
|
|
if EgtGetKeyLeftDays( nLeftDays) AndAlso nLeftDays < 500 Then sLeftDays= " (" & nLeftDays.ToString() & ")"
|
|
sInfo = sKey & " - " & sKlev & " - " & sOpts & sLeftDays & Environment.NewLine
|
|
sInfo &= "User " & Environment.MachineName & "\" & Environment.UserName &
|
|
" (" & Map.refMainWindowVM.MainWindowM.nInstance.ToString() & ")" & Environment.NewLine
|
|
sInfo &= "DataRoot " & Map.refMainWindowVM.MainWindowM.sDataRoot & Environment.NewLine
|
|
sInfo &= "LogRoot " & Map.refMainWindowVM.MainWindowM.sLogDir & Environment.NewLine
|
|
InfoLbl.Text = sInfo
|
|
ExitBtn.Content = "Ok"
|
|
End Sub
|
|
|
|
End Class
|