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

📄 mainform.cs

📁 学生选课系统 可工学生学习用!大家可以互相学习互相借鉴
💻 CS
📖 第 1 页 / 共 5 页
字号:
			this.tabPage4.Controls.Add(this.groupBox5);
			this.tabPage4.Location = new System.Drawing.Point(4, 21);
			this.tabPage4.Name = "tabPage4";
			this.tabPage4.Size = new System.Drawing.Size(434, 292);
			this.tabPage4.TabIndex = 3;
			this.tabPage4.Text = "选课统计表";
			// 
			// orderbyperson
			// 
			this.orderbyperson.Location = new System.Drawing.Point(222, 250);
			this.orderbyperson.Name = "orderbyperson";
			this.orderbyperson.TabIndex = 6;
			this.orderbyperson.Text = "按选课人次";
			this.orderbyperson.Click += new System.EventHandler(this.orderbyperson_Click);
			// 
			// orderbyscore
			// 
			this.orderbyscore.Location = new System.Drawing.Point(64, 249);
			this.orderbyscore.Name = "orderbyscore";
			this.orderbyscore.TabIndex = 5;
			this.orderbyscore.Text = "按选课总分";
			this.orderbyscore.Click += new System.EventHandler(this.orderbyscore_Click);
			// 
			// textBox6
			// 
			this.textBox6.Location = new System.Drawing.Point(192, 192);
			this.textBox6.Name = "textBox6";
			this.textBox6.ReadOnly = true;
			this.textBox6.Size = new System.Drawing.Size(152, 21);
			this.textBox6.TabIndex = 4;
			this.textBox6.Text = "目前没有男生选课";
			// 
			// textBox5
			// 
			this.textBox5.Location = new System.Drawing.Point(192, 216);
			this.textBox5.Name = "textBox5";
			this.textBox5.ReadOnly = true;
			this.textBox5.Size = new System.Drawing.Size(152, 21);
			this.textBox5.TabIndex = 3;
			this.textBox5.Text = "目前没有女生选课";
			// 
			// label11
			// 
			this.label11.AutoSize = true;
			this.label11.Location = new System.Drawing.Point(48, 219);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(128, 17);
			this.label11.TabIndex = 2;
			this.label11.Text = "女生最感兴趣的课程:";
			// 
			// label10
			// 
			this.label10.AutoSize = true;
			this.label10.Location = new System.Drawing.Point(48, 196);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(128, 17);
			this.label10.TabIndex = 1;
			this.label10.Text = "男生最感兴趣的课程:";
			// 
			// groupBox5
			// 
			this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.groupBox5.Controls.Add(this.dataGrid2);
			this.groupBox5.Controls.Add(this.dataGridscore);
			this.groupBox5.Controls.Add(this.dataGridrenci);
			this.groupBox5.Location = new System.Drawing.Point(0, 0);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(426, 184);
			this.groupBox5.TabIndex = 0;
			this.groupBox5.TabStop = false;
			this.groupBox5.Text = "学生选课信息";
			// 
			// dataGrid2
			// 
			this.dataGrid2.AlternatingBackColor = System.Drawing.Color.Gainsboro;
			this.dataGrid2.BackColor = System.Drawing.Color.Silver;
			this.dataGrid2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.dataGrid2.CaptionBackColor = System.Drawing.Color.DarkSlateBlue;
			this.dataGrid2.CaptionFont = new System.Drawing.Font("Tahoma", 8F);
			this.dataGrid2.CaptionForeColor = System.Drawing.Color.White;
			this.dataGrid2.DataMember = "ClassRoom";
			this.dataGrid2.DataSource = this.dataSet21;
			this.dataGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
			this.dataGrid2.FlatMode = true;
			this.dataGrid2.ForeColor = System.Drawing.Color.Black;
			this.dataGrid2.GridLineColor = System.Drawing.Color.White;
			this.dataGrid2.HeaderBackColor = System.Drawing.Color.DarkGray;
			this.dataGrid2.HeaderForeColor = System.Drawing.Color.Black;
			this.dataGrid2.LinkColor = System.Drawing.Color.DarkSlateBlue;
			this.dataGrid2.Location = new System.Drawing.Point(3, 17);
			this.dataGrid2.Name = "dataGrid2";
			this.dataGrid2.ParentRowsBackColor = System.Drawing.Color.Black;
			this.dataGrid2.ParentRowsForeColor = System.Drawing.Color.White;
			this.dataGrid2.SelectionBackColor = System.Drawing.Color.DarkSlateBlue;
			this.dataGrid2.SelectionForeColor = System.Drawing.Color.White;
			this.dataGrid2.Size = new System.Drawing.Size(420, 164);
			this.dataGrid2.TabIndex = 0;
			// 
			// dataSet21
			// 
			this.dataSet21.DataSetName = "DataSet2";
			this.dataSet21.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// dataGridscore
			// 
			this.dataGridscore.AlternatingBackColor = System.Drawing.Color.Lavender;
			this.dataGridscore.BackColor = System.Drawing.Color.WhiteSmoke;
			this.dataGridscore.BackgroundColor = System.Drawing.Color.LightGray;
			this.dataGridscore.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.dataGridscore.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
			this.dataGridscore.CaptionForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGridscore.DataMember = "";
			this.dataGridscore.DataSource = this.dataSet41.StudentInfo;
			this.dataGridscore.Dock = System.Windows.Forms.DockStyle.Fill;
			this.dataGridscore.FlatMode = true;
			this.dataGridscore.Font = new System.Drawing.Font("Tahoma", 8F);
			this.dataGridscore.ForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGridscore.GridLineColor = System.Drawing.Color.Gainsboro;
			this.dataGridscore.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
			this.dataGridscore.HeaderBackColor = System.Drawing.Color.MidnightBlue;
			this.dataGridscore.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
			this.dataGridscore.HeaderForeColor = System.Drawing.Color.WhiteSmoke;
			this.dataGridscore.LinkColor = System.Drawing.Color.Teal;
			this.dataGridscore.Location = new System.Drawing.Point(3, 17);
			this.dataGridscore.Name = "dataGridscore";
			this.dataGridscore.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
			this.dataGridscore.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGridscore.SelectionBackColor = System.Drawing.Color.CadetBlue;
			this.dataGridscore.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
			this.dataGridscore.Size = new System.Drawing.Size(420, 164);
			this.dataGridscore.TabIndex = 2;
			// 
			// dataGridrenci
			// 
			this.dataGridrenci.AlternatingBackColor = System.Drawing.Color.LightGray;
			this.dataGridrenci.BackColor = System.Drawing.Color.Gainsboro;
			this.dataGridrenci.BackgroundColor = System.Drawing.Color.Silver;
			this.dataGridrenci.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.dataGridrenci.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
			this.dataGridrenci.CaptionForeColor = System.Drawing.Color.MidnightBlue;
			this.dataGridrenci.DataMember = "";
			this.dataGridrenci.DataSource = this.dataSet41.CourseInfo;
			this.dataGridrenci.Dock = System.Windows.Forms.DockStyle.Fill;
			this.dataGridrenci.FlatMode = true;
			this.dataGridrenci.Font = new System.Drawing.Font("Tahoma", 8F);
			this.dataGridrenci.ForeColor = System.Drawing.Color.Black;
			this.dataGridrenci.GridLineColor = System.Drawing.Color.DimGray;
			this.dataGridrenci.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
			this.dataGridrenci.HeaderBackColor = System.Drawing.Color.MidnightBlue;
			this.dataGridrenci.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
			this.dataGridrenci.HeaderForeColor = System.Drawing.Color.White;
			this.dataGridrenci.LinkColor = System.Drawing.Color.MidnightBlue;
			this.dataGridrenci.Location = new System.Drawing.Point(3, 17);
			this.dataGridrenci.Name = "dataGridrenci";
			this.dataGridrenci.ParentRowsBackColor = System.Drawing.Color.DarkGray;
			this.dataGridrenci.ParentRowsForeColor = System.Drawing.Color.Black;
			this.dataGridrenci.SelectionBackColor = System.Drawing.Color.CadetBlue;
			this.dataGridrenci.SelectionForeColor = System.Drawing.Color.White;
			this.dataGridrenci.Size = new System.Drawing.Size(420, 164);
			this.dataGridrenci.TabIndex = 7;
			// 
			// tabPage5
			// 
			this.tabPage5.Controls.Add(this.listBox3);
			this.tabPage5.Location = new System.Drawing.Point(4, 21);
			this.tabPage5.Name = "tabPage5";
			this.tabPage5.Size = new System.Drawing.Size(434, 292);
			this.tabPage5.TabIndex = 4;
			this.tabPage5.Text = "帮助";
			// 
			// listBox3
			// 
			this.listBox3.BackColor = System.Drawing.SystemColors.ScrollBar;
			this.listBox3.Dock = System.Windows.Forms.DockStyle.Fill;
			this.listBox3.ForeColor = System.Drawing.Color.Blue;
			this.listBox3.ItemHeight = 12;
			this.listBox3.Items.AddRange(new object[] {
														  "软件信息介绍:",
														  "软件需要有SQL服务器支持!",
														  "本软件为课程设计版本1.0       指导教师:陈争光       作者:师准",
														  "软件功能介绍:",
														  "软件分三个部分",
														  "         学生选课退课。",
														  "\t 学生课程表的显示。",
														  " \t 选课信息的统计。",
														  "注意问题:",
														  "学生进行选课时要注意:",
														  "\t1.学生选课是系统会提示你选的课上课时间是否有冲突要是有的话",
														  "\t\t希望学生退掉冲突的课程!",
														  "\t2.学生选课要看清课程的容量,否则系统提示你不能选择!",
														  "\t3.一定要修够规定的学分否则不能进行录入!",
														  "\t4.修改密码是要注意密码保密,一定要记住密码,本系统没有密码",
														  "\t\t找回功能!",
														  "\t5.在选择打印课表时,需要连接数据库,需要一定的时间,而不是",
														  "\t\t死机状态,不要着急!",
														  "\t6.系统提供了选课信息,筛选了男女生喜欢选择的课程,同学可以",
														  "\t\t根据提供的相关信息进行选课!",
														  "警告!",
														  "\t版权归开发着所有他人勿窃取!!"});
			this.listBox3.Location = new System.Drawing.Point(0, 0);
			this.listBox3.Name = "listBox3";
			this.listBox3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.listBox3.ScrollAlwaysVisible = true;
			this.listBox3.Size = new System.Drawing.Size(434, 292);
			this.listBox3.TabIndex = 0;
			// 
			// tabPage6
			// 
			this.tabPage6.Controls.Add(this.label9);
			this.tabPage6.Controls.Add(this.label8);
			this.tabPage6.Controls.Add(this.label7);
			this.tabPage6.Controls.Add(this.label6);
			this.tabPage6.Controls.Add(this.label5);
			this.tabPage6.Location = new System.Drawing.Point(4, 21);
			this.tabPage6.Name = "tabPage6";
			this.tabPage6.Size = new System.Drawing.Size(434, 292);
			this.tabPage6.TabIndex = 5;
			this.tabPage6.Text = "关于";
			// 
			// label9
			// 
			this.label9.AutoSize = true;
			this.label9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label9.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.label9.Location = new System.Drawing.Point(120, 160);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(105, 22);
			this.label9.TabIndex = 4;
			this.label9.Text = "版本:   1.0";
			// 
			// label8
			// 
			this.label8.AutoSize = true;
			this.label8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label8.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.label8.Location = new System.Drawing.Point(64, 104);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(88, 22);
			this.label8.TabIndex = 3;
			this.label8.Text = "指导教师:";
			// 
			// label7
			// 
			this.label7.AutoSize = true;
			this.label7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label7.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.label7.Location = new System.Drawing.Point(184, 104);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(55, 22);
			this.label7.TabIndex = 2;
			this.label7.Text = "陈争光";
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label6.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.label6.Location = new System.Drawing.Point(184, 64);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(39, 22);
			this.label6.TabIndex = 1;
			this.label6.Text = "师准";
			// 
			// label5
			// 
			this.label5.AutoSize = true;
			this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label5.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.label5.Location = new System.Drawing.Point(64, 64);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(96, 22);
			this.label5.TabIndex = 0;
			this.label5.Text = "作     者:";
			// 
			// sqlDataAdapter11
			// 
			this.sqlDataAdapter11.SelectCommand = this.sqlSelectCommand1;
			this.sqlDataAdapter11.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																									   new System.Data.Common.DataTableMapping("Table", "ClassRoom", new System.Data.Common.DataColumnMapping[] {
																																																					new System.Data.Common.DataColumnMapping("CourseID", "CourseID"),
																																																					new System.Data.Common.DataColumnMapping("CourseName", "CourseName"),
																																																					new System.Data.Common.DataColumnMapping("Credit", "Credit"),
																																																					new System.Data.Common.DataColumnMapping("RoomID", "RoomID"),
																																																					new System.Data.Common.DataColumnMapping("ClassTime", "ClassTime"),
																																																					new System.Data.Common.DataColumnMapping("Capacity", "Capacity"),
																																																					new System.Data.Common.DataColumnMapping("Teacher", "Teacher"),
																																																					new System.Data.Common.DataColumnMapping("Expr1", "Expr1"),
																																																					new System.Data.Common.DataColumnMapping("RoomName", "RoomName"),
																																																					new System.Data.Common.DataColumnMapping("Buliding", "Buliding")})});
			// 

⌨️ 快捷键说明

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