Winify – Diff between revs 44 and 48

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 44 Rev 48
Line -... Line 1...
-   1 using System;
-   2 using System.Threading;
1 using System.Windows.Forms; 3 using System.Windows.Forms;
Line 2... Line 4...
2   4  
3 namespace Winify 5 namespace Winify
4 { 6 {
5 public partial class AboutForm : Form 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
6 { 17  
Line 7... Line 18...
7 #region Constructors, Destructors and Finalizers 18 #region Constructors, Destructors and Finalizers
8   19  
9 public AboutForm() 20 public AboutForm()
10 { -  
11 InitializeComponent(); 21 {
12   22 InitializeComponent();
Line -... Line 23...
-   23 Utilities.WindowState.FormTracker.Track(this);
-   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 {
-   37 if (disposing && components != null)
-   38 {
-   39 components.Dispose();
-   40 }
-   41  
-   42 Shown -= AboutForm_Shown;
-   43  
13 Utilities.WindowState.FormTracker.Track(this); 44 base.Dispose(disposing);
14 } 45 }
15   46  
16 #endregion 47 #endregion