Winify
/trunk/Winify/AboutForm.cs/AboutForm.cs |
@@ -1,9 +1,24 @@ |
using System.Windows.Forms; |
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() |
@@ -11,6 +26,22 @@ |
InitializeComponent(); |
} |
|
/// <summary> |
/// Clean up any resources being used. |
/// </summary> |
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
protected override void Dispose(bool disposing) |
{ |
if (disposing && components != null) |
{ |
components.Dispose(); |
} |
|
Shown -= AboutForm_Shown; |
|
base.Dispose(disposing); |
} |
|
#endregion |
} |
} |