📄 frmfullscreen.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 frmFullScreen : System.Windows.Forms.Form
{
public CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1;
public CrystalDecisions.Windows.Forms.CrystalReportViewer crvExamReports;
private System.Windows.Forms.Button btnClose;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public frmFullScreen()
{
//
// 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.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(792, 573);
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(328, 2);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(80, 24);
this.btnClose.TabIndex = 49;
this.btnClose.Text = "&Close";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// frmFullScreen
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(792, 573);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.crvExamReports);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "frmFullScreen";
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)
{
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -