📄 scoreanalyse.cs
字号:
this.tabPage1.Location = new System.Drawing.Point(4, 24);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(544, 380);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "成绩列表";
//
// dataGrid1
//
this.dataGrid1.AlternatingBackColor = System.Drawing.Color.GhostWhite;
this.dataGrid1.BackColor = System.Drawing.Color.GhostWhite;
this.dataGrid1.BackgroundColor = System.Drawing.Color.Lavender;
this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dataGrid1.CaptionBackColor = System.Drawing.Color.RoyalBlue;
this.dataGrid1.CaptionForeColor = System.Drawing.Color.White;
this.dataGrid1.DataMember = "";
this.dataGrid1.FlatMode = true;
this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F);
this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.GridLineColor = System.Drawing.Color.RoyalBlue;
this.dataGrid1.HeaderBackColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
this.dataGrid1.HeaderForeColor = System.Drawing.Color.Lavender;
this.dataGrid1.LinkColor = System.Drawing.Color.Teal;
this.dataGrid1.Location = new System.Drawing.Point(56, 32);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Lavender;
this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.ReadOnly = true;
this.dataGrid1.SelectionBackColor = System.Drawing.Color.Teal;
this.dataGrid1.SelectionForeColor = System.Drawing.Color.PaleGreen;
this.dataGrid1.Size = new System.Drawing.Size(280, 304);
this.dataGrid1.TabIndex = 0;
this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dataGridTableStyle1});
//
// dataGridTableStyle1
//
this.dataGridTableStyle1.DataGrid = this.dataGrid1;
this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.dataGridTextBoxColumn2,
this.dataGridTextBoxColumn1,
this.dataGridTextBoxColumn3});
this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGridTableStyle1.MappingName = "View_Score";
//
// dataGridTextBoxColumn2
//
this.dataGridTextBoxColumn2.Format = "";
this.dataGridTextBoxColumn2.FormatInfo = null;
this.dataGridTextBoxColumn2.HeaderText = "学号";
this.dataGridTextBoxColumn2.MappingName = "StudentID";
this.dataGridTextBoxColumn2.Width = 75;
//
// dataGridTextBoxColumn1
//
this.dataGridTextBoxColumn1.Format = "";
this.dataGridTextBoxColumn1.FormatInfo = null;
this.dataGridTextBoxColumn1.HeaderText = "学生姓名";
this.dataGridTextBoxColumn1.MappingName = "StudentName";
this.dataGridTextBoxColumn1.Width = 75;
//
// dataGridTextBoxColumn3
//
this.dataGridTextBoxColumn3.Format = "";
this.dataGridTextBoxColumn3.FormatInfo = null;
this.dataGridTextBoxColumn3.HeaderText = "分数";
this.dataGridTextBoxColumn3.MappingName = "Score";
this.dataGridTextBoxColumn3.Width = 75;
//
// tabPage2
//
this.tabPage2.BackColor = System.Drawing.SystemColors.Control;
this.tabPage2.Controls.Add(this.btnList);
this.tabPage2.Controls.Add(this.listView1);
this.tabPage2.Location = new System.Drawing.Point(4, 24);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(544, 380);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "列表统计";
//
// btnList
//
this.btnList.BackColor = System.Drawing.SystemColors.Window;
this.btnList.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnList.ForeColor = System.Drawing.SystemColors.Desktop;
this.btnList.Image = ((System.Drawing.Image)(resources.GetObject("btnList.Image")));
this.btnList.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnList.Location = new System.Drawing.Point(344, 192);
this.btnList.Name = "btnList";
this.btnList.Size = new System.Drawing.Size(56, 24);
this.btnList.TabIndex = 111;
this.btnList.Text = "显示";
this.btnList.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnList.Click += new System.EventHandler(this.btnList_Click);
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.listView1.GridLines = true;
this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listView1.Location = new System.Drawing.Point(160, 40);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(136, 272);
this.listView1.TabIndex = 0;
this.listView1.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "统计项";
//
// columnHeader2
//
this.columnHeader2.Text = "得分";
this.columnHeader2.Width = 71;
//
// tabPage3
//
this.tabPage3.BackColor = System.Drawing.SystemColors.Control;
this.tabPage3.Controls.Add(this.panel3);
this.tabPage3.Controls.Add(this.chart1);
this.tabPage3.Controls.Add(this.panel5);
this.tabPage3.Controls.Add(this.btnChart);
this.tabPage3.Location = new System.Drawing.Point(4, 24);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(544, 380);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "图表分析";
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.label17);
this.panel3.Controls.Add(this.label11);
this.panel3.Controls.Add(this.numericUpDown2);
this.panel3.Controls.Add(this.numericUpDown1);
this.panel3.Controls.Add(this.label21);
this.panel3.Controls.Add(this.comboBoxChartType);
this.panel3.Controls.Add(this.checkBox1);
this.panel3.Location = new System.Drawing.Point(328, 200);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(200, 112);
this.panel3.TabIndex = 10;
//
// label17
//
this.label17.Location = new System.Drawing.Point(72, 16);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(64, 23);
this.label17.TabIndex = 17;
this.label17.Text = "Rotate x";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label11
//
this.label11.Location = new System.Drawing.Point(80, 40);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(56, 23);
this.label11.TabIndex = 16;
this.label11.Text = "Rotate Y";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// numericUpDown2
//
this.numericUpDown2.Enabled = false;
this.numericUpDown2.Increment = new System.Decimal(new int[] {
5,
0,
0,
0});
this.numericUpDown2.Location = new System.Drawing.Point(144, 40);
this.numericUpDown2.Maximum = new System.Decimal(new int[] {
180,
0,
0,
0});
this.numericUpDown2.Minimum = new System.Decimal(new int[] {
180,
0,
0,
-2147483648});
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(48, 21);
this.numericUpDown2.TabIndex = 15;
this.numericUpDown2.Value = new System.Decimal(new int[] {
40,
0,
0,
0});
this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
//
// numericUpDown1
//
this.numericUpDown1.Enabled = false;
this.numericUpDown1.Increment = new System.Decimal(new int[] {
5,
0,
0,
0});
this.numericUpDown1.Location = new System.Drawing.Point(144, 16);
this.numericUpDown1.Maximum = new System.Decimal(new int[] {
180,
0,
0,
0});
this.numericUpDown1.Minimum = new System.Decimal(new int[] {
180,
0,
0,
-2147483648});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(48, 21);
this.numericUpDown1.TabIndex = 14;
this.numericUpDown1.Value = new System.Decimal(new int[] {
30,
0,
0,
0});
this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
//
// label21
//
this.label21.Location = new System.Drawing.Point(8, 72);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(72, 23);
this.label21.TabIndex = 12;
this.label21.Text = "Chart Type:";
this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// comboBoxChartType
//
this.comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxChartType.Items.AddRange(new object[] {
"Line",
"Spline",
"StepLine",
"Column",
"Pie",
"Doughnut"});
this.comboBoxChartType.Location = new System.Drawing.Point(88, 72);
this.comboBoxChartType.Name = "comboBoxChartType";
this.comboBoxChartType.Size = new System.Drawing.Size(104, 20);
this.comboBoxChartType.TabIndex = 11;
this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(16, 16);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(80, 24);
this.checkBox1.TabIndex = 10;
this.checkBox1.Text = "3D显示";
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// chart1
//
this.chart1.BackColor = System.Drawing.SystemColors.Control;
chartArea1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(255)));
chartArea1.Name = "Default";
this.chart1.ChartAreas.Add(chartArea1);
legend1.Name = "Default";
this.chart1.Legends.Add(legend1);
this.chart1.Location = new System.Drawing.Point(8, 16);
this.chart1.Name = "chart1";
this.chart1.Size = new System.Drawing.Size(312, 312);
this.chart1.TabIndex = 0;
//
// panel5
//
this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel5.Controls.Add(this.BorderStyle);
this.panel5.Controls.Add(this.BorderSizeCom);
this.panel5.Controls.Add(this.BorderColor);
this.panel5.Controls.Add(this.HatchStyle);
this.panel5.Controls.Add(this.Gradient);
this.panel5.Controls.Add(this.ForeColorCom);
this.panel5.Controls.Add(this.BackColorCom);
this.panel5.Controls.Add(this.label5);
this.panel5.Controls.Add(this.label8);
this.panel5.Controls.Add(this.label7);
this.panel5.Controls.Add(this.label6);
this.panel5.Controls.Add(this.label9);
this.panel5.Controls.Add(this.label10);
this.panel5.Controls.Add(this.label12);
this.panel5.Controls.Add(this.label13);
this.panel5.Controls.Add(this.label14);
this.panel5.Controls.Add(this.label15);
this.panel5.Controls.Add(this.label16);
this.panel5.Controls.Add(this.label18);
this.panel5.Controls.Add(this.label19);
this.panel5.Controls.Add(this.label20);
this.panel5.Location = new System.Drawing.Point(328, 16);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(192, 176);
this.panel5.TabIndex = 13;
//
// BorderStyle
//
this.BorderStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.BorderStyle.Location = new System.Drawing.Point(102, 144);
this.BorderStyle.Name = "BorderStyle";
this.BorderStyle.Size = new System.Drawing.Size(88, 20);
this.BorderStyle.TabIndex = 6;
this.BorderStyle.SelectedIndexChanged += new System.EventHandler(this.BorderStyle_SelectedIndexChanged);
//
// BorderSizeCom
//
this.BorderSizeCom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.BorderSizeCom.Items.AddRange(new object[] {
"1",
"2",
"3",
"4",
"5"});
this.BorderSizeCom.Location = new System.Drawing.Point(102, 120);
this.BorderSizeCom.Name = "BorderSizeCom";
this.BorderSizeCom.Size = new System.Drawing.Size(88, 20);
this.BorderSizeCom.TabIndex = 5;
this.BorderSizeCom.SelectedIndexChanged += new System.EventHandler(this.BorderSizeCom_SelectedIndexChanged);
//
// BorderColor
//
this.BorderColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.BorderColor.Items.AddRange(new object[] {
"White",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -