using System; using System.Windows.Forms; namespace Winify { public partial class AboutForm : Form { #region Event Handlers private void AboutForm_Shown(object sender, EventArgs e) { VersionTextBox.Text = $"{Constants.AssemblyName} v.{Constants.AssemblyVersion}"; } private void AboutForm_Load(object sender, EventArgs e) { Utilities.WindowState.FormTracker.Track(this); } #endregion #region Constructors, Destructors and Finalizers public AboutForm() { InitializeComponent(); } /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && components != null) { components.Dispose(); } Shown -= AboutForm_Shown; base.Dispose(disposing); } #endregion } }