Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#9245 from derekagorhom/ToolBar_…
Browse files Browse the repository at this point in the history
…DesignChanges

Added a drop down and implemented the file option to the Help menu Icon
  • Loading branch information
N-thony authored Nov 14, 2024
2 parents f61dc68 + 76523ad commit 301b507
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 21 deletions.
88 changes: 72 additions & 16 deletions instat/frmMain.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 18 additions & 5 deletions instat/frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Public Class frmMain
mnuDataFrameMetadat.Checked = False
mnuSwapDataLogScript.Checked = False
mnuSwapDataMetadata.Checked = False
mnuTbDataView.Checked = True
mnuDataViewWindow.Checked = True
mnuOutputWindow.Checked = True
mnuLogScript.Checked = False
UpdateLayout()
Expand Down Expand Up @@ -364,7 +364,7 @@ Public Class frmMain
MsgBox(ex.Message)
End Try

mnuTbDataView.Checked = mnuViewDataView.Checked
mnuDataViewWindow.Checked = mnuViewDataView.Checked
mnuOutputWindow.Checked = mnuViewOutput.Checked
mnuLogScript.Checked = mnuViewLogScript.Checked
End Sub
Expand Down Expand Up @@ -852,13 +852,25 @@ Public Class frmMain
End Sub

Private Sub mnuHelpHelp_Click(sender As Object, e As EventArgs)
Help.ShowHelp(Me, strStaticPath & "\" & strHelpFilePath, HelpNavigator.TableOfContents, "")
Help.ShowHelp(Me, strStaticPath & "\" & strHelpFilePath, HelpNavigator.TopicId, "135")
End Sub

Private Sub mnuTbHelp_Click(sender As Object, e As EventArgs) Handles mnuTbHelp.Click
Private Sub mnuTbHelp_Click(sender As Object, e As EventArgs) Handles mnuTbHelp.ButtonClick, mnuToolBarHelp.Click
mnuHelpHelp_Click(sender, e)
End Sub

Private Sub mnuDataWindowHelp_Click(sender As Object, e As EventArgs) Handles mnuDataWindowHelp.Click
Help.ShowHelp(Me, strStaticPath & "\" & strHelpFilePath, HelpNavigator.TopicId, "134")
End Sub

Private Sub mnuOutputHelp_Click(sender As Object, e As EventArgs) Handles mnuOutputHelp.Click
Help.ShowHelp(Me, strStaticPath & "\" & strHelpFilePath, HelpNavigator.TopicId, "540")
End Sub

Private Sub mnuLogScriptHelp_Click(sender As Object, e As EventArgs) Handles mnuLogScriptHelp.Click
Help.ShowHelp(Me, strStaticPath & "\" & strHelpFilePath, HelpNavigator.TopicId, "542")
End Sub

Private Sub mnuPrepareFactorRecode_Click(sender As Object, e As EventArgs) Handles mnuPrepareColumnFactorRecodeFactor.Click
dlgRecodeFactor.ShowDialog()
End Sub
Expand Down Expand Up @@ -1820,8 +1832,9 @@ Public Class frmMain
dlgInfill.ShowDialog()
End Sub

Private Sub mnuDataView_Click(sender As Object, e As EventArgs) Handles mnuTbDataView.Click
Private Sub mnuDataView_Click(sender As Object, e As EventArgs) Handles mnuTbDataView.ButtonClick, mnuDataViewWindow.Click
mnuViewDataView.Checked = Not mnuViewDataView.Checked
mnuDataViewWindow.Checked = mnuViewDataView.Checked
UpdateLayout()
End Sub

Expand Down

0 comments on commit 301b507

Please sign in to comment.