Skip to content

Commit

Permalink
Work on issue #21
Browse files Browse the repository at this point in the history
Add new form/button for PE and SR Obs tool
  • Loading branch information
lbross committed Oct 29, 2015
1 parent ac748ef commit cf27402
Show file tree
Hide file tree
Showing 8 changed files with 481 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/BAGIS_P/BAGIS_P.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
<Compile Include="Buttons\BtnDataManager.vb" />
<Compile Include="Buttons\BtnLocalDataManager.vb" />
<Compile Include="Buttons\BtnParameterViewer.vb" />
<Compile Include="Buttons\BtnPEandSRObs.vb" />
<Compile Include="Buttons\BtnPublicMethodEditor.vb" />
<Compile Include="Buttons\BtnPublicProfileBuilder.vb" />
<Compile Include="Buttons\BtnModel.vb" />
Expand Down Expand Up @@ -237,6 +238,12 @@
<Compile Include="Forms\FrmParameterViewer.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FrmPEandSRObs.Designer.vb">
<DependentUpon>FrmPEandSRObs.vb</DependentUpon>
</Compile>
<Compile Include="Forms\FrmPEandSRObs.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FrmProfilePassword.Designer.vb">
<DependentUpon>FrmProfilePassword.vb</DependentUpon>
</Compile>
Expand Down Expand Up @@ -379,6 +386,9 @@
<DependentUpon>FrmParameterViewer.vb</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FrmPEandSRObs.resx">
<DependentUpon>FrmPEandSRObs.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FrmProfilePassword.resx">
<DependentUpon>FrmProfilePassword.vb</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -560,6 +570,7 @@
<SubType>Designer</SubType>
</Content>
<AddInContent Include="Images\BtnParameterDescription.png" />
<AddInContent Include="Images\BtnPEandSRObs.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BAGIS_ClassLibrary\BAGIS_ClassLibrary.vbproj">
Expand Down
16 changes: 16 additions & 0 deletions src/BAGIS_P/Buttons/BtnPEandSRObs.vb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Public Class BtnPEandSRObs
Inherits ESRI.ArcGIS.Desktop.AddIns.Button

Public Sub New()

End Sub

Protected Overrides Sub OnClick()
Dim frmPESRObs As FrmPEandSRObs = New FrmPEandSRObs()
frmPESRObs.ShowDialog()
End Sub

Protected Overrides Sub OnUpdate()

End Sub
End Class
Binary file modified src/BAGIS_P/Config.Designer.vb
Binary file not shown.
4 changes: 3 additions & 1 deletion src/BAGIS_P/Config.esriaddinx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Image>Images\BAGIS_P.png</Image>
<Author>Lesley Bross and Geoffrey Duh</Author>
<Company>Portland State University</Company>
<Date>10/20/2015</Date>
<Date>10/29/2015</Date>
<Targets>
<Target name="Desktop" version="10.0" />
</Targets>
Expand Down Expand Up @@ -34,6 +34,7 @@
<Tool id="Portland_State_University_BAGIS_P_IdentifyTool" class="IdentifyTool" message="Add-in command generated by Visual Studio project wizard." caption="Identify Tool" tip="Identify Tool" category="BAGIS-P" image="Images\IdentifyTool.png" />
<!-- No longer used as of 7-AUG-2015 <Button id="Portland_State_University_BAGIS_P_BtnExportToAscii" class="BtnExportToAscii" message="Export To Ascii" caption="Export To Ascii" tip="Export To Ascii" category="BAGIS-P" /> -->
<Button id="Portland_State_University_BAGIS_P_BtnParameterDescription" class="BtnParameterDescription" message="Parameter Descriptions (Web)" caption="Parameter Descriptions (Web)" tip="Parameter Descriptions (Web)" category="BAGIS-P" />
<Button id="Portland_State_University_BAGIS_P_BtnPEandSRObs" class="BtnPEandSRObs" message="Calculate PE and SR Obs parameters" caption="PE_Obs and SR_Obs Tool" tip="Calculate PE and SR Obs parameters" category="BAGIS-P" />
</Commands>
<Toolbars>
<Toolbar id="Portland_State_University_BAGIS_P_BAGIS-P" caption="BAGIS-P" showInitially="true">
Expand Down Expand Up @@ -68,6 +69,7 @@
<Button refID="Portland_State_University_BAGIS_P_BtnLocalDataManager" />
<Button refID="Portland_State_University_BAGIS_P_BtnSubAOIIdTool" separator="true" />
<Button refID="Portland_State_University_BAGIS_P_BtnTimberlineTool" />
<Button refID="Portland_State_University_BAGIS_P_BtnPEandSRObs" />
</Items>
</Menu>
</Menus>
Expand Down
205 changes: 205 additions & 0 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.

Loading

0 comments on commit cf27402

Please sign in to comment.