AA2Install.formAbout.formAbout C# (CSharp) Method

formAbout() public method

public formAbout ( ) : System
return System
        public formAbout()
        {
            InitializeComponent();
            this.Text = String.Format("{0} v{1}", AssemblyTitle, AssemblyVersion);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format("Version {0}", Assembly.GetExecutingAssembly().GetName().Version.ToString());
            this.labelCopyright.Text = AssemblyDescription;
            this.labelCompanyName.Text = AssemblyCompany;
            using (StreamReader sr = new StreamReader(Assembly.GetExecutingAssembly().GetManifestResourceStream("AA2Install.Changelog.txt")))
                this.textBoxDescription.Text = sr.ReadToEnd();
            //this.textBoxDescription.Text = AssemblyDescription;
        }