mirror of
https://github.com/ckaczor/ProcessCpuUsageStatusWindow.git
synced 2026-01-14 01:25:41 -05:00
37 lines
993 B
C#
37 lines
993 B
C#
using Common.Update;
|
|
using System.Reflection;
|
|
|
|
namespace ProcessCpuUsageStatusWindow.Options
|
|
{
|
|
public partial class AboutOptionsPanel
|
|
{
|
|
public AboutOptionsPanel()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public override void LoadPanel(object data)
|
|
{
|
|
base.LoadPanel(data);
|
|
|
|
ApplicationNameLabel.Text = Properties.Resources.ApplicationName;
|
|
|
|
var version = UpdateCheck.LocalVersion.ToString();
|
|
VersionLabel.Text = string.Format(Properties.Resources.About_Version, version);
|
|
|
|
CompanyLabel.Text = ((AssemblyCompanyAttribute)Assembly.GetEntryAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company;
|
|
}
|
|
|
|
public override bool ValidatePanel()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public override void SavePanel()
|
|
{
|
|
}
|
|
|
|
public override string CategoryName => Properties.Resources.OptionCategory_About;
|
|
}
|
|
}
|