RegName – Blame information for rev 2

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using NetSparkleUpdater;
2 using RegName;
3 using System;
4 using System.Threading;
5 using System.Windows.Forms;
6  
7 namespace RegName
8 {
9 public partial class AboutForm : Form
10 {
11 #region Event Handlers
12  
13 private void AboutForm_Shown(object sender, EventArgs e)
14 {
15 VersionTextBox.Text = $"{Constants.AssemblyName} v.{Constants.AssemblyVersion}";
16 }
17  
18 #endregion
19  
20 #region Constructors, Destructors and Finalizers
21  
22 public AboutForm()
23 {
24 InitializeComponent();
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  
2 office 48 private void AboutForm_Load(object sender, EventArgs e)
49 {
50 Utilities.WindowState.FormTracker.Track(this);
51 }
52  
1 office 53 #endregion
54 }
55 }