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