mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-14 09:58:53 -05:00
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using FeedCenter.Update;
|
|
using System.Reflection;
|
|
|
|
namespace FeedCenter.Options
|
|
{
|
|
public partial class AboutOptionsPanel
|
|
{
|
|
public AboutOptionsPanel()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public override void LoadPanel(FeedCenterEntities database)
|
|
{
|
|
base.LoadPanel(database);
|
|
|
|
applicationNameLabel.Text = Properties.Resources.ApplicationDisplayName;
|
|
|
|
string version = UpdateCheck.CurrentVersion.ToString();
|
|
versionLabel.Text = string.Format(Properties.Resources.Version, version);
|
|
|
|
companyLabel.Text = ((AssemblyCompanyAttribute) Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company;
|
|
}
|
|
|
|
public override bool ValidatePanel()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public override void SavePanel()
|
|
{
|
|
}
|
|
|
|
public override string CategoryName
|
|
{
|
|
get { return Properties.Resources.optionCategoryAbout; }
|
|
}
|
|
}
|
|
}
|