Winify – Blame information for rev 53
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
48 | office | 1 | using System; |
2 | using System.Threading; |
||
3 | using System.Windows.Forms; |
||
1 | office | 4 | |
5 | namespace Winify |
||
6 | { |
||
7 | public partial class AboutForm : Form |
||
8 | { |
||
48 | office | 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 | |||
1 | office | 18 | #region Constructors, Destructors and Finalizers |
19 | |||
20 | public AboutForm() |
||
21 | { |
||
22 | InitializeComponent(); |
||
44 | office | 23 | Utilities.WindowState.FormTracker.Track(this); |
1 | office | 24 | } |
25 | |||
48 | office | 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 | { |
||
37 | if (disposing && components != null) |
||
38 | { |
||
39 | components.Dispose(); |
||
40 | } |
||
41 | |||
42 | Shown -= AboutForm_Shown; |
||
43 | |||
44 | base.Dispose(disposing); |
||
45 | } |
||
46 | |||
1 | office | 47 | #endregion |
48 | } |
||
49 | } |