停车场系统代码Word下载.docx
- 文档编号:20925577
- 上传时间:2023-01-26
- 格式:DOCX
- 页数:105
- 大小:39.11KB
停车场系统代码Word下载.docx
《停车场系统代码Word下载.docx》由会员分享,可在线阅读,更多相关《停车场系统代码Word下载.docx(105页珍藏版)》请在冰豆网上搜索。
//-AssemblyInfo.cs
this.Text=String.Format("
关于{0}"
AssemblyTitle);
this.labelProductName.Text=AssemblyProduct;
this.labelVersion.Text=String.Format("
版本{0}"
AssemblyVersion);
this.labelCopyright.Text=AssemblyCopyright;
this.labelCompanyName.Text=AssemblyCompany;
this.textBoxDescription.Text=AssemblyDescription;
}
#region程序集属性访问器
publicstringAssemblyTitle
get
//获取此程序集上的所有Title属性
object[]attributes=Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute),false);
//如果至少有一个Title属性
if(attributes.Length>
0)
//请选择第一个属性
AssemblyTitleAttributetitleAttribute=(AssemblyTitleAttribute)attributes[0];
//如果该属性为非空字符串,则将其返回
if(titleAttribute.Title!
="
"
)
returntitleAttribute.Title;
//如果没有Title属性,或者Title属性为一个空字符串,则返回.exe的名称
returnSystem.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
publicstringAssemblyVersion
returnAssembly.GetExecutingAssembly().GetName().Version.ToString();
publicstringAssemblyDescription
//获取此程序集的所有Description属性
object[]attributes=Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute),false);
//如果Description属性不存在,则返回一个空字符串
if(attributes.Length==0)
return"
;
//如果有Description属性,则返回该属性的值
return((AssemblyDescriptionAttribute)attributes[0]).Description;
publicstringAssemblyProduct
//获取此程序集上的所有Product属性
object[]attributes=Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute),false);
//如果Product属性不存在,则返回一个空字符串
//如果有Product属性,则返回该属性的值
return((AssemblyProductAttribute)attributes[0]).Product;
publicstringAssemblyCopyright
//获取此程序集上的所有Copyright属性
object[]attributes=Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute),false);
//如果Copyright属性不存在,则返回一个空字符串
//如果有Copyright属性,则返回该属性的值
return((AssemblyCopyrightAttribute)attributes[0]).Copyright;
publicstringAssemblyCompany
//获取此程序集上的所有Company属性
object[]attributes=Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute),false);
//如果Company属性不存在,则返回一个空字符串
//如果有Company属性,则返回该属性的值
return((AssemblyCompanyAttribute)attributes[0]).Company;
#endregion
}namespaceCarManager
partialclassAboutBox1
///<
summary>
///必需的设计器变量。
/summary>
privateSystem.ComponentModel.IContainercomponents=null;
///清理所有正在使用的资源。
protectedoverridevoidDispose(booldisposing)
if(disposing&
&
(components!
=null))
components.Dispose();
base.Dispose(disposing);
#regionWindows窗体设计器生成的代码
///设计器支持所需的方法-不要
///使用代码编辑器修改此方法的内容。
privatevoidInitializeComponent()
System.ComponentModel.ComponentResourceManagerresources=newSystem.ComponentModel.ComponentResourceManager(typeof(AboutBox1));
this.tableLayoutPanel=newSystem.Windows.Forms.TableLayoutPanel();
this.logoPictureBox=newSystem.Windows.Forms.PictureBox();
this.labelProductName=newSystem.Windows.Forms.Label();
this.labelVersion=newSystem.Windows.Forms.Label();
this.labelCopyright=newSystem.Windows.Forms.Label();
this.labelCompanyName=newSystem.Windows.Forms.Label();
this.textBoxDescription=newSystem.Windows.Forms.TextBox();
this.okButton=newSystem.Windows.Forms.Button();
this.tableLayoutPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
this.SuspendLayout();
//
//tableLayoutPanel
this.tableLayoutPanel.ColumnCount=2;
this.tableLayoutPanel.ColumnStyles.Add(newSystem.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent,33F));
this.tableLayoutPanel.ColumnStyles.Add(newSystem.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent,67F));
this.tableLayoutPanel.Controls.Add(this.logoPictureBox,0,0);
this.tableLayoutPanel.Controls.Add(this.labelProductName,1,0);
this.tableLayoutPanel.Controls.Add(this.labelVersion,1,1);
this.tableLayoutPanel.Controls.Add(this.labelCopyright,1,2);
this.tableLayoutPanel.Controls.Add(this.labelCompanyName,1,3);
this.tableLayoutPanel.Controls.Add(this.textBoxDescription,1,4);
this.tableLayoutPanel.Controls.Add(this.okButton,1,5);
this.tableLayoutPanel.Dock=System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel.Location=newSystem.Drawing.Point(9,8);
this.tableLayoutPanel.Name="
tableLayoutPanel"
this.tableLayoutPanel.RowCount=6;
this.tableLayoutPanel.RowStyles.Add(newSystem.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent,10F));
this.tableLayoutPanel.RowStyles.Add(newSystem.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent,50F));
this.tableLayoutPanel.Size=newSystem.Drawing.Size(417,245);
this.tableLayoutPanel.TabIndex=0;
//logoPictureBox
this.logoPictureBox.Dock=System.Windows.Forms.DockStyle.Fill;
this.logoPictureBox.Image=((System.Drawing.Image)(resources.GetObject("
logoPictureBox.Image"
)));
this.logoPictureBox.Location=newSystem.Drawing.Point(3,3);
this.logoPictureBox.Name="
logoPictureBox"
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox,6);
this.logoPictureBox.Size=newSystem.Drawing.Size(131,239);
this.logoPictureBox.SizeMode=System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.logoPictureBox.TabIndex=12;
this.logoPictureBox.TabStop=false;
//labelProductName
this.labelProductName.Dock=System.Windows.Forms.DockStyle.Fill;
this.labelProductName.Font=newSystem.Drawing.Font("
微软雅黑"
9F,System.Drawing.FontStyle.Bold,System.Drawing.GraphicsUnit.Point,((byte)(134)));
this.labelProductName.Location=newSystem.Drawing.Point(143,0);
this.labelProductName.Margin=newSystem.Windows.Forms.Padding(6,0,3,0);
this.labelProductName.MaximumSize=newSystem.Drawing.Size(0,16);
this.labelProductName.Name="
labelProductName"
this.labelProductName.Size=newSystem.Drawing.Size(271,16);
this.labelProductName.TabIndex=19;
this.labelProductName.Text="
停车场管理系统"
this.labelProductName.TextAlign=System.Drawing.ContentAlignment.MiddleLeft;
//labelVersion
this.labelVersion.Dock=System.Windows.Forms.DockStyle.Fill;
this.labelVersion.Font=newSystem.Drawing.Font("
9F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(134)));
this.labelVersion.Location=newSystem.Drawing.Point(143,24);
this.labelVersion.Margin=newSystem.Windows.Forms.Padding(6,0,3,0);
this.labelVersion.MaximumSize=newSystem.Drawing.Size(0,16);
this.labelVersion.Name="
labelVersion"
this.labelVersion.Size=newSystem.Drawing.Size(271,16);
this.labelVersion.TabIndex=0;
this.labelVersion.Text="
版本1.0"
this.labelVersion.TextAlign=System.Drawing.ContentAlignment.MiddleLeft;
//labelCopyright
this.labelCopyright.Dock=System.Windows.Forms.DockStyle.Fill;
this.labelCopyright.Font=newSystem.Drawing.Font("
this.labelCopyright.Location=newSystem.Drawing.Point(143,48);
this.labelCopyright.Margin=newSystem.Windows.Forms.Padding(6,0,3,0);
this.labelCopyright.MaximumSize=newSystem.Drawing.Size(0,16);
this.labelCopyright.Name="
labelCopyright"
this.labelCopyright.Size=newSystem.Drawing.Size(271,16);
this.labelCopyright.TabIndex=21;
this.labelCopyright.Text="
Copyright@hcl"
this.labelCopyright.TextAlign=System.Drawing.ContentAlignment.MiddleLeft;
//labelCompanyName
this.labelCompanyName.Dock=System.Windows.Forms.DockStyle.Fill;
this.labelCompanyName.Font=newSystem.Drawing.Font("
this.labelCompanyName.Location=newSystem.Drawing.Point(143,72);
this.labelCompanyName.Margin=newSystem.Windows.Forms.Padding(6,0,3,0);
this.labelCompanyName.MaximumSize=newSystem.Drawing.Size(0,16);
this.labelCompanyName.Name="
labelCompanyName"
this.labelCompanyName.Size=newSystem.Drawing.Size(271,16);
this.labelCompanyName.TabIndex=22;
this.labelCompanyName.Text="
公司名称ustb"
this.labelCompanyName.TextAlign=System.Drawing.ContentAlignment.MiddleLeft;
//textBoxDescription
this.textBoxDescription.Dock=System.Windows.Forms.DockStyle.Fill;
this.textBoxDescription.Font=newSystem.Drawing.Font("
this.textBoxDescription.Location=newSystem.Drawing.Point(143,99);
this.textBoxDescription.Margin=newSystem.Windows.Forms.Padding(6,3,3,3);
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 停车场 系统 代码
![提示](https://static.bdocx.com/images/bang_tan.gif)