⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linker.cs

📁 软件工程的课程作业
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace PSMS
{
	/// <summary>
	/// linker 的摘要说明。
	/// </summary>
	public class linker : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.Label label12;
		private System.Windows.Forms.Label label13;
		private System.Windows.Forms.Label label14;
		private System.Windows.Forms.Label label15;
		private System.Windows.Forms.Label label16;
		private System.Windows.Forms.Label label17;
		public  System.Windows.Forms.TextBox LinkmanID;
		public  System.Windows.Forms.TextBox LinkmanName;
		public  System.Windows.Forms.ComboBox LinkmanSex;
		public  System.Windows.Forms.TextBox LBirthday;
		public  System.Windows.Forms.ComboBox LDepartment;
		public  System.Windows.Forms.ComboBox LDuty;
		public  System.Windows.Forms.ComboBox LTitle;
		public  System.Windows.Forms.TextBox LWorkPhone;
		public  System.Windows.Forms.TextBox LCellPhone;
		public  System.Windows.Forms.TextBox LHomePhone;
		public  System.Windows.Forms.TextBox LOtherPhone;
		public  System.Windows.Forms.TextBox LFax;
		public  System.Windows.Forms.TextBox LEmail;
		public  System.Windows.Forms.TextBox LCharacter;
		public  System.Windows.Forms.TextBox LFavorite;
		public  System.Windows.Forms.TextBox LNote;
		public  System.Windows.Forms.TextBox ClientID;
		public  System.Windows.Forms.Button lsubmit;
		public  System.Windows.Forms.Button lreset;
		private System.Windows.Forms.Label label18;
		private System.Windows.Forms.Label label19;
		private System.Windows.Forms.Label label20;
/*		public string LinkmanSexstr;
		public string LDepartmentstr;
		public string LDutystr;
		public string LTitlestr;*/
		
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public linker()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(linker));
			this.label1 = new System.Windows.Forms.Label();
			this.LinkmanID = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.ClientID = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.LinkmanName = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.LinkmanSex = new System.Windows.Forms.ComboBox();
			this.label5 = new System.Windows.Forms.Label();
			this.LBirthday = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.LDepartment = new System.Windows.Forms.ComboBox();
			this.label7 = new System.Windows.Forms.Label();
			this.LDuty = new System.Windows.Forms.ComboBox();
			this.label8 = new System.Windows.Forms.Label();
			this.LTitle = new System.Windows.Forms.ComboBox();
			this.label9 = new System.Windows.Forms.Label();
			this.LWorkPhone = new System.Windows.Forms.TextBox();
			this.label10 = new System.Windows.Forms.Label();
			this.LCellPhone = new System.Windows.Forms.TextBox();
			this.label11 = new System.Windows.Forms.Label();
			this.LHomePhone = new System.Windows.Forms.TextBox();
			this.label12 = new System.Windows.Forms.Label();
			this.LOtherPhone = new System.Windows.Forms.TextBox();
			this.label13 = new System.Windows.Forms.Label();
			this.LFax = new System.Windows.Forms.TextBox();
			this.label14 = new System.Windows.Forms.Label();
			this.LEmail = new System.Windows.Forms.TextBox();
			this.label15 = new System.Windows.Forms.Label();
			this.LCharacter = new System.Windows.Forms.TextBox();
			this.label16 = new System.Windows.Forms.Label();
			this.LFavorite = new System.Windows.Forms.TextBox();
			this.label17 = new System.Windows.Forms.Label();
			this.LNote = new System.Windows.Forms.TextBox();
			this.lsubmit = new System.Windows.Forms.Button();
			this.lreset = new System.Windows.Forms.Button();
			this.label18 = new System.Windows.Forms.Label();
			this.label19 = new System.Windows.Forms.Label();
			this.label20 = new System.Windows.Forms.Label();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 16);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(48, 16);
			this.label1.TabIndex = 0;
			this.label1.Text = "ID:";
			// 
			// LinkmanID
			// 
			this.LinkmanID.Location = new System.Drawing.Point(80, 16);
			this.LinkmanID.Name = "LinkmanID";
			this.LinkmanID.Size = new System.Drawing.Size(80, 21);
			this.LinkmanID.TabIndex = 1;
			this.LinkmanID.Text = "";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(16, 96);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(56, 16);
			this.label2.TabIndex = 2;
			this.label2.Text = "客户ID:";
			// 
			// ClientID
			// 
			this.ClientID.Location = new System.Drawing.Point(80, 96);
			this.ClientID.Name = "ClientID";
			this.ClientID.Size = new System.Drawing.Size(104, 21);
			this.ClientID.TabIndex = 5;
			this.ClientID.Text = "";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(184, 16);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(48, 23);
			this.label3.TabIndex = 4;
			this.label3.Text = "姓名:";
			// 
			// LinkmanName
			// 
			this.LinkmanName.Location = new System.Drawing.Point(248, 16);
			this.LinkmanName.Name = "LinkmanName";
			this.LinkmanName.Size = new System.Drawing.Size(80, 21);
			this.LinkmanName.TabIndex = 2;
			this.LinkmanName.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(16, 56);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(48, 16);
			this.label4.TabIndex = 6;
			this.label4.Text = "性别:";
			// 
			// LinkmanSex
			// 
			this.LinkmanSex.Items.AddRange(new object[] {
															"",
															"男",
															"女"});
			this.LinkmanSex.Location = new System.Drawing.Point(80, 56);
			this.LinkmanSex.Name = "LinkmanSex";
			this.LinkmanSex.Size = new System.Drawing.Size(64, 20);
			this.LinkmanSex.TabIndex = 3;
			this.LinkmanSex.SelectedIndexChanged += new System.EventHandler(this.LinkmanSex_SelectedIndexChanged);
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(184, 56);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(48, 16);
			this.label5.TabIndex = 8;
			this.label5.Text = "生日:";
			// 
			// LBirthday
			// 
			this.LBirthday.Location = new System.Drawing.Point(248, 56);
			this.LBirthday.Name = "LBirthday";
			this.LBirthday.Size = new System.Drawing.Size(112, 21);
			this.LBirthday.TabIndex = 4;
			this.LBirthday.Text = "";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(216, 104);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(56, 16);
			this.label6.TabIndex = 10;
			this.label6.Text = "部门:";
			// 
			// LDepartment
			// 
			this.LDepartment.Items.AddRange(new object[] {
															 "",
															 "销售",
															 "市场",
															 "研发",
															 "采购",
															 "后勤",
															 "保卫"});
			this.LDepartment.Location = new System.Drawing.Point(280, 104);
			this.LDepartment.Name = "LDepartment";
			this.LDepartment.Size = new System.Drawing.Size(112, 20);
			this.LDepartment.TabIndex = 6;
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(16, 144);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(56, 16);
			this.label7.TabIndex = 12;
			this.label7.Text = "职务:";
			// 
			// LDuty
			// 
			this.LDuty.Items.AddRange(new object[] {
													   "",
													   "总经理",
													   "部门经理",
													   "销售经理",
													   "销售助理",
													   "员工"});
			this.LDuty.Location = new System.Drawing.Point(80, 144);
			this.LDuty.Name = "LDuty";
			this.LDuty.Size = new System.Drawing.Size(112, 20);
			this.LDuty.TabIndex = 7;
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(216, 144);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(56, 16);
			this.label8.TabIndex = 14;
			this.label8.Text = "职称:";
			// 
			// LTitle
			// 
			this.LTitle.Items.AddRange(new object[] {
														"",
														"董事长",
														"董事",
														"职员"});
			this.LTitle.Location = new System.Drawing.Point(280, 144);
			this.LTitle.Name = "LTitle";
			this.LTitle.Size = new System.Drawing.Size(112, 20);
			this.LTitle.TabIndex = 8;
			// 
			// label9
			// 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -