0232d9d5f7
- aggiunte Info in AboutBox - corretta selezione licenza quando mancante.
36 lines
1.5 KiB
VB.net
36 lines
1.5 KiB
VB.net
Imports EgtUILib
|
|
|
|
Public Class AboutBoxV
|
|
|
|
Sub New()
|
|
' This call is required by the designer.
|
|
InitializeComponent()
|
|
|
|
' '' Add any initialization after the InitializeComponent() call.
|
|
End Sub
|
|
|
|
Private Sub ExitBtn_Click(sender As Object, e As RoutedEventArgs) Handles ExitBtn.Click
|
|
Me.Visibility = Windows.Visibility.Hidden
|
|
End Sub
|
|
|
|
Private Sub AboutBoxWD_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
|
|
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()
|
|
Dim sKey As String = String.Empty
|
|
EgtGetKeyInfo(sKey)
|
|
Dim sKlev As String = IniFile.m_nKeyLevel.ToString()
|
|
Dim sOpts As String = IniFile.m_nKeyOptions.ToString()
|
|
KeyLbl.Text = sKey & " - " & sKlev & " - " & sOpts
|
|
CopyrightLbl.Text = My.Application.Info.Copyright.ToString()
|
|
Dim sInfo As String = "DataRoot " & IniFile.m_sDataRoot & vbCrLf
|
|
sInfo &= "Doors " & IniFile.m_sDoorsDirPath
|
|
InfoLbl.Text = sInfo
|
|
ExitBtn.Content = EgtMsg(MSG_MISSINGKEYWD + 4) 'Ok
|
|
End Sub
|
|
|
|
End Class
|