📄 mainform.cs
字号:
this.groupBox2.TabStop = false;
this.groupBox2.Text = "课程相关信息";
//
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(16, 240);
this.textBox7.Name = "textBox7";
this.textBox7.ReadOnly = true;
this.textBox7.TabIndex = 10;
this.textBox7.Text = "";
//
// label12
//
this.label12.Location = new System.Drawing.Point(16, 216);
this.label12.Name = "label12";
this.label12.TabIndex = 9;
this.label12.Text = "课程剩余容量:";
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(16, 184);
this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true;
this.textBox4.TabIndex = 8;
this.textBox4.Text = "";
//
// label4
//
this.label4.Location = new System.Drawing.Point(16, 168);
this.label4.Name = "label4";
this.label4.TabIndex = 7;
this.label4.Text = "上课地点:";
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 120);
this.label3.Name = "label3";
this.label3.TabIndex = 6;
this.label3.Text = "课程学分数:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 64);
this.label2.Name = "label2";
this.label2.TabIndex = 5;
this.label2.Text = "上课时间:";
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1";
this.label1.TabIndex = 4;
this.label1.Text = "任课教师:";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(16, 144);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.TabIndex = 3;
this.textBox3.Text = "";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(16, 88);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.TabIndex = 2;
this.textBox2.Text = "";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(16, 40);
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.TabIndex = 1;
this.textBox1.Text = "";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.listBox2);
this.groupBox1.Controls.Add(this.listBox1);
this.groupBox1.Controls.Add(this.outlesson);
this.groupBox1.Controls.Add(this.selectlesson);
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(288, 232);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "可选课程";
//
// listBox2
//
this.listBox2.DisplayMember = "ClassRoom.CourseID";
this.listBox2.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.listBox2.Location = new System.Drawing.Point(8, 16);
this.listBox2.Name = "listBox2";
this.listBox2.Size = new System.Drawing.Size(101, 186);
this.listBox2.TabIndex = 4;
this.listBox2.ValueMember = "ClassRoom.CourseID";
this.listBox2.SelectedIndexChanged += new System.EventHandler(this.listBox2_SelectedIndexChanged);
//
// listBox1
//
this.listBox1.DisplayMember = "ClassRoom.CourseName";
this.listBox1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.listBox1.Location = new System.Drawing.Point(168, 16);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(112, 186);
this.listBox1.TabIndex = 3;
this.listBox1.ValueMember = "ClassRoom.CourseName";
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
//
// outlesson
//
this.outlesson.Location = new System.Drawing.Point(109, 136);
this.outlesson.Name = "outlesson";
this.outlesson.Size = new System.Drawing.Size(56, 23);
this.outlesson.TabIndex = 2;
this.outlesson.Text = "退课<<";
this.outlesson.Click += new System.EventHandler(this.outlesson_Click);
//
// selectlesson
//
this.selectlesson.Location = new System.Drawing.Point(109, 48);
this.selectlesson.Name = "selectlesson";
this.selectlesson.Size = new System.Drawing.Size(56, 23);
this.selectlesson.TabIndex = 1;
this.selectlesson.Text = "选课>>";
this.selectlesson.Click += new System.EventHandler(this.selectlesson_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(8, 248);
this.button1.Name = "button1";
this.button1.TabIndex = 9;
this.button1.Text = "确定选课";
this.button1.Click += new System.EventHandler(this.button1_Click);
this.button1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button1_MouseMove);
//
// label13
//
this.label13.Location = new System.Drawing.Point(104, 240);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(32, 32);
this.label13.TabIndex = 10;
this.label13.Text = "分数底限";
//
// textBox8
//
this.textBox8.Location = new System.Drawing.Point(152, 240);
this.textBox8.Name = "textBox8";
this.textBox8.ReadOnly = true;
this.textBox8.Size = new System.Drawing.Size(24, 21);
this.textBox8.TabIndex = 11;
this.textBox8.Text = "20";
//
// textBox9
//
this.textBox9.ForeColor = System.Drawing.Color.Red;
this.textBox9.Location = new System.Drawing.Point(248, 240);
this.textBox9.Name = "textBox9";
this.textBox9.ReadOnly = true;
this.textBox9.Size = new System.Drawing.Size(32, 21);
this.textBox9.TabIndex = 12;
this.textBox9.Text = "";
//
// tabPage2
//
this.tabPage2.Controls.Add(this.textBox12);
this.tabPage2.Controls.Add(this.label15);
this.tabPage2.Controls.Add(this.label16);
this.tabPage2.Controls.Add(this.skjfk);
this.tabPage2.Controls.Add(this.updatemima);
this.tabPage2.Controls.Add(this.textBox11);
this.tabPage2.Controls.Add(this.textBox10);
this.tabPage2.Location = new System.Drawing.Point(4, 21);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(434, 292);
this.tabPage2.TabIndex = 6;
this.tabPage2.Text = "修改密码";
//
// textBox12
//
this.textBox12.Location = new System.Drawing.Point(144, 32);
this.textBox12.Name = "textBox12";
this.textBox12.PasswordChar = '*';
this.textBox12.TabIndex = 6;
this.textBox12.Text = "";
//
// label15
//
this.label15.Location = new System.Drawing.Point(32, 32);
this.label15.Name = "label15";
this.label15.TabIndex = 5;
this.label15.Text = "原始密码:";
//
// label16
//
this.label16.Location = new System.Drawing.Point(24, 136);
this.label16.Name = "label16";
this.label16.TabIndex = 4;
this.label16.Text = "密码确定:";
//
// skjfk
//
this.skjfk.Location = new System.Drawing.Point(24, 80);
this.skjfk.Name = "skjfk";
this.skjfk.TabIndex = 3;
this.skjfk.Text = "新密码:";
//
// updatemima
//
this.updatemima.Location = new System.Drawing.Point(152, 184);
this.updatemima.Name = "updatemima";
this.updatemima.TabIndex = 2;
this.updatemima.Text = "button2";
this.updatemima.Click += new System.EventHandler(this.updatemima_Click);
//
// textBox11
//
this.textBox11.Location = new System.Drawing.Point(152, 136);
this.textBox11.Name = "textBox11";
this.textBox11.PasswordChar = '*';
this.textBox11.TabIndex = 1;
this.textBox11.Text = "";
//
// textBox10
//
this.textBox10.Location = new System.Drawing.Point(144, 80);
this.textBox10.Name = "textBox10";
this.textBox10.PasswordChar = '*';
this.textBox10.TabIndex = 0;
this.textBox10.Text = "";
//
// tabPage3
//
this.tabPage3.Controls.Add(this.print);
this.tabPage3.Controls.Add(this.dataGrid1);
this.tabPage3.Location = new System.Drawing.Point(4, 21);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(434, 292);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "课程表";
//
// print
//
this.print.Location = new System.Drawing.Point(136, 240);
this.print.Name = "print";
this.print.TabIndex = 1;
this.print.Text = "打印";
this.print.Click += new System.EventHandler(this.print_Click);
//
// dataGrid1
//
this.dataGrid1.AlternatingBackColor = System.Drawing.Color.LightGray;
this.dataGrid1.BackColor = System.Drawing.Color.DarkGray;
this.dataGrid1.CaptionBackColor = System.Drawing.Color.White;
this.dataGrid1.CaptionFont = new System.Drawing.Font("Verdana", 10F);
this.dataGrid1.CaptionForeColor = System.Drawing.Color.Navy;
this.dataGrid1.DataMember = "";
this.dataGrid1.DataSource = this.dataSet41.ClassRoom;
this.dataGrid1.ForeColor = System.Drawing.Color.Black;
this.dataGrid1.GridLineColor = System.Drawing.Color.Black;
this.dataGrid1.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
this.dataGrid1.HeaderBackColor = System.Drawing.Color.Silver;
this.dataGrid1.HeaderForeColor = System.Drawing.Color.Black;
this.dataGrid1.LinkColor = System.Drawing.Color.Navy;
this.dataGrid1.Location = new System.Drawing.Point(0, 0);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.White;
this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.Black;
this.dataGrid1.ReadOnly = true;
this.dataGrid1.SelectionBackColor = System.Drawing.Color.Navy;
this.dataGrid1.SelectionForeColor = System.Drawing.Color.White;
this.dataGrid1.Size = new System.Drawing.Size(552, 224);
this.dataGrid1.TabIndex = 0;
//
// dataSet41
//
this.dataSet41.DataSetName = "DataSet4";
this.dataSet41.Locale = new System.Globalization.CultureInfo("zh-CN");
//
// tabPage4
//
this.tabPage4.Controls.Add(this.orderbyperson);
this.tabPage4.Controls.Add(this.orderbyscore);
this.tabPage4.Controls.Add(this.textBox6);
this.tabPage4.Controls.Add(this.textBox5);
this.tabPage4.Controls.Add(this.label11);
this.tabPage4.Controls.Add(this.label10);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -