Make build info show on configurator dialog
This commit is contained in:
parent
5afe726aeb
commit
9e0a9caa26
|
@ -74,6 +74,7 @@ namespace FireflyConfig
|
||||||
private System.Windows.Forms.TabPage ConfigPage;
|
private System.Windows.Forms.TabPage ConfigPage;
|
||||||
private System.Windows.Forms.TabPage LogPage;
|
private System.Windows.Forms.TabPage LogPage;
|
||||||
private System.Windows.Forms.TextBox logBox;
|
private System.Windows.Forms.TextBox logBox;
|
||||||
|
private System.Windows.Forms.Label versionLabel;
|
||||||
private System.ComponentModel.IContainer components;
|
private System.ComponentModel.IContainer components;
|
||||||
|
|
||||||
protected override void WndProc(ref Message msg)
|
protected override void WndProc(ref Message msg)
|
||||||
|
@ -174,6 +175,9 @@ namespace FireflyConfig
|
||||||
|
|
||||||
this.Visible=false;
|
this.Visible=false;
|
||||||
|
|
||||||
|
Version vrs = new Version(Application.ProductVersion);
|
||||||
|
versionLabel.Text = "Build " + vrs.Build;
|
||||||
|
|
||||||
logBox.AppendText("Configurator Started\r\n");
|
logBox.AppendText("Configurator Started\r\n");
|
||||||
|
|
||||||
UDPThread = new Thread(new ThreadStart(UDPThreadFunction));
|
UDPThread = new Thread(new ThreadStart(UDPThreadFunction));
|
||||||
|
@ -334,6 +338,7 @@ namespace FireflyConfig
|
||||||
this.ConfigPage = new System.Windows.Forms.TabPage();
|
this.ConfigPage = new System.Windows.Forms.TabPage();
|
||||||
this.LogPage = new System.Windows.Forms.TabPage();
|
this.LogPage = new System.Windows.Forms.TabPage();
|
||||||
this.logBox = new System.Windows.Forms.TextBox();
|
this.logBox = new System.Windows.Forms.TextBox();
|
||||||
|
this.versionLabel = new System.Windows.Forms.Label();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.ConfigPage.SuspendLayout();
|
this.ConfigPage.SuspendLayout();
|
||||||
|
@ -544,6 +549,16 @@ namespace FireflyConfig
|
||||||
this.logBox.TabIndex = 0;
|
this.logBox.TabIndex = 0;
|
||||||
this.logBox.Text = "";
|
this.logBox.Text = "";
|
||||||
//
|
//
|
||||||
|
// versionLabel
|
||||||
|
//
|
||||||
|
this.versionLabel.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||||
|
this.versionLabel.Location = new System.Drawing.Point(96, 243);
|
||||||
|
this.versionLabel.Name = "versionLabel";
|
||||||
|
this.versionLabel.Size = new System.Drawing.Size(96, 16);
|
||||||
|
this.versionLabel.TabIndex = 11;
|
||||||
|
this.versionLabel.Text = "Version 1.0";
|
||||||
|
this.versionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
// FireflyConfig
|
// FireflyConfig
|
||||||
//
|
//
|
||||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||||
|
@ -551,6 +566,7 @@ namespace FireflyConfig
|
||||||
this.ControlBox = false;
|
this.ControlBox = false;
|
||||||
this.Controls.Add(this.buttonCancel);
|
this.Controls.Add(this.buttonCancel);
|
||||||
this.Controls.Add(this.buttonOK);
|
this.Controls.Add(this.buttonOK);
|
||||||
|
this.Controls.Add(this.versionLabel);
|
||||||
this.Controls.Add(this.tabControl1);
|
this.Controls.Add(this.tabControl1);
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
|
|
|
@ -361,6 +361,15 @@
|
||||||
<data name="logBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<data name="logBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>Private</value>
|
<value>Private</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="versionLabel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="versionLabel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="versionLabel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -376,6 +385,9 @@
|
||||||
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>8, 8</value>
|
<value>8, 8</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="$this.Name">
|
||||||
|
<value>FireflyConfig</value>
|
||||||
|
</data>
|
||||||
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
|
@ -385,9 +397,6 @@
|
||||||
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="$this.Name">
|
|
||||||
<value>FireflyConfig</value>
|
|
||||||
</data>
|
|
||||||
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>Private</value>
|
<value>Private</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
Loading…
Reference in New Issue