📄 reportforms.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace WindowsApplication3
{
/// <summary>
/// ReportForms 的摘要说明。
/// </summary>
public class ReportForms : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.CheckBox cbShjg;
private System.Windows.Forms.CheckBox cbLlsj;
private System.Windows.Forms.CheckBox cbLlry;
private System.Windows.Forms.CheckBox cbZsbh;
private System.Windows.Forms.CheckBox cbByrq;
private System.Windows.Forms.CheckBox cbRxrq;
private System.Windows.Forms.CheckBox cbByjl;
private System.Windows.Forms.CheckBox cbZymc;
private System.Windows.Forms.CheckBox cbYxmc;
private System.Windows.Forms.CheckBox cbXm;
private System.Windows.Forms.CheckBox cbXb;
private System.Windows.Forms.CheckBox cbCsrq;
private System.Windows.Forms.CheckBox cbCC;
private System.Windows.Forms.CheckBox cbXllx;
private System.Windows.Forms.CheckBox cbXz;
public static bool hexiang = false;
/// <summary>
/// 姓名
/// </summary>
public static bool XM = false;
/// <summary>
/// 性别
/// </summary>
public static bool XB = false;
/// <summary>
/// 出生日期
/// </summary>
public static bool CSRQ = false;
/// <summary>
/// 层次
/// </summary>
public static bool CC = false;
/// <summary>
/// 学历类型
/// </summary>
public static bool XLLX = false;
/// <summary>
/// 学制
/// </summary>
public static bool XZ = false;
/// <summary>
/// 院校名称
/// </summary>
public static bool YXMC = false;
/// <summary>
/// 专业名称
/// </summary>
public static bool ZYMC = false;
/// <summary>
/// 毕业结论
/// </summary>
public static bool BYJL = false;
/// <summary>
/// 入学时间
/// </summary>
public static bool RXRQ = false;
/// <summary>
/// 毕业时间
/// </summary>
public static bool BYSJ = false;
/// <summary>
/// 证书编号
/// </summary>
public static bool ZSBH = false;
/// <summary>
/// 录入人员
/// </summary>
public static bool LLRY = false;
/// <summary>
/// 录入时间
/// </summary>
public static bool LLSJ = false;
/// <summary>
/// 审核结果
/// </summary>
public static bool SHJG = false;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public ReportForms()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.cbShjg = new System.Windows.Forms.CheckBox();
this.cbLlsj = new System.Windows.Forms.CheckBox();
this.cbLlry = new System.Windows.Forms.CheckBox();
this.cbZsbh = new System.Windows.Forms.CheckBox();
this.cbByrq = new System.Windows.Forms.CheckBox();
this.cbRxrq = new System.Windows.Forms.CheckBox();
this.cbByjl = new System.Windows.Forms.CheckBox();
this.cbZymc = new System.Windows.Forms.CheckBox();
this.cbYxmc = new System.Windows.Forms.CheckBox();
this.cbXm = new System.Windows.Forms.CheckBox();
this.cbXb = new System.Windows.Forms.CheckBox();
this.cbCsrq = new System.Windows.Forms.CheckBox();
this.cbCC = new System.Windows.Forms.CheckBox();
this.cbXllx = new System.Windows.Forms.CheckBox();
this.cbXz = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.BackColor = System.Drawing.SystemColors.Control;
this.groupBox1.Controls.Add(this.cbShjg);
this.groupBox1.Controls.Add(this.cbLlsj);
this.groupBox1.Controls.Add(this.cbLlry);
this.groupBox1.Controls.Add(this.cbZsbh);
this.groupBox1.Controls.Add(this.cbByrq);
this.groupBox1.Controls.Add(this.cbRxrq);
this.groupBox1.Controls.Add(this.cbByjl);
this.groupBox1.Controls.Add(this.cbZymc);
this.groupBox1.Controls.Add(this.cbYxmc);
this.groupBox1.Controls.Add(this.cbXm);
this.groupBox1.Controls.Add(this.cbXb);
this.groupBox1.Controls.Add(this.cbCsrq);
this.groupBox1.Controls.Add(this.cbCC);
this.groupBox1.Controls.Add(this.cbXllx);
this.groupBox1.Controls.Add(this.cbXz);
this.groupBox1.Location = new System.Drawing.Point(8, 24);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(288, 144);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "打印字段";
//
// cbShjg
//
this.cbShjg.Location = new System.Drawing.Point(184, 112);
this.cbShjg.Name = "cbShjg";
this.cbShjg.Size = new System.Drawing.Size(88, 24);
this.cbShjg.TabIndex = 18;
this.cbShjg.Text = "审核结果";
//
// cbLlsj
//
this.cbLlsj.Location = new System.Drawing.Point(96, 112);
this.cbLlsj.Name = "cbLlsj";
this.cbLlsj.Size = new System.Drawing.Size(88, 24);
this.cbLlsj.TabIndex = 17;
this.cbLlsj.Text = "录入时间";
//
// cbLlry
//
this.cbLlry.Location = new System.Drawing.Point(8, 112);
this.cbLlry.Name = "cbLlry";
this.cbLlry.Size = new System.Drawing.Size(88, 24);
this.cbLlry.TabIndex = 16;
this.cbLlry.Text = "录入人员";
//
// cbZsbh
//
this.cbZsbh.Location = new System.Drawing.Point(184, 88);
this.cbZsbh.Name = "cbZsbh";
this.cbZsbh.Size = new System.Drawing.Size(88, 24);
this.cbZsbh.TabIndex = 15;
this.cbZsbh.Text = "证书编号";
//
// cbByrq
//
this.cbByrq.Location = new System.Drawing.Point(96, 88);
this.cbByrq.Name = "cbByrq";
this.cbByrq.Size = new System.Drawing.Size(96, 24);
this.cbByrq.TabIndex = 14;
this.cbByrq.Text = "毕业时间";
//
// cbRxrq
//
this.cbRxrq.Location = new System.Drawing.Point(8, 88);
this.cbRxrq.Name = "cbRxrq";
this.cbRxrq.Size = new System.Drawing.Size(88, 24);
this.cbRxrq.TabIndex = 13;
this.cbRxrq.Text = "入学时间";
//
// cbByjl
//
this.cbByjl.Location = new System.Drawing.Point(184, 64);
this.cbByjl.Name = "cbByjl";
this.cbByjl.Size = new System.Drawing.Size(88, 24);
this.cbByjl.TabIndex = 12;
this.cbByjl.Text = "毕结业结论";
//
// cbZymc
//
this.cbZymc.Location = new System.Drawing.Point(96, 64);
this.cbZymc.Name = "cbZymc";
this.cbZymc.Size = new System.Drawing.Size(96, 24);
this.cbZymc.TabIndex = 11;
this.cbZymc.Text = "专业名称";
//
// cbYxmc
//
this.cbYxmc.Location = new System.Drawing.Point(8, 64);
this.cbYxmc.Name = "cbYxmc";
this.cbYxmc.Size = new System.Drawing.Size(80, 24);
this.cbYxmc.TabIndex = 10;
this.cbYxmc.Text = "院校名称";
//
// cbXm
//
this.cbXm.Location = new System.Drawing.Point(8, 16);
this.cbXm.Name = "cbXm";
this.cbXm.Size = new System.Drawing.Size(80, 24);
this.cbXm.TabIndex = 3;
this.cbXm.Text = "姓名";
//
// cbXb
//
this.cbXb.Location = new System.Drawing.Point(96, 16);
this.cbXb.Name = "cbXb";
this.cbXb.Size = new System.Drawing.Size(80, 24);
this.cbXb.TabIndex = 4;
this.cbXb.Text = "性别";
//
// cbCsrq
//
this.cbCsrq.Location = new System.Drawing.Point(184, 16);
this.cbCsrq.Name = "cbCsrq";
this.cbCsrq.Size = new System.Drawing.Size(80, 24);
this.cbCsrq.TabIndex = 6;
this.cbCsrq.Text = "出生年月";
//
// cbCC
//
this.cbCC.Location = new System.Drawing.Point(8, 40);
this.cbCC.Name = "cbCC";
this.cbCC.Size = new System.Drawing.Size(80, 24);
this.cbCC.TabIndex = 7;
this.cbCC.Text = "层次";
//
// cbXllx
//
this.cbXllx.Location = new System.Drawing.Point(96, 40);
this.cbXllx.Name = "cbXllx";
this.cbXllx.Size = new System.Drawing.Size(80, 24);
this.cbXllx.TabIndex = 8;
this.cbXllx.Text = "学历类型";
//
// cbXz
//
this.cbXz.Location = new System.Drawing.Point(184, 40);
this.cbXz.Name = "cbXz";
this.cbXz.Size = new System.Drawing.Size(80, 24);
this.cbXz.TabIndex = 9;
this.cbXz.Text = "学制";
//
// label1
//
this.label1.Font = new System.Drawing.Font("新宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label1.Location = new System.Drawing.Point(8, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(296, 16);
this.label1.TabIndex = 7;
this.label1.Text = "请选择要打印的字段,如果超过7个字段,将全部显示";
//
// button1
//
this.button1.Location = new System.Drawing.Point(216, 184);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(80, 23);
this.button1.TabIndex = 8;
this.button1.Text = "确定";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(216, 216);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(80, 23);
this.button2.TabIndex = 9;
this.button2.Text = "取消";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button4
//
this.button4.Location = new System.Drawing.Point(16, 216);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(64, 23);
this.button4.TabIndex = 11;
this.button4.Text = "全部取消";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -