/* frmAbout.cs $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ namespace Handbrake { using System; using System.Reflection; using System.Windows.Forms; /// /// The About Window /// public partial class frmAbout : Form { /// /// Initializes a new instance of the class. /// public frmAbout() { InitializeComponent(); lbl_HBBuild.Text = "CLI Build: " + Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") - " + Properties.Settings.Default.hb_platform; Version gui = Assembly.GetExecutingAssembly().GetName().Version; Version appServices = HandBrake.ApplicationServices.Init.AssemblyVersion(); lbl_GUIBuild.Text = gui.ToString(4) + " (Services: " + appServices.ToString(4) + ")"; } /// /// Button - Close the window /// /// /// The sender. /// /// /// The e. /// private void btn_close_Click(object sender, EventArgs e) { this.Close(); } } }