Skip to content

Commit

Permalink
Continue work on issue #21
Browse files Browse the repository at this point in the history
Implement help screen
  • Loading branch information
lbross committed Nov 12, 2015
1 parent 4cf4eb3 commit a0f473f
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 45 deletions.
1 change: 1 addition & 0 deletions src/BAGIS_ClassLibrary/enumerations/BA_HelpTopics.vb
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ Public Enum BA_HelpTopics
ReclassZones
TimberlineTool
SequentialId
PeAndObsTool
End Enum
81 changes: 44 additions & 37 deletions src/BAGIS_P/Forms/FrmPEandSRObs.Designer.vb

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

9 changes: 7 additions & 2 deletions src/BAGIS_P/Forms/FrmPEandSRObs.vb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Public Class FrmPEandSRObs
Else
m_aoiParamTable.Add(BA_Aoi_Parameter_SR_Obs, newParameter)
End If
TxtSrDate.Text = newParameter.DateUpdated.ToString("MM/dd/yy")
TxtSrDate.Text = newParameter.DateUpdated.ToString("MM/dd/yyyy")
If newParameter.ValuesList IsNot Nothing Then
TxtSrValue.Text = newParameter.ValuesList(0)
End If
Expand Down Expand Up @@ -240,7 +240,7 @@ Public Class FrmPEandSRObs
If m_aoiParamTable.ContainsKey(BA_Aoi_Parameter_SR_Obs) Then
Dim srObsParam As AoiParameter = m_aoiParamTable(BA_Aoi_Parameter_SR_Obs)
If srObsParam IsNot Nothing Then
TxtSrDate.Text = srObsParam.DateUpdated.ToString("MM/dd/yy")
TxtSrDate.Text = srObsParam.DateUpdated.ToString("MM/dd/yyyy")
If srObsParam.ValuesList IsNot Nothing Then
TxtSrValue.Text = srObsParam.ValuesList(0)
End If
Expand Down Expand Up @@ -321,4 +321,9 @@ Public Class FrmPEandSRObs
Dim settingsPath As String = BA_GetLocalSettingsPath(TxtAoiPath.Text)
Return BA_SaveAOIParameters(srcList, settingsPath)
End Function

Private Sub BtnAbout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnAbout.Click
Dim toolHelpForm As FrmHelp = New FrmHelp(BA_HelpTopics.PeAndObsTool)
toolHelpForm.ShowDialog()
End Sub
End Class
8 changes: 4 additions & 4 deletions src/BAGIS_P/Help/FrmHelp.Designer.vb

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

4 changes: 2 additions & 2 deletions src/BAGIS_P/Help/FrmHelp.resx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
Loading

0 comments on commit a0f473f

Please sign in to comment.