Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#9161 from derekagorhom/Version_num
Browse files Browse the repository at this point in the history
Version Number in the Frmmain code file
  • Loading branch information
Patowhiz authored Oct 15, 2024
2 parents 6f03713 + e418e09 commit d757162
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion instat/frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Public Class frmMain
'--------------------------------------
CreateAdditionalLibraryDirectory()
'-------------------------------------

SetAppVersionNumber()
isMaximised = True 'Need to get the windowstate when the application is loaded
End Sub

Expand Down Expand Up @@ -589,6 +589,12 @@ Public Class frmMain
mnuTbLan.Visible = bVisible
End Sub

Public Sub SetAppVersionNumber()
Me.Text = "R-Instat " & My.Application.Info.Version.Major.ToString() & "." &
My.Application.Info.Version.Minor.ToString() & "." &
My.Application.Info.Version.Build.ToString()
End Sub

Private Sub SetMainMenusEnabled(bEnabled As Boolean)
mnuFile.Enabled = bEnabled
mnuEdit.Enabled = bEnabled
Expand Down

0 comments on commit d757162

Please sign in to comment.