RegName – Diff between revs 1 and 2

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