Skip to content

Commit

Permalink
Something's changed anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
NotYoojun committed Jul 31, 2024
1 parent 8b0d7b9 commit 315128c
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 276 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.user
*.userosscache
*.sln.docstates
.vs/

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand Down
113 changes: 69 additions & 44 deletions source/Symlinker/FormMain.Designer.cs

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

39 changes: 11 additions & 28 deletions source/Symlinker/FormMain.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
namespace Symlinker
{
using System;
using System.Deployment.Application;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

using Symlinker.Properties;

using Symlinker.Properties;
namespace Symlinker
{

/// <summary>
/// This class manages the window
Expand Down Expand Up @@ -300,23 +300,6 @@ private void CreateLinkClick(object sender, EventArgs e)

private void HelpImageClick(object sender, EventArgs e)
{
string version;
try
{
version = ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();
}
catch
{
var assembly = Assembly.GetExecutingAssembly();
var fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
version = fvi.FileVersion;
}

MessageBox.Show(
string.Format(CultureInfo.CurrentCulture, Resources.AboutDescription, version),
Resources.MessageBoxAboutTitle,
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
#endregion

Expand Down
Loading

0 comments on commit 315128c

Please sign in to comment.