Version # is not displayed on the 'About' tab
This commit is contained in:
@@ -54,6 +54,7 @@ namespace EveOPreview.UI
|
||||
{
|
||||
this.LoadApplicationSettings();
|
||||
this.View.SetForumUrl(MainPresenter.ForumUrl);
|
||||
this.View.SetVersionInfo(this.GetApplicationVersion());
|
||||
if (this._configuration.MinimizeToTray)
|
||||
{
|
||||
this.View.Minimize();
|
||||
@@ -222,6 +223,12 @@ namespace EveOPreview.UI
|
||||
Process.Start(processStartInfo);
|
||||
}
|
||||
|
||||
private string GetApplicationVersion()
|
||||
{
|
||||
Version version = System.Reflection.Assembly.GetEntryAssembly().GetName().Version;
|
||||
return String.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Revision);
|
||||
}
|
||||
|
||||
private void ExitApplication()
|
||||
{
|
||||
this._exitApplication = true;
|
||||
|
||||
Reference in New Issue
Block a user