From 4b68ddca702ea170ce8684428b621c4319c5bf7c Mon Sep 17 00:00:00 2001 From: John Date: Fri, 13 Apr 2012 12:23:46 +0000 Subject: [PATCH] =?UTF-8?q?Changed=20the=20Assembly=20Product=20and=20Titl?= =?UTF-8?q?e=20to=20say=20=E2=80=9CPROMS=E2=80=9D=20=20instead=20of=20?= =?UTF-8?q?=E2=80=9CProms=202010=E2=80=9D=20Added=20the=20date/time=20of?= =?UTF-8?q?=20the=20PROMS=20executable=20to=20the=20Help|About?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AboutVEPROMS.Designer.cs | 32 +++++++++++++++---- PROMS/VEPROMS User Interface/AboutVEPROMS.cs | 2 ++ .../Properties/AssemblyInfo.cs | 8 ++--- 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/PROMS/VEPROMS User Interface/AboutVEPROMS.Designer.cs b/PROMS/VEPROMS User Interface/AboutVEPROMS.Designer.cs index 028d1c9c..c7a8cac4 100644 --- a/PROMS/VEPROMS User Interface/AboutVEPROMS.Designer.cs +++ b/PROMS/VEPROMS User Interface/AboutVEPROMS.Designer.cs @@ -36,6 +36,7 @@ namespace VEPROMS this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); + this.labelVersionDateTime = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); @@ -80,7 +81,7 @@ namespace VEPROMS // // labelVersion // - this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelVersion.Dock = System.Windows.Forms.DockStyle.Top; this.labelVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelVersion.Location = new System.Drawing.Point(0, 0); this.labelVersion.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0); @@ -155,18 +156,32 @@ namespace VEPROMS // // panel3 // + this.panel3.Controls.Add(this.labelVersionDateTime); this.panel3.Controls.Add(this.labelVersion); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(12, 196); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(437, 33); + this.panel3.Size = new System.Drawing.Size(437, 48); this.panel3.TabIndex = 28; // + // labelVersionDateTime + // + this.labelVersionDateTime.Dock = System.Windows.Forms.DockStyle.Bottom; + this.labelVersionDateTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelVersionDateTime.Location = new System.Drawing.Point(0, 27); + this.labelVersionDateTime.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0); + this.labelVersionDateTime.MaximumSize = new System.Drawing.Size(0, 21); + this.labelVersionDateTime.Name = "labelVersionDateTime"; + this.labelVersionDateTime.Size = new System.Drawing.Size(437, 21); + this.labelVersionDateTime.TabIndex = 1; + this.labelVersionDateTime.Text = "Version Date/Time"; + this.labelVersionDateTime.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // panel4 // this.panel4.Controls.Add(this.labelCopyright); this.panel4.Dock = System.Windows.Forms.DockStyle.Top; - this.panel4.Location = new System.Drawing.Point(12, 229); + this.panel4.Location = new System.Drawing.Point(12, 244); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(437, 33); this.panel4.TabIndex = 29; @@ -175,7 +190,7 @@ namespace VEPROMS // this.panel5.Controls.Add(this.labelCompanyName); this.panel5.Dock = System.Windows.Forms.DockStyle.Top; - this.panel5.Location = new System.Drawing.Point(12, 262); + this.panel5.Location = new System.Drawing.Point(12, 277); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(437, 33); this.panel5.TabIndex = 30; @@ -184,7 +199,7 @@ namespace VEPROMS // this.panel6.Controls.Add(this.textBoxDescription); this.panel6.Dock = System.Windows.Forms.DockStyle.Top; - this.panel6.Location = new System.Drawing.Point(12, 295); + this.panel6.Location = new System.Drawing.Point(12, 310); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(437, 154); this.panel6.TabIndex = 31; @@ -194,7 +209,7 @@ namespace VEPROMS this.panel7.Controls.Add(this.btnEULA); this.panel7.Controls.Add(this.btnOK); this.panel7.Dock = System.Windows.Forms.DockStyle.Top; - this.panel7.Location = new System.Drawing.Point(12, 449); + this.panel7.Location = new System.Drawing.Point(12, 464); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(437, 47); this.panel7.TabIndex = 32; @@ -204,6 +219,7 @@ namespace VEPROMS this.btnEULA.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnEULA.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEULA.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnEULA.FocusOnLeftMouseButtonDown = true; this.btnEULA.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnEULA.Location = new System.Drawing.Point(169, 13); this.btnEULA.Name = "btnEULA"; @@ -219,6 +235,7 @@ namespace VEPROMS this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnOK.FocusOnLeftMouseButtonDown = true; this.btnOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOK.Location = new System.Drawing.Point(359, 13); this.btnOK.Name = "btnOK"; @@ -232,7 +249,7 @@ namespace VEPROMS this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.ClientSize = new System.Drawing.Size(461, 500); + this.ClientSize = new System.Drawing.Size(461, 519); this.Controls.Add(this.panel7); this.Controls.Add(this.panel6); this.Controls.Add(this.panel5); @@ -281,5 +298,6 @@ namespace VEPROMS private System.Windows.Forms.Panel panel7; private DevComponents.DotNetBar.ButtonX btnOK; private DevComponents.DotNetBar.ButtonX btnEULA; + private System.Windows.Forms.Label labelVersionDateTime; } } diff --git a/PROMS/VEPROMS User Interface/AboutVEPROMS.cs b/PROMS/VEPROMS User Interface/AboutVEPROMS.cs index cfcfc603..1bb32670 100644 --- a/PROMS/VEPROMS User Interface/AboutVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/AboutVEPROMS.cs @@ -18,9 +18,11 @@ namespace VEPROMS // Change assembly information settings for your application through either: // - Project->Properties->Application->Assembly Information // - AssemblyInfo.cs + DateTime buildDateTime = new System.IO.FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime; this.Text = String.Format("About {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); + this.labelVersionDateTime.Text = String.Format("Build Date: {0}", buildDateTime.ToString()); this.labelCopyright.Text = AssemblyCopyright; this.labelCompanyName.Text = AssemblyCompany; // this.textBoxDescription.Text = AssemblyDescription; diff --git a/PROMS/VEPROMS User Interface/Properties/AssemblyInfo.cs b/PROMS/VEPROMS User Interface/Properties/AssemblyInfo.cs index 0f241878..4ac957ba 100644 --- a/PROMS/VEPROMS User Interface/Properties/AssemblyInfo.cs +++ b/PROMS/VEPROMS User Interface/Properties/AssemblyInfo.cs @@ -6,11 +6,11 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("Proms 2010")] +[assembly: AssemblyTitle("PROMS")] [assembly: AssemblyDescription("Create, Edit, and Maintain Procedures Sets.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Volian Enterprises, Inc.")] -[assembly: AssemblyProduct("Proms 2010")] +[assembly: AssemblyProduct("PROMS")] [assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -30,5 +30,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("11.0.0.4")] -[assembly: AssemblyFileVersion("11.0.0.4")] +[assembly: AssemblyVersion("11.0.0.6")] +[assembly: AssemblyFileVersion("11.0.0.6")]