Horizon – Blame information for rev 8

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2 using System.Threading;
3 using System.Windows.Forms;
4  
5 namespace Horizon
6 {
7 public partial class AboutForm : Form
8 {
9 #region Event Handlers
10  
11 private void AboutForm_Shown(object sender, EventArgs e)
12 {
13 VersionTextBox.Text = $"{Constants.AssemblyName} v.{Constants.AssemblyVersion}";
14 }
15  
16 #endregion
17  
18 #region Constructors, Destructors and Finalizers
19  
20 public AboutForm()
21 {
22 InitializeComponent();
23 }
24  
25 public AboutForm(CancellationToken cancellationToken) : this()
26 {
27 Shown += AboutForm_Shown;
28 }
29  
30 /// <summary>
31 /// Clean up any resources being used.
32 /// </summary>
33 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
34 protected override void Dispose(bool disposing)
35 {
36 if (disposing && components != null)
37 {
38 components.Dispose();
39 }
40  
41 Shown -= AboutForm_Shown;
42  
43 base.Dispose(disposing);
44 }
45  
46 #endregion
8 office 47  
48 private void AboutForm_Load(object sender, EventArgs e)
49 {
50 Utilities.WindowState.FormTracker.Track(this);
51 }
1 office 52 }
53 }