Skip to content

Commit

Permalink
Rechner für Filtergeschwindigkeit ergänzt [ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Elias Ruemmler committed Jul 5, 2019
1 parent cbf04fa commit e2b8dee
Show file tree
Hide file tree
Showing 16 changed files with 590 additions and 6 deletions.
3 changes: 3 additions & 0 deletions FlowCalc/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
<setting name="CalcVolume" serializeAs="String">
<value>0</value>
</setting>
<setting name="FilterDiameter" serializeAs="String">
<value>0</value>
</setting>
</FlowCalc.Properties.Settings>
</userSettings>
</configuration>
4 changes: 4 additions & 0 deletions FlowCalc/ChartView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ public string WindowTitle
{
get
{
#if DEBUG
return typeof(MainView).Assembly.GetName().Name + " [DEBUG]";
#else
var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);
return string.Concat(typeof(MainView).Assembly.GetName().Name, " ", versionInfo.ProductVersion);
#endif
}
}

Expand Down
6 changes: 5 additions & 1 deletion FlowCalc/CirculationCalcView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,20 @@ public string WindowTitle
{
get
{
#if DEBUG
return typeof(MainView).Assembly.GetName().Name;
#else
var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);
return string.Concat(typeof(MainView).Assembly.GetName().Name, " ", versionInfo.ProductVersion);
#endif
}
}

public CirculationCalcView()
{
InitializeComponent();

this.Text = WindowTitle; //Title
this.Text = WindowTitle + " - Umwälzleistung"; //Title
this.Icon = Properties.Resources.iconfinder_100_Pressure_Reading_183415;

cmb_FlowRateUnit.ValueMember = nameof(DisplayUnit.DisplayName);
Expand Down
225 changes: 225 additions & 0 deletions FlowCalc/FilterSpeedCalcView.Designer.cs

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

0 comments on commit e2b8dee

Please sign in to comment.