ee00c7750b
- dopo misura si reimposta misurazione speciale OFFICE - aggiunta terminazione contesto all'uscita dialogo pezzi parametrici e import Dxf - aggiunte maggiori info in AboutBox.
32 lines
1.6 KiB
VB.net
32 lines
1.6 KiB
VB.net
Imports EgtUILib
|
|
|
|
Public Class AboutBoxV
|
|
|
|
' Riferimento alla MainWindow
|
|
Private m_MainWindow As Window = Application.Current.MainWindow
|
|
|
|
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 = OmagOFFICEMap.refMainWindowVM.MainWindowM.nKeyLevel.ToString()
|
|
Dim sOpts As String = OmagOFFICEMap.refMainWindowVM.MainWindowM.nKeyOptions.ToString()
|
|
sInfo = sKey & " - " & sKlev & " - " & sOpts & Environment.NewLine
|
|
sInfo &= "DataRoot " & OmagOFFICEMap.refMainWindowVM.MainWindowM.sDataRoot & Environment.NewLine
|
|
sInfo &= "MachinesRoot " & OmagOFFICEMap.refMainWindowVM.MainWindowM.sMachinesRoot & Environment.NewLine
|
|
Dim sScene As String = String.Empty
|
|
EgtGetSceneInfo(sScene)
|
|
sInfo &= sScene
|
|
InfoLbl.Text = sInfo
|
|
ExitBtn.Content = EgtMsg(MSG_MISSINGKEYWD + 4) 'Ok
|
|
End Sub
|
|
|
|
End Class
|