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

📄 orgsettings.cs

📁 C#2.0宝典源码,C#经典书籍,很多例子
💻 CS
📖 第 1 页 / 共 5 页
字号:
      this.groupBox1.Size = new System.Drawing.Size(192, 201);
      this.groupBox1.TabIndex = 10;
      this.groupBox1.TabStop = false;
      this.groupBox1.Text = "编辑";
      // 
      // txtClassID
      // 
      this.txtClassID.Location = new System.Drawing.Point(89, 69);
      this.txtClassID.MaxLength = 4;
      this.txtClassID.Name = "txtClassID";
      this.txtClassID.Size = new System.Drawing.Size(32, 21);
      this.txtClassID.TabIndex = 5;
      this.txtClassID.Text = "";
      // 
      // labelClassID
      // 
      this.labelClassID.BackColor = System.Drawing.Color.Transparent;
      this.labelClassID.Location = new System.Drawing.Point(65, 72);
      this.labelClassID.Name = "labelClassID";
      this.labelClassID.Size = new System.Drawing.Size(24, 14);
      this.labelClassID.TabIndex = 15;
      this.labelClassID.Text = "XX";
      this.labelClassID.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label7
      // 
      this.label7.BackColor = System.Drawing.Color.Transparent;
      this.label7.Location = new System.Drawing.Point(16, 124);
      this.label7.Name = "label7";
      this.label7.Size = new System.Drawing.Size(56, 23);
      this.label7.TabIndex = 14;
      this.label7.Text = "班主任:";
      this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // txtHeadTeacher
      // 
      this.txtHeadTeacher.Location = new System.Drawing.Point(72, 123);
      this.txtHeadTeacher.MaxLength = 5;
      this.txtHeadTeacher.Name = "txtHeadTeacher";
      this.txtHeadTeacher.Size = new System.Drawing.Size(106, 21);
      this.txtHeadTeacher.TabIndex = 13;
      this.txtHeadTeacher.Text = "";
      // 
      // btnDeleteClass
      // 
      this.btnDeleteClass.BackColor = System.Drawing.SystemColors.Control;
      this.btnDeleteClass.Location = new System.Drawing.Point(129, 151);
      this.btnDeleteClass.Name = "btnDeleteClass";
      this.btnDeleteClass.Size = new System.Drawing.Size(50, 23);
      this.btnDeleteClass.TabIndex = 12;
      this.btnDeleteClass.Text = "删除";
      this.btnDeleteClass.Click += new System.EventHandler(this.btnDeleteClass_Click);
      // 
      // btnUpdateClass
      // 
      this.btnUpdateClass.BackColor = System.Drawing.SystemColors.Control;
      this.btnUpdateClass.Location = new System.Drawing.Point(69, 151);
      this.btnUpdateClass.Name = "btnUpdateClass";
      this.btnUpdateClass.Size = new System.Drawing.Size(50, 23);
      this.btnUpdateClass.TabIndex = 11;
      this.btnUpdateClass.Text = "修改";
      this.btnUpdateClass.Click += new System.EventHandler(this.btnUpdateClass_Click);
      // 
      // btnInsertClass
      // 
      this.btnInsertClass.BackColor = System.Drawing.SystemColors.Control;
      this.btnInsertClass.Location = new System.Drawing.Point(9, 151);
      this.btnInsertClass.Name = "btnInsertClass";
      this.btnInsertClass.Size = new System.Drawing.Size(50, 23);
      this.btnInsertClass.TabIndex = 10;
      this.btnInsertClass.Text = "增加";
      this.btnInsertClass.Click += new System.EventHandler(this.btnInsertClass_Click);
      // 
      // txtClassName
      // 
      this.txtClassName.Location = new System.Drawing.Point(72, 96);
      this.txtClassName.MaxLength = 25;
      this.txtClassName.Name = "txtClassName";
      this.txtClassName.Size = new System.Drawing.Size(106, 21);
      this.txtClassName.TabIndex = 7;
      this.txtClassName.Text = "";
      // 
      // cmbCollege
      // 
      this.cmbCollege.DataSource = this.dataSetOrgs.colleges;
      this.cmbCollege.DisplayMember = "college_name";
      this.cmbCollege.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.cmbCollege.Location = new System.Drawing.Point(10, 16);
      this.cmbCollege.Name = "cmbCollege";
      this.cmbCollege.Size = new System.Drawing.Size(129, 20);
      this.cmbCollege.TabIndex = 3;
      this.cmbCollege.ValueMember = "college_ID";
      this.cmbCollege.SelectedIndexChanged += new System.EventHandler(this.cmbCollege_SelectedIndexChanged);
      // 
      // dataSetOrgs
      // 
      this.dataSetOrgs.DataSetName = "DataSetOrgs";
      this.dataSetOrgs.Locale = new System.Globalization.CultureInfo("zh-CN");
      // 
      // cmbSpeciality
      // 
      this.cmbSpeciality.DataSource = this.dataSetOrgs.speciality;
      this.cmbSpeciality.DisplayMember = "speciality_name";
      this.cmbSpeciality.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
      this.cmbSpeciality.Location = new System.Drawing.Point(10, 43);
      this.cmbSpeciality.Name = "cmbSpeciality";
      this.cmbSpeciality.Size = new System.Drawing.Size(169, 20);
      this.cmbSpeciality.TabIndex = 4;
      this.cmbSpeciality.ValueMember = "speciality_ID";
      this.cmbSpeciality.SelectedIndexChanged += new System.EventHandler(this.cmbSpeciality_SelectedIndexChanged);
      // 
      // label1
      // 
      this.label1.BackColor = System.Drawing.Color.Transparent;
      this.label1.Location = new System.Drawing.Point(120, 73);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(72, 16);
      this.label1.TabIndex = 6;
      this.label1.Text = "(最后四位)";
      // 
      // label2
      // 
      this.label2.BackColor = System.Drawing.Color.Transparent;
      this.label2.Location = new System.Drawing.Point(0, 72);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(72, 16);
      this.label2.TabIndex = 8;
      this.label2.Text = "班级编号:";
      this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // label3
      // 
      this.label3.BackColor = System.Drawing.Color.Transparent;
      this.label3.Location = new System.Drawing.Point(0, 100);
      this.label3.Name = "label3";
      this.label3.Size = new System.Drawing.Size(72, 16);
      this.label3.TabIndex = 9;
      this.label3.Text = "班级名称:";
      this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      // 
      // groupBox2
      // 
      this.groupBox2.Controls.Add(this.btnSerchClass);
      this.groupBox2.Controls.Add(this.txtSearchValueClass);
      this.groupBox2.Controls.Add(this.cmbSearchTypeClass);
      this.groupBox2.Location = new System.Drawing.Point(344, 224);
      this.groupBox2.Name = "groupBox2";
      this.groupBox2.Size = new System.Drawing.Size(192, 80);
      this.groupBox2.TabIndex = 11;
      this.groupBox2.TabStop = false;
      this.groupBox2.Text = "查询";
      // 
      // btnSerchClass
      // 
      this.btnSerchClass.BackColor = System.Drawing.SystemColors.Control;
      this.btnSerchClass.Location = new System.Drawing.Point(120, 15);
      this.btnSerchClass.Name = "btnSerchClass";
      this.btnSerchClass.Size = new System.Drawing.Size(64, 56);
      this.btnSerchClass.TabIndex = 2;
      this.btnSerchClass.Text = "查找";
      this.btnSerchClass.Click += new System.EventHandler(this.btnSerchClass_Click);
      // 
      // txtSearchValueClass
      // 
      this.txtSearchValueClass.Location = new System.Drawing.Point(8, 48);
      this.txtSearchValueClass.Name = "txtSearchValueClass";
      this.txtSearchValueClass.Size = new System.Drawing.Size(104, 21);
      this.txtSearchValueClass.TabIndex = 1;
      this.txtSearchValueClass.Text = "";
      // 
      // cmbSearchTypeClass
      // 
      this.cmbSearchTypeClass.Items.AddRange(new object[] {
                                                            "按照编号",
                                                            "按照名称"});
      this.cmbSearchTypeClass.Location = new System.Drawing.Point(8, 16);
      this.cmbSearchTypeClass.Name = "cmbSearchTypeClass";
      this.cmbSearchTypeClass.Size = new System.Drawing.Size(104, 20);
      this.cmbSearchTypeClass.TabIndex = 0;
      this.cmbSearchTypeClass.Text = "按照编号";
      // 
      // gridClass
      // 
      this.gridClass.AllowSorting = false;
      this.gridClass.CaptionVisible = false;
      this.gridClass.DataMember = "classes";
      this.gridClass.DataSource = this.dataSetOrgs;
      this.gridClass.HeaderForeColor = System.Drawing.SystemColors.ControlText;
      this.gridClass.Location = new System.Drawing.Point(15, 15);
      this.gridClass.Name = "gridClass";
      this.gridClass.ReadOnly = true;
      this.gridClass.Size = new System.Drawing.Size(320, 289);
      this.gridClass.TabIndex = 0;
      this.gridClass.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
                                                                                          this.dgTableStyleClass});
      this.gridClass.Click += new System.EventHandler(this.gridClass_Click);
      // 
      // dgTableStyleClass
      // 
      this.dgTableStyleClass.AllowSorting = false;
      this.dgTableStyleClass.DataGrid = this.gridClass;
      this.dgTableStyleClass.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
                                                                                                        this.dataGridTextBoxColumn1,
                                                                                                        this.dataGridTextBoxColumn2,
                                                                                                        this.dataGridTextBoxColumn3,
                                                                                                        this.dataGridTextBoxColumn4,
                                                                                                        this.dataGridTextBoxColumn5});
      this.dgTableStyleClass.HeaderForeColor = System.Drawing.SystemColors.ControlText;
      this.dgTableStyleClass.MappingName = "classes";
      // 
      // dataGridTextBoxColumn1
      // 
      this.dataGridTextBoxColumn1.Format = "";
      this.dataGridTextBoxColumn1.FormatInfo = null;
      this.dataGridTextBoxColumn1.HeaderText = "班级编号";
      this.dataGridTextBoxColumn1.MappingName = "class_ID";
      this.dataGridTextBoxColumn1.Width = 60;
      // 
      // dataGridTextBoxColumn2
      // 
      this.dataGridTextBoxColumn2.Format = "";
      this.dataGridTextBoxColumn2.FormatInfo = null;
      this.dataGridTextBoxColumn2.HeaderText = "班级名称";
      this.dataGridTextBoxColumn2.MappingName = "class_name";
      this.dataGridTextBoxColumn2.Width = 120;
      // 
      // dataGridTextBoxColumn3
      // 
      this.dataGridTextBoxColumn3.Format = "";
      this.dataGridTextBoxColumn3.FormatInfo = null;
      this.dataGridTextBoxColumn3.HeaderText = "所属学院";
      this.dataGridTextBoxColumn3.MappingName = "college_name";
      this.dataGridTextBoxColumn3.Width = 75;
      // 
      // dataGridTextBoxColumn4
      // 
      this.dataGridTextBoxColumn4.Format = "";
      this.dataGridTextBoxColumn4.FormatInfo = null;
      this.dataGridTextBoxColumn4.HeaderText = "所属专业";
      this.dataGridTextBoxColumn4.MappingName = "speciality_name";
      this.dataGridTextBoxColumn4.Width = 75;
      // 
      // dataGridTextBoxColumn5
      // 
      this.dataGridTextBoxColumn5.Format = "";
      this.dataGridTextBoxColumn5.FormatInfo = null;
      this.dataGridTextBoxColumn5.HeaderText = "班主任";
      this.dataGridTextBoxColumn5.MappingName = "class_headTeacher";
      this.dataGridTextBoxColumn5.Width = 60;
      // 
      // tabPage2
      // 
      this.tabPage2.BackColor = System.Drawing.Color.White;
      this.tabPage2.Controls.Add(this.groupBox4);
      this.tabPage2.Controls.Add(this.groupBox3);
      this.tabPage2.Controls.Add(this.gridSpeciality);
      this.tabPage2.Location = new System.Drawing.Point(4, 21);
      this.tabPage2.Name = "tabPage2";
      this.tabPage2.Size = new System.Drawing.Size(544, 319);
      this.tabPage2.TabIndex = 1;
      this.tabPage2.Text = "专业设置";
      // 
      // groupBox4
      // 
      this.groupBox4.Controls.Add(this.btnSearchSpeciality);
      this.groupBox4.Controls.Add(this.txtSearchSpeciality);
      this.groupBox4.Controls.Add(this.cmbSearchSpeciality);
      this.groupBox4.Location = new System.Drawing.Point(344, 192);
      this.groupBox4.Name = "groupBox4";
      this.groupBox4.Size = new System.Drawing.Size(192, 101);
      this.groupBox4.TabIndex = 12;
      this.groupBox4.TabStop = false;
      this.groupBox4.Text = "查询";
      // 
      // btnSearchSpeciality
      // 
      this.btnSearchSpeciality.BackColor = System.Drawing.SystemColors.Control;
      this.btnSearchSpeciality.Location = new System.Drawing.Point(120, 25);
      this.btnSearchSpeciality.Name = "btnSearchSpeciality";
      this.btnSearchSpeciality.Size = new System.Drawing.Size(64, 56);
      this.btnSearchSpeciality.TabIndex = 2;
      this.btnSearchSpeciality.Text = "查找";
      this.btnSearchSpeciality.Click += new System.EventHandler(this.btnSearchSpeciality_Click);
      // 
      // txtSearchSpeciality
      // 
      this.txtSearchSpeciality.Location = new System.Drawing.Point(8, 59);
      this.txtSearchSpeciality.Name = "txtSearchSpeciality";

⌨️ 快捷键说明

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