public AboutBox1() { InitializeComponent(); string product = AssemblyHelper.AssemblyProduct(Assembly.GetExecutingAssembly()); this.Text = String.Format("About {0}", product); this.labelProductName.Text = product; this.labelVersion.Text = String.Format("Version {0}", AssemblyHelper.AssemblyVersion(Assembly.GetExecutingAssembly())); this.labelCopyright.Text = AssemblyHelper.AssemblyCopyright(Assembly.GetExecutingAssembly()); this.labelCompanyName.Text = AssemblyHelper.AssemblyCompany(Assembly.GetExecutingAssembly()); ResourceManager rm = new ResourceManager("ChunkFSgui.StringResources", Assembly.GetExecutingAssembly()); this.textBoxDescription.Text = rm.GetString("Notice") + rm.GetString("Included"); //AssemblyDescription; }
public MainWindow() { InitializeComponent(); Title = string.Format("Quota converter v{0}", AssemblyHelper.AssemblyVersion(WhichAssembly.ThisAssembly)); }