/* 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.Windows.Forms; using HandBrake.ApplicationServices; using HandBrake.ApplicationServices.Services; using HandBrake.ApplicationServices.Services.Interfaces; /// /// The About Window /// public partial class frmAbout : Form { IUserSettingService userSettingService = new UserSettingService(); /// /// Initializes a new instance of the class. /// public frmAbout() { InitializeComponent(); string nightly = userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeVersion).Contains("svn") ? " (SVN / Nightly Build)" : string.Empty; lbl_GUIBuild.Text = userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeVersion) + " (" + userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeBuild) + ") " + nightly; } /// /// Button - Close the window /// /// /// The sender. /// /// /// The e. /// private void btn_close_Click(object sender, EventArgs e) { this.Close(); } } }