Skip to content

Commit

Permalink
Fixed issue #13 , other minor changes
Browse files Browse the repository at this point in the history
Fixed issue #13 with an ellipsis and a tooltip
Added the PRERELEASE constant for identifying pre-release versions
Minor UI enhancements
  • Loading branch information
daviunic committed Oct 18, 2018
1 parent 4b010c1 commit 2b8768b
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 18 deletions.
1 change: 1 addition & 0 deletions 86BoxManager/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace _86boxManager
{
static class Program
{
public const bool PRERELEASE = false; //Is this a pre-release version?
/// <summary>
/// The main entry point for the application.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions 86BoxManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
5 changes: 4 additions & 1 deletion 86BoxManager/dlgAbout.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Reflection;
using System.Windows.Forms;

namespace _86boxManager
Expand Down Expand Up @@ -32,6 +31,10 @@ private void lnkGuthub2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
private void dlgAbout_Load(object sender, EventArgs e)
{
lblVersion1.Text = Application.ProductVersion.ToString().TrimEnd('.', '0');
if (Program.PRERELEASE)
{
lblVersion1.Text += " Pre-release";
}
}
}
}
22 changes: 15 additions & 7 deletions 86BoxManager/dlgAddVM.Designer.cs

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

1 change: 1 addition & 0 deletions 86BoxManager/dlgAddVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ private void txtName_TextChanged(object sender, EventArgs e)
{
btnAdd.Enabled = true;
lblPath1.Text = main.cfgpath + txtName.Text;
tipLblPath1.SetToolTip(lblPath1, main.cfgpath + txtName.Text);
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions 86BoxManager/dlgAddVM.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tipLblPath1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
24 changes: 16 additions & 8 deletions 86BoxManager/dlgEditVM.Designer.cs

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

1 change: 1 addition & 0 deletions 86BoxManager/dlgEditVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ private void txtName_TextChanged(object sender, EventArgs e)
{
btnApply.Enabled = true;
lblPath1.Text = main.cfgpath + txtName.Text;
tipLblPath1.SetToolTip(lblPath1, main.cfgpath + txtName.Text);
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions 86BoxManager/dlgEditVM.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tipLblPath1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

0 comments on commit 2b8768b

Please sign in to comment.