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

📄 formnew.cs

📁 C#2.0宝典源码,C#经典书籍,很多例子
💻 CS
📖 第 1 页 / 共 3 页
字号:
      // panel1
      // 
      this.panel1.BackColor = System.Drawing.SystemColors.GrayText;
      this.panel1.Location = new System.Drawing.Point(10, 50);
      this.panel1.Name = "panel1";
      this.panel1.Size = new System.Drawing.Size(436, 1);
      this.panel1.TabIndex = 4;
      // 
      // pictureBox1
      // 
      this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
      this.pictureBox1.Location = new System.Drawing.Point(18, 4);
      this.pictureBox1.Name = "pictureBox1";
      this.pictureBox1.Size = new System.Drawing.Size(48, 40);
      this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
      this.pictureBox1.TabIndex = 3;
      this.pictureBox1.TabStop = false;
      // 
      // label2
      // 
      this.label2.Location = new System.Drawing.Point(40, 73);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(48, 16);
      this.label2.TabIndex = 3;
      this.label2.Text = "姓名:";
      this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // tabPage2
      // 
      this.tabPage2.BackColor = System.Drawing.Color.White;
      this.tabPage2.Controls.Add(this.label15);
      this.tabPage2.Controls.Add(this.txtBoxStuID);
      this.tabPage2.Controls.Add(this.label14);
      this.tabPage2.Controls.Add(this.cmbBoxStuType);
      this.tabPage2.Controls.Add(this.label13);
      this.tabPage2.Controls.Add(this.cmbBoxEnterYear);
      this.tabPage2.Controls.Add(this.cmbBoxClass);
      this.tabPage2.Controls.Add(this.label12);
      this.tabPage2.Controls.Add(this.label11);
      this.tabPage2.Controls.Add(this.cmbBoxSpeciality);
      this.tabPage2.Controls.Add(this.label10);
      this.tabPage2.Controls.Add(this.label9);
      this.tabPage2.Controls.Add(this.cmbBoxCollege);
      this.tabPage2.Controls.Add(this.label7);
      this.tabPage2.Controls.Add(this.pictureBox2);
      this.tabPage2.Controls.Add(this.panel3);
      this.tabPage2.Location = new System.Drawing.Point(4, 21);
      this.tabPage2.Name = "tabPage2";
      this.tabPage2.Size = new System.Drawing.Size(456, 247);
      this.tabPage2.TabIndex = 1;
      this.tabPage2.Text = "学籍信息";
      // 
      // label15
      // 
      this.label15.Location = new System.Drawing.Point(128, 164);
      this.label15.Name = "label15";
      this.label15.Size = new System.Drawing.Size(100, 16);
      this.label15.TabIndex = 20;
      this.label15.Text = "(最后两位)";
      // 
      // txtBoxStuID
      // 
      this.txtBoxStuID.Location = new System.Drawing.Point(98, 159);
      this.txtBoxStuID.MaxLength = 2;
      this.txtBoxStuID.Name = "txtBoxStuID";
      this.txtBoxStuID.Size = new System.Drawing.Size(30, 21);
      this.txtBoxStuID.TabIndex = 19;
      this.txtBoxStuID.Text = "";
      this.txtBoxStuID.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.txtBoxStuID_HelpRequested);
      // 
      // label14
      // 
      this.label14.Location = new System.Drawing.Point(40, 159);
      this.label14.Name = "label14";
      this.label14.Size = new System.Drawing.Size(48, 23);
      this.label14.TabIndex = 18;
      this.label14.Text = "学号:";
      this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // cmbBoxStuType
      // 
      this.cmbBoxStuType.Items.AddRange(new object[] {
                                                       "3年",
                                                       "4年",
                                                       "5年"});
      this.cmbBoxStuType.Location = new System.Drawing.Point(320, 70);
      this.cmbBoxStuType.Name = "cmbBoxStuType";
      this.cmbBoxStuType.Size = new System.Drawing.Size(48, 20);
      this.cmbBoxStuType.TabIndex = 17;
      this.cmbBoxStuType.Text = "4年";
      this.cmbBoxStuType.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.cmbBoxStuType_HelpRequested);
      // 
      // label13
      // 
      this.label13.Location = new System.Drawing.Point(264, 73);
      this.label13.Name = "label13";
      this.label13.Size = new System.Drawing.Size(48, 16);
      this.label13.TabIndex = 16;
      this.label13.Text = "学制:";
      this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // cmbBoxEnterYear
      // 
      this.cmbBoxEnterYear.Location = new System.Drawing.Point(98, 191);
      this.cmbBoxEnterYear.Name = "cmbBoxEnterYear";
      this.cmbBoxEnterYear.Size = new System.Drawing.Size(78, 20);
      this.cmbBoxEnterYear.TabIndex = 15;
      this.cmbBoxEnterYear.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.cmbBoxEnterYear_HelpRequested);
      // 
      // cmbBoxClass
      // 
      this.cmbBoxClass.Items.AddRange(new object[] {
                                                     "180213",
                                                     "180214"});
      this.cmbBoxClass.Location = new System.Drawing.Point(98, 131);
      this.cmbBoxClass.Name = "cmbBoxClass";
      this.cmbBoxClass.Size = new System.Drawing.Size(158, 20);
      this.cmbBoxClass.TabIndex = 14;
      this.cmbBoxClass.Text = "选择班级";
      // 
      // label12
      // 
      this.label12.Location = new System.Drawing.Point(40, 131);
      this.label12.Name = "label12";
      this.label12.Size = new System.Drawing.Size(48, 23);
      this.label12.TabIndex = 13;
      this.label12.Text = "班级:";
      this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label11
      // 
      this.label11.Location = new System.Drawing.Point(16, 191);
      this.label11.Name = "label11";
      this.label11.Size = new System.Drawing.Size(72, 23);
      this.label11.TabIndex = 12;
      this.label11.Text = "入学年份:";
      this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // cmbBoxSpeciality
      // 
      this.cmbBoxSpeciality.Location = new System.Drawing.Point(98, 100);
      this.cmbBoxSpeciality.Name = "cmbBoxSpeciality";
      this.cmbBoxSpeciality.Size = new System.Drawing.Size(158, 20);
      this.cmbBoxSpeciality.TabIndex = 11;
      this.cmbBoxSpeciality.Text = "选择专业";
      this.cmbBoxSpeciality.SelectedIndexChanged += new System.EventHandler(this.cmbBoxSpeciality_SelectedIndexChanged);
      // 
      // label10
      // 
      this.label10.Location = new System.Drawing.Point(32, 100);
      this.label10.Name = "label10";
      this.label10.Size = new System.Drawing.Size(56, 23);
      this.label10.TabIndex = 10;
      this.label10.Text = "专业:";
      this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label9
      // 
      this.label9.Location = new System.Drawing.Point(40, 73);
      this.label9.Name = "label9";
      this.label9.Size = new System.Drawing.Size(48, 16);
      this.label9.TabIndex = 9;
      this.label9.Text = "学院:";
      this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // cmbBoxCollege
      // 
      this.cmbBoxCollege.Location = new System.Drawing.Point(98, 70);
      this.cmbBoxCollege.Name = "cmbBoxCollege";
      this.cmbBoxCollege.Size = new System.Drawing.Size(126, 20);
      this.cmbBoxCollege.TabIndex = 8;
      this.cmbBoxCollege.Text = "选择学院";
      this.cmbBoxCollege.SelectedIndexChanged += new System.EventHandler(this.cmbBoxCollege_SelectedIndexChanged);
      // 
      // label7
      // 
      this.label7.Location = new System.Drawing.Point(80, 22);
      this.label7.Name = "label7";
      this.label7.Size = new System.Drawing.Size(104, 16);
      this.label7.TabIndex = 7;
      this.label7.Text = "学生的学籍信息";
      // 
      // pictureBox2
      // 
      this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
      this.pictureBox2.Location = new System.Drawing.Point(18, 4);
      this.pictureBox2.Name = "pictureBox2";
      this.pictureBox2.Size = new System.Drawing.Size(48, 40);
      this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
      this.pictureBox2.TabIndex = 6;
      this.pictureBox2.TabStop = false;
      // 
      // panel3
      // 
      this.panel3.BackColor = System.Drawing.SystemColors.GrayText;
      this.panel3.Location = new System.Drawing.Point(10, 50);
      this.panel3.Name = "panel3";
      this.panel3.Size = new System.Drawing.Size(436, 1);
      this.panel3.TabIndex = 5;
      // 
      // tabPage3
      // 
      this.tabPage3.BackColor = System.Drawing.Color.White;
      this.tabPage3.Controls.Add(this.txtBoxEmail);
      this.tabPage3.Controls.Add(this.label20);
      this.tabPage3.Controls.Add(this.txtBoxMobile);
      this.tabPage3.Controls.Add(this.label19);
      this.tabPage3.Controls.Add(this.txtBoxFlatTel);
      this.tabPage3.Controls.Add(this.label18);
      this.tabPage3.Controls.Add(this.txtBoxHomeTel);
      this.tabPage3.Controls.Add(this.label17);
      this.tabPage3.Controls.Add(this.label16);
      this.tabPage3.Controls.Add(this.txtBoxHomeAdd);
      this.tabPage3.Controls.Add(this.pictureBox3);
      this.tabPage3.Controls.Add(this.label8);
      this.tabPage3.Controls.Add(this.panel4);
      this.tabPage3.Location = new System.Drawing.Point(4, 21);
      this.tabPage3.Name = "tabPage3";
      this.tabPage3.Size = new System.Drawing.Size(456, 247);
      this.tabPage3.TabIndex = 2;
      this.tabPage3.Text = "联系方法";
      // 
      // txtBoxEmail
      // 
      this.txtBoxEmail.Location = new System.Drawing.Point(98, 190);
      this.txtBoxEmail.MaxLength = 50;
      this.txtBoxEmail.Name = "txtBoxEmail";
      this.txtBoxEmail.Size = new System.Drawing.Size(150, 21);
      this.txtBoxEmail.TabIndex = 20;
      this.txtBoxEmail.Text = "";
      this.txtBoxEmail.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.txtBoxEmail_HelpRequested);
      // 
      // label20
      // 
      this.label20.Location = new System.Drawing.Point(16, 190);
      this.label20.Name = "label20";
      this.label20.Size = new System.Drawing.Size(72, 23);
      this.label20.TabIndex = 19;
      this.label20.Text = "电子邮件:";
      this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // txtBoxMobile
      // 
      this.txtBoxMobile.Location = new System.Drawing.Point(98, 160);
      this.txtBoxMobile.MaxLength = 12;
      this.txtBoxMobile.Name = "txtBoxMobile";
      this.txtBoxMobile.TabIndex = 18;
      this.txtBoxMobile.Text = "";
      this.txtBoxMobile.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.txtBoxMobile_HelpRequested);
      // 
      // label19
      // 
      this.label19.Location = new System.Drawing.Point(16, 163);
      this.label19.Name = "label19";
      this.label19.Size = new System.Drawing.Size(72, 16);
      this.label19.TabIndex = 17;
      this.label19.Text = "移动电话:";
      this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // txtBoxFlatTel
      // 
      this.txtBoxFlatTel.Location = new System.Drawing.Point(98, 130);
      this.txtBoxFlatTel.MaxLength = 15;
      this.txtBoxFlatTel.Name = "txtBoxFlatTel";
      this.txtBoxFlatTel.TabIndex = 16;
      this.txtBoxFlatTel.Text = "";
      this.txtBoxFlatTel.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.txtBoxFlatTel_HelpRequested);
      // 
      // label18
      // 
      this.label18.Location = new System.Drawing.Point(16, 133);
      this.label18.Name = "label18";
      this.label18.Size = new System.Drawing.Size(72, 16);
      this.label18.TabIndex = 15;
      this.label18.Text = "宿舍电话:";
      this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // txtBoxHomeTel
      // 
      this.txtBoxHomeTel.Location = new System.Drawing.Point(98, 100);
      this.txtBoxHomeTel.MaxLength = 15;
      this.txtBoxHomeTel.Name = "txtBoxHomeTel";
      this.txtBoxHomeTel.TabIndex = 14;
      this.txtBoxHomeTel.Text = "";
      this.txtBoxHomeTel.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.txtBoxHomeTel_HelpRequested);
      // 
      // label17
      // 
      this.label17.Location = new System.Drawing.Point(16, 104);
      this.label17.Name = "label17";
      this.label17.Size = new System.Drawing.Size(72, 16);
      this.label17.TabIndex = 13;
      this.label17.Text = "家庭电话:";
      this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label16
      // 
      this.label16.Location = new System.Drawing.Point(16, 73);
      this.label16.Name = "label16";
      this.label16.Size = new System.Drawing.Size(72, 16);
      this.label16.TabIndex = 12;
      this.label16.Text = "家庭地址:";
      this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // txtBoxHomeAdd

⌨️ 快捷键说明

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