Form1 renamed. Added build date.

This commit is contained in:
slothdpal committed 2026-09-21 13:09:59 +03:00
1 parent b56aef29d7
commit fbf6f15866
9 files changed
+74 -62

No files matched your search

+3 -1
View File
@@ -14,9 +14,11 @@ namespace RelaunchProcess
public AboutBox()
{
InitializeComponent();
var buildDate = Assembly.GetExecutingAssembly().GetCustomAttributes<AssemblyMetadataAttribute>()
.FirstOrDefault(a => a.Key == "BuildDate")?.Value;
this.Text = String.Format("О программе {0}", AssemblyTitle);
this.labelProductName.Text = AssemblyProduct;
this.labelVersion.Text = String.Format("Версия {0}", AssemblyVersion);
this.labelVersion.Text = String.Format("Версия {0} (сборка от {1})", AssemblyVersion, buildDate);
this.labelCopyright.Text = AssemblyCopyright;
this.labelCompanyName.Text = AssemblyCompany;
this.textBoxDescription.Text = AssemblyDescription;