Changed the Assembly Product and Title to say “PROMS” instead of “Proms 2010”

Added the date/time of the PROMS executable to the Help|About
This commit is contained in:
John Jenko 2012-04-13 12:23:46 +00:00
parent 7bfc9b223f
commit 4b68ddca70
3 changed files with 31 additions and 11 deletions

View File

@ -36,6 +36,7 @@ namespace VEPROMS
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.panel3 = 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.panel4 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel();
@ -80,7 +81,7 @@ namespace VEPROMS
// //
// labelVersion // 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.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.Location = new System.Drawing.Point(0, 0);
this.labelVersion.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0); this.labelVersion.Margin = new System.Windows.Forms.Padding(8, 0, 4, 0);
@ -155,18 +156,32 @@ namespace VEPROMS
// //
// panel3 // panel3
// //
this.panel3.Controls.Add(this.labelVersionDateTime);
this.panel3.Controls.Add(this.labelVersion); this.panel3.Controls.Add(this.labelVersion);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(12, 196); this.panel3.Location = new System.Drawing.Point(12, 196);
this.panel3.Name = "panel3"; 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; 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 // panel4
// //
this.panel4.Controls.Add(this.labelCopyright); this.panel4.Controls.Add(this.labelCopyright);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top; 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.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(437, 33); this.panel4.Size = new System.Drawing.Size(437, 33);
this.panel4.TabIndex = 29; this.panel4.TabIndex = 29;
@ -175,7 +190,7 @@ namespace VEPROMS
// //
this.panel5.Controls.Add(this.labelCompanyName); this.panel5.Controls.Add(this.labelCompanyName);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top; 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.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(437, 33); this.panel5.Size = new System.Drawing.Size(437, 33);
this.panel5.TabIndex = 30; this.panel5.TabIndex = 30;
@ -184,7 +199,7 @@ namespace VEPROMS
// //
this.panel6.Controls.Add(this.textBoxDescription); this.panel6.Controls.Add(this.textBoxDescription);
this.panel6.Dock = System.Windows.Forms.DockStyle.Top; 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.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(437, 154); this.panel6.Size = new System.Drawing.Size(437, 154);
this.panel6.TabIndex = 31; this.panel6.TabIndex = 31;
@ -194,7 +209,7 @@ namespace VEPROMS
this.panel7.Controls.Add(this.btnEULA); this.panel7.Controls.Add(this.btnEULA);
this.panel7.Controls.Add(this.btnOK); this.panel7.Controls.Add(this.btnOK);
this.panel7.Dock = System.Windows.Forms.DockStyle.Top; 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.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(437, 47); this.panel7.Size = new System.Drawing.Size(437, 47);
this.panel7.TabIndex = 32; this.panel7.TabIndex = 32;
@ -204,6 +219,7 @@ namespace VEPROMS
this.btnEULA.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; 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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnEULA.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; 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.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.Location = new System.Drawing.Point(169, 13);
this.btnEULA.Name = "btnEULA"; 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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel; 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.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.Location = new System.Drawing.Point(359, 13);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
@ -232,7 +249,7 @@ namespace VEPROMS
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight; 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.panel7);
this.Controls.Add(this.panel6); this.Controls.Add(this.panel6);
this.Controls.Add(this.panel5); this.Controls.Add(this.panel5);
@ -281,5 +298,6 @@ namespace VEPROMS
private System.Windows.Forms.Panel panel7; private System.Windows.Forms.Panel panel7;
private DevComponents.DotNetBar.ButtonX btnOK; private DevComponents.DotNetBar.ButtonX btnOK;
private DevComponents.DotNetBar.ButtonX btnEULA; private DevComponents.DotNetBar.ButtonX btnEULA;
private System.Windows.Forms.Label labelVersionDateTime;
} }
} }

View File

@ -18,9 +18,11 @@ namespace VEPROMS
// Change assembly information settings for your application through either: // Change assembly information settings for your application through either:
// - Project->Properties->Application->Assembly Information // - Project->Properties->Application->Assembly Information
// - AssemblyInfo.cs // - AssemblyInfo.cs
DateTime buildDateTime = new System.IO.FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime;
this.Text = String.Format("About {0}", AssemblyTitle); this.Text = String.Format("About {0}", AssemblyTitle);
this.labelProductName.Text = AssemblyProduct; this.labelProductName.Text = AssemblyProduct;
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
this.labelVersionDateTime.Text = String.Format("Build Date: {0}", buildDateTime.ToString());
this.labelCopyright.Text = AssemblyCopyright; this.labelCopyright.Text = AssemblyCopyright;
this.labelCompanyName.Text = AssemblyCompany; this.labelCompanyName.Text = AssemblyCompany;
// this.textBoxDescription.Text = AssemblyDescription; // this.textBoxDescription.Text = AssemblyDescription;

View File

@ -6,11 +6,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("Proms 2010")] [assembly: AssemblyTitle("PROMS")]
[assembly: AssemblyDescription("Create, Edit, and Maintain Procedures Sets.")] [assembly: AssemblyDescription("Create, Edit, and Maintain Procedures Sets.")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Volian Enterprises, Inc.")] [assembly: AssemblyCompany("Volian Enterprises, Inc.")]
[assembly: AssemblyProduct("Proms 2010")] [assembly: AssemblyProduct("PROMS")]
[assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")] [assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("11.0.0.4")] [assembly: AssemblyVersion("11.0.0.6")]
[assembly: AssemblyFileVersion("11.0.0.4")] [assembly: AssemblyFileVersion("11.0.0.6")]