Spring – Blame information for rev 2

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