📄 orgsettings.cs
字号:
this.txtSearchSpeciality.Size = new System.Drawing.Size(104, 21);
this.txtSearchSpeciality.TabIndex = 1;
this.txtSearchSpeciality.Text = "";
//
// cmbSearchSpeciality
//
this.cmbSearchSpeciality.Items.AddRange(new object[] {
"按照编号",
"按照名称"});
this.cmbSearchSpeciality.Location = new System.Drawing.Point(8, 27);
this.cmbSearchSpeciality.Name = "cmbSearchSpeciality";
this.cmbSearchSpeciality.Size = new System.Drawing.Size(104, 20);
this.cmbSearchSpeciality.TabIndex = 0;
this.cmbSearchSpeciality.Text = "按照编号";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.linkAddSpeciality);
this.groupBox3.Controls.Add(this.labelSpeID);
this.groupBox3.Controls.Add(this.btnDeleteSpeciality);
this.groupBox3.Controls.Add(this.btnUpdateSpeciality);
this.groupBox3.Controls.Add(this.btnInsertSpeciality);
this.groupBox3.Controls.Add(this.txtSpecialityID);
this.groupBox3.Controls.Add(this.txtSpecialityName);
this.groupBox3.Controls.Add(this.cmbCollegeSpe);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.label6);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Location = new System.Drawing.Point(344, 15);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(192, 169);
this.groupBox3.TabIndex = 11;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "编辑";
//
// labelSpeID
//
this.labelSpeID.Location = new System.Drawing.Point(71, 56);
this.labelSpeID.Name = "labelSpeID";
this.labelSpeID.Size = new System.Drawing.Size(24, 16);
this.labelSpeID.TabIndex = 13;
this.labelSpeID.Text = "XX-";
this.labelSpeID.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// btnDeleteSpeciality
//
this.btnDeleteSpeciality.BackColor = System.Drawing.SystemColors.Control;
this.btnDeleteSpeciality.Location = new System.Drawing.Point(128, 111);
this.btnDeleteSpeciality.Name = "btnDeleteSpeciality";
this.btnDeleteSpeciality.Size = new System.Drawing.Size(50, 23);
this.btnDeleteSpeciality.TabIndex = 12;
this.btnDeleteSpeciality.Text = "删除";
this.btnDeleteSpeciality.Click += new System.EventHandler(this.btnDeleteSpeciality_Click);
//
// btnUpdateSpeciality
//
this.btnUpdateSpeciality.BackColor = System.Drawing.SystemColors.Control;
this.btnUpdateSpeciality.Location = new System.Drawing.Point(68, 111);
this.btnUpdateSpeciality.Name = "btnUpdateSpeciality";
this.btnUpdateSpeciality.Size = new System.Drawing.Size(50, 23);
this.btnUpdateSpeciality.TabIndex = 11;
this.btnUpdateSpeciality.Text = "修改";
this.btnUpdateSpeciality.Click += new System.EventHandler(this.btnUpdateSpeciality_Click);
//
// btnInsertSpeciality
//
this.btnInsertSpeciality.BackColor = System.Drawing.SystemColors.Control;
this.btnInsertSpeciality.Location = new System.Drawing.Point(8, 111);
this.btnInsertSpeciality.Name = "btnInsertSpeciality";
this.btnInsertSpeciality.Size = new System.Drawing.Size(50, 23);
this.btnInsertSpeciality.TabIndex = 10;
this.btnInsertSpeciality.Text = "增加";
this.btnInsertSpeciality.Click += new System.EventHandler(this.btnInsertSpeciality_Click);
//
// txtSpecialityID
//
this.txtSpecialityID.Location = new System.Drawing.Point(95, 54);
this.txtSpecialityID.Name = "txtSpecialityID";
this.txtSpecialityID.Size = new System.Drawing.Size(24, 21);
this.txtSpecialityID.TabIndex = 5;
this.txtSpecialityID.Text = "";
//
// txtSpecialityName
//
this.txtSpecialityName.Location = new System.Drawing.Point(72, 82);
this.txtSpecialityName.Name = "txtSpecialityName";
this.txtSpecialityName.Size = new System.Drawing.Size(104, 21);
this.txtSpecialityName.TabIndex = 7;
this.txtSpecialityName.Text = "";
//
// cmbCollegeSpe
//
this.cmbCollegeSpe.DataSource = this.dataSetOrgs.colleges;
this.cmbCollegeSpe.DisplayMember = "college_name";
this.cmbCollegeSpe.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbCollegeSpe.Location = new System.Drawing.Point(10, 21);
this.cmbCollegeSpe.Name = "cmbCollegeSpe";
this.cmbCollegeSpe.Size = new System.Drawing.Size(129, 20);
this.cmbCollegeSpe.TabIndex = 3;
this.cmbCollegeSpe.Tag = "0";
this.cmbCollegeSpe.ValueMember = "college_ID";
this.cmbCollegeSpe.SelectedIndexChanged += new System.EventHandler(this.cmbCollegeSpe_SelectedIndexChanged);
//
// label5
//
this.label5.Location = new System.Drawing.Point(8, 57);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 16);
this.label5.TabIndex = 8;
this.label5.Text = "专业编号:";
//
// label6
//
this.label6.Location = new System.Drawing.Point(8, 86);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 16);
this.label6.TabIndex = 9;
this.label6.Text = "专业名称:";
//
// label4
//
this.label4.Location = new System.Drawing.Point(118, 56);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 16);
this.label4.TabIndex = 6;
this.label4.Text = "(最后两位)";
//
// gridSpeciality
//
this.gridSpeciality.AllowSorting = false;
this.gridSpeciality.CaptionVisible = false;
this.gridSpeciality.DataMember = "speciality";
this.gridSpeciality.DataSource = this.dataSetOrgs;
this.gridSpeciality.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.gridSpeciality.Location = new System.Drawing.Point(15, 15);
this.gridSpeciality.Name = "gridSpeciality";
this.gridSpeciality.ParentRowsVisible = false;
this.gridSpeciality.ReadOnly = true;
this.gridSpeciality.RowHeadersVisible = false;
this.gridSpeciality.Size = new System.Drawing.Size(320, 289);
this.gridSpeciality.TabIndex = 1;
this.gridSpeciality.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dgTableStyleSpeciality});
this.gridSpeciality.Click += new System.EventHandler(this.gridSpeciality_Click);
//
// dgTableStyleSpeciality
//
this.dgTableStyleSpeciality.AllowSorting = false;
this.dgTableStyleSpeciality.DataGrid = this.gridSpeciality;
this.dgTableStyleSpeciality.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn6,
this.dataGridTextBoxColumn7,
this.dataGridTextBoxColumn8});
this.dgTableStyleSpeciality.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dgTableStyleSpeciality.MappingName = "speciality";
//
// dataGridTextBoxColumn6
//
this.dataGridTextBoxColumn6.Format = "";
this.dataGridTextBoxColumn6.FormatInfo = null;
this.dataGridTextBoxColumn6.HeaderText = "专业编号";
this.dataGridTextBoxColumn6.MappingName = "speciality_ID";
this.dataGridTextBoxColumn6.Width = 75;
//
// dataGridTextBoxColumn7
//
this.dataGridTextBoxColumn7.Format = "";
this.dataGridTextBoxColumn7.FormatInfo = null;
this.dataGridTextBoxColumn7.HeaderText = "专业名称";
this.dataGridTextBoxColumn7.MappingName = "speciality_name";
this.dataGridTextBoxColumn7.Width = 120;
//
// dataGridTextBoxColumn8
//
this.dataGridTextBoxColumn8.Format = "";
this.dataGridTextBoxColumn8.FormatInfo = null;
this.dataGridTextBoxColumn8.HeaderText = "所属学院";
this.dataGridTextBoxColumn8.MappingName = "college_name";
this.dataGridTextBoxColumn8.Width = 75;
//
// tabPage3
//
this.tabPage3.BackColor = System.Drawing.Color.White;
this.tabPage3.Controls.Add(this.groupBox6);
this.tabPage3.Controls.Add(this.groupBox5);
this.tabPage3.Controls.Add(this.gridCollege);
this.tabPage3.Location = new System.Drawing.Point(4, 21);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(544, 319);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "学院设置";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.btnSearchCollege);
this.groupBox6.Controls.Add(this.txtSearchCollege);
this.groupBox6.Controls.Add(this.cmbSearchCollege);
this.groupBox6.Location = new System.Drawing.Point(344, 168);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(192, 101);
this.groupBox6.TabIndex = 13;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "查询";
//
// btnSearchCollege
//
this.btnSearchCollege.BackColor = System.Drawing.SystemColors.Control;
this.btnSearchCollege.Location = new System.Drawing.Point(120, 25);
this.btnSearchCollege.Name = "btnSearchCollege";
this.btnSearchCollege.Size = new System.Drawing.Size(64, 56);
this.btnSearchCollege.TabIndex = 2;
this.btnSearchCollege.Text = "查找";
this.btnSearchCollege.Click += new System.EventHandler(this.btnSearchCollege_Click);
//
// txtSearchCollege
//
this.txtSearchCollege.Location = new System.Drawing.Point(8, 59);
this.txtSearchCollege.Name = "txtSearchCollege";
this.txtSearchCollege.Size = new System.Drawing.Size(104, 21);
this.txtSearchCollege.TabIndex = 1;
this.txtSearchCollege.Text = "";
//
// cmbSearchCollege
//
this.cmbSearchCollege.Items.AddRange(new object[] {
"按照编号",
"按照名称"});
this.cmbSearchCollege.Location = new System.Drawing.Point(8, 27);
this.cmbSearchCollege.Name = "cmbSearchCollege";
this.cmbSearchCollege.Size = new System.Drawing.Size(104, 20);
this.cmbSearchCollege.TabIndex = 0;
this.cmbSearchCollege.Text = "按照编号";
//
// groupBox5
//
this.groupBox5.Controls.Add(this.linkAddCollege);
this.groupBox5.Controls.Add(this.btnDeleteCollege);
this.groupBox5.Controls.Add(this.btnUpdateCollege);
this.groupBox5.Controls.Add(this.btnInsertCollege);
this.groupBox5.Controls.Add(this.txtCollegeID);
this.groupBox5.Controls.Add(this.txtCollegeName);
this.groupBox5.Controls.Add(this.label8);
this.groupBox5.Controls.Add(this.label9);
this.groupBox5.Location = new System.Drawing.Point(344, 15);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(192, 137);
this.groupBox5.TabIndex = 12;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "编辑";
//
// btnDeleteCollege
//
this.btnDeleteCollege.BackColor = System.Drawing.SystemColors.Control;
this.btnDeleteCollege.Location = new System.Drawing.Point(128, 80);
this.btnDeleteCollege.Name = "btnDeleteCollege";
this.btnDeleteCollege.Size = new System.Drawing.Size(50, 23);
this.btnDeleteCollege.TabIndex = 12;
this.btnDeleteCollege.Text = "删除";
this.btnDeleteCollege.Click += new System.EventHandler(this.btnDeleteCollege_Click);
//
// btnUpdateCollege
//
this.btnUpdateCollege.BackColor = System.Drawing.SystemColors.Control;
this.btnUpdateCollege.Location = new System.Drawing.Point(68, 80);
this.btnUpdateCollege.Name = "btnUpdateCollege";
this.btnUpdateCollege.Size = new System.Drawing.Size(50, 23);
this.btnUpdateCollege.TabIndex = 11;
this.btnUpdateCollege.Text = "修改";
this.btnUpdateCollege.Click += new System.EventHandler(this.btnUpdateCollege_Click);
//
// btnInsertCollege
//
this.btnInsertCollege.BackColor = System.Drawing.SystemColors.Control;
this.btnInsertCollege.Location = new System.Drawing.Point(8, 80);
this.btnInsertCollege.Name = "btnInsertCollege";
this.btnInsertCollege.Size = new System.Drawing.Size(50, 23);
this.btnInsertCollege.TabIndex = 10;
this.btnInsertCollege.Text = "增加";
this.btnInsertCollege.Click += new System.EventHandler(this.btnInsertCollege_Click);
//
// txtCollegeID
//
this.txtCollegeID.Location = new System.Drawing.Point(72, 19);
this.txtCollegeID.MaxLength = 2;
this.txtCollegeID.Name = "txtCollegeID";
this.txtCollegeID.Size = new System.Drawing.Size(24, 21);
this.txtCollegeID.TabIndex = 5;
this.txtCollegeID.Text = "";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -