mirror of
https://github.com/EpicMorg/SourceSDK.ENV.Editor.git
synced 2025-07-01 22:39:27 +03:00
improve aboute box
This commit is contained in:
parent
9df7d39eaf
commit
22ac8e9af3
@ -1,5 +1,6 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using DarkUI.Forms;
|
||||||
using Octokit;
|
using Octokit;
|
||||||
|
|
||||||
namespace SourceSDK.ENV.Editor.UI
|
namespace SourceSDK.ENV.Editor.UI
|
||||||
@ -36,17 +37,17 @@ namespace SourceSDK.ENV.Editor.UI
|
|||||||
int versionComparison = localVersion.CompareTo(latestGitHubVersion);
|
int versionComparison = localVersion.CompareTo(latestGitHubVersion);
|
||||||
if (versionComparison < 0)
|
if (versionComparison < 0)
|
||||||
{
|
{
|
||||||
MessageBox.Show("The version on GitHub is more up to date than this local release.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
DarkUI.Forms.DarkMessageBox.ShowInformation("The version on GitHub is more up to date than this local release.", "Information", DarkDialogButton.Ok);
|
||||||
//The version on GitHub is more up to date than this local release.
|
//The version on GitHub is more up to date than this local release.
|
||||||
}
|
}
|
||||||
else if (versionComparison > 0)
|
else if (versionComparison > 0)
|
||||||
{
|
{
|
||||||
MessageBox.Show("This local version is greater than the release version on GitHub.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
DarkUI.Forms.DarkMessageBox.ShowInformation("This local version is greater than the release version on GitHub.", "Information", DarkDialogButton.Ok);
|
||||||
//This local version is greater than the release version on GitHub.
|
//This local version is greater than the release version on GitHub.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MessageBox.Show("This local Version and the Version on GitHub are equal.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
DarkUI.Forms.DarkMessageBox.ShowInformation("This local Version and the Version on GitHub are equal.", "Information", DarkDialogButton.Ok);
|
||||||
//This local Version and the Version on GitHub are equal.
|
//This local Version and the Version on GitHub are equal.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user