Spring – Blame information for rev 1
?pathlinks?
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 |
||
11 | |||
12 | private void AboutForm_Shown(object sender, EventArgs e) |
||
13 | { |
||
14 | VersionTextBox.Text = $"{Constants.AssemblyName} v.{Constants.AssemblyVersion}"; |
||
15 | } |
||
16 | |||
17 | #endregion |
||
18 | |||
19 | #region Constructors, Destructors and Finalizers |
||
20 | |||
21 | public AboutForm() |
||
22 | { |
||
23 | InitializeComponent(); |
||
24 | Utilities.WindowState.FormTracker.Track(this); |
||
25 | } |
||
26 | |||
27 | public AboutForm(CancellationToken cancellationToken) : this() |
||
28 | { |
||
29 | Shown += AboutForm_Shown; |
||
30 | } |
||
31 | |||
32 | /// <summary> |
||
33 | /// Clean up any resources being used. |
||
34 | /// </summary> |
||
35 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
||
36 | protected override void Dispose(bool disposing) |
||
37 | { |
||
38 | if (disposing && components != null) |
||
39 | { |
||
40 | components.Dispose(); |
||
41 | } |
||
42 | |||
43 | Shown -= AboutForm_Shown; |
||
44 | |||
45 | base.Dispose(disposing); |
||
46 | } |
||
47 | |||
48 | #endregion |
||
49 | } |
||
50 | } |