📄 frmdetailedreport.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace OES
{
/// <summary>
/// Summary description for Form2.
/// </summary>
public class frmDetailedReport : System.Windows.Forms.Form
{
public CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1;
public CrystalDecisions.Windows.Forms.CrystalReportViewer crvExamReports;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label lblDescription;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public frmDetailedReport()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.crvExamReports = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
this.btnClose = new System.Windows.Forms.Button();
this.lblDescription = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// crvExamReports
//
this.crvExamReports.ActiveViewIndex = -1;
this.crvExamReports.DisplayGroupTree = false;
this.crvExamReports.Dock = System.Windows.Forms.DockStyle.Fill;
this.crvExamReports.Location = new System.Drawing.Point(0, 0);
this.crvExamReports.Name = "crvExamReports";
this.crvExamReports.ReportSource = null;
this.crvExamReports.Size = new System.Drawing.Size(950, 617);
this.crvExamReports.TabIndex = 48;
//
// btnClose
//
this.btnClose.BackColor = System.Drawing.SystemColors.Control;
this.btnClose.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.btnClose.ForeColor = System.Drawing.Color.Black;
this.btnClose.Location = new System.Drawing.Point(394, 2);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(96, 26);
this.btnClose.TabIndex = 49;
this.btnClose.Text = "关闭(&C)";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// lblDescription
//
this.lblDescription.Location = new System.Drawing.Point(278, 282);
this.lblDescription.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(394, 54);
this.lblDescription.TabIndex = 50;
this.lblDescription.Text = "本报表将包含两列连续编号,学生姓名和分数,将按分数降序存储。其后是参加、通过、未通过考试的学生的编号。";
//
// frmDetailedReport
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(950, 617);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.crvExamReports);
this.Controls.Add(this.lblDescription);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "frmDetailedReport";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.ResumeLayout(false);
}
#endregion
private void btnClose_Click(object sender, System.EventArgs e)
{
OES.frmExamReports .boolReportStaus =false;
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -