Skip to content

Commit

Permalink
added Help and About menu, small refinements per SARA/LAN comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDudaRESPEC committed May 12, 2017
1 parent ccfc8b8 commit e39d6fc
Show file tree
Hide file tree
Showing 9 changed files with 311 additions and 12 deletions.
9 changes: 9 additions & 0 deletions HSPFSimulationManager/HSPFSimulationManager15.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
<Compile Include="ctlSchematic.vb">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="frmAbout.designer.vb">
<DependentUpon>frmAbout.vb</DependentUpon>
</Compile>
<Compile Include="frmAbout.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmHspfSimulationManager.vb">
<SubType>Form</SubType>
</Compile>
Expand Down Expand Up @@ -139,6 +145,9 @@
<EmbeddedResource Include="ctlSchematic.resx">
<DependentUpon>ctlSchematic.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmAbout.resx">
<DependentUpon>frmAbout.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmHspfSimulationManager.resx">
<DependentUpon>frmHspfSimulationManager.vb</DependentUpon>
</EmbeddedResource>
Expand Down
Binary file added HSPFSimulationManager/Resources/SARA.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 96 additions & 0 deletions HSPFSimulationManager/frmAbout.designer.vb

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

143 changes: 143 additions & 0 deletions HSPFSimulationManager/frmAbout.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="txtDisclaimer.Text" xml:space="preserve">
<value>The suite of Water Quality (WQ) Modeling Tools developed by the San Antonio River Authority (SARA) includes the WQ Modeling Standards, The Timeseries Utility Tool (TUT), The Load Reduction Tool (LRT), The Enhanced Best Management Practices (BMP) Tool and associated BMP Tool Database, the Simulation Manager, and the BMP Processor/Reporter Tool. These tools are provided as a courtesy by the San Antonio River Authority, in order to help SARA stakeholders and the general communities better evaluate WQ conditions and select/evaluate BMPs and Low Impact Development (LID). The San Antonio River Authority does not represent or warrant that these tools are appropriate or will work properly for any specific project. Use of the SARA Tools is at your own risk, and you agree that you will hold SARA and its tool development consultant team harmless from any losses you suffer related to the use of the SARA Tools. Any modification or reuse of the SARA WQ Modeling Tools will require prior written permission from SARA. </value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAABMLAAATCwAAAAAAAAAA
AAD////////////+/v3////////////////////////////////////////////////////////////k
0sjgzMH////////////////////////////awrXx6OT////////////////////o2tKeYD7Lqpj7+ff/
///////////t4ty1hWyxf2T////////////////////////////DnYjMq5m4inHq3db////Vu6y/ln/L
qZfTt6j////////////////////////////QsqHhzsP59fO3inS3iXHAmof////Or57eyL3/////////
///////////////////m1s3JppX////59vPr39n////9/Puxg2/38vD/////////////////////////
///69/a3jHj69vH//fv9+fb/9eL36NLz6eL////////////////////////////z7Oi5jXbVu6z//v37
7NT24L3u0Kvw06n65cH++fH////////////////////t4drEn4rq3Nb////////56s/v1rTszJ/ry5ns
zpvszZn58OD////////////Mq5qbWzjPsJ/p29PRtaro18v68t7uzYLlumHgr0fhtFLfr0Dgr0Hu1Jv+
/fn69/bStKTcxrrbxLfStKTcxbivgnns39L9+Ovu1JfsynTy3KT89+z+/fnz4LX579n/////////////
///////////awrTMraH////dx7r8+vj////////////////////////////////////////////28O3N
rZvk1M7EoJD////////////////////////////////////////////////////TuKiteFvj0cf/////
///////////////////////////////////////////////gzMGgY0H/////////////////////////
///////////////////////////////28e7eyL3///////////////////////////8AAP//AAD//wAA
//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//
</value>
</data>
</root>
6 changes: 6 additions & 0 deletions HSPFSimulationManager/frmAbout.vb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Public Class frmAbout

'Private Sub UpdateLink_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles UpdateLink.LinkClicked
' atcUtility.OpenFile("http://aquaterra.com/TimeseriesUtility/")
'End Sub
End Class
Loading

0 comments on commit e39d6fc

Please sign in to comment.