Skip to content

Commit

Permalink
VersionINFO fix in About window
Browse files Browse the repository at this point in the history
  • Loading branch information
imshawan committed Aug 20, 2021
1 parent 5584a45 commit 49a62b4
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 40 deletions.
Binary file modified .vs/SYSInfo Monitor/v16/.suo
Binary file not shown.
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\SYSInfo Monitor.sln",
"PreviewInSolutionExplorer": true
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
4 changes: 2 additions & 2 deletions SYSInfo Monitor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// 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.3.3.0")]
[assembly: AssemblyFileVersion("1.3.3.0")]
[assembly: AssemblyVersion("1.3.4.0")]
[assembly: AssemblyFileVersion("1.3.4.0")]
[assembly: NeutralResourcesLanguage("en")]
86 changes: 48 additions & 38 deletions SYSInfo Monitor/UIForms/About.Designer.cs

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

7 changes: 7 additions & 0 deletions SYSInfo Monitor/UIForms/About.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
Expand Down Expand Up @@ -47,5 +48,11 @@ private void button2_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/imshawan/SYSInfoMonitor/blob/main/docs/gpl-3.0-LICENSE.md");
}

private void About_Load(object sender, EventArgs e)
{
Version version = Assembly.GetExecutingAssembly().GetName().Version;
label2.Text = $"Version {version.ToString()}";
}
}
}

0 comments on commit 49a62b4

Please sign in to comment.