HamBook – Blame information for rev 54
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System; |
2 | using System.Threading; |
||
3 | using System.Windows.Forms; |
||
4 | |||
5 | namespace HamBook |
||
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 | { |
||
53 | office | 22 | InitializeComponent(); |
23 | Utilities.WindowState.FormTracker.Track(this); |
||
1 | office | 24 | } |
25 | |||
26 | public AboutForm(CancellationToken cancellationToken) : this() |
||
27 | { |
||
28 | Shown += AboutForm_Shown; |
||
29 | } |
||
30 | |||
31 | /// <summary> |
||
32 | /// Clean up any resources being used. |
||
33 | /// </summary> |
||
34 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
||
35 | protected override void Dispose(bool disposing) |
||
36 | { |
||
54 | office | 37 | if (disposing && components != null) components.Dispose(); |
1 | office | 38 | |
39 | Shown -= AboutForm_Shown; |
||
40 | |||
41 | base.Dispose(disposing); |
||
42 | } |
||
43 | |||
44 | #endregion |
||
45 | } |
||
46 | } |