📄 reportpropertywindow.cs
字号:
/*
* Created by SharpDevelop.
* User: Fabio
* Date: 09/10/2004
* Time: 9.19
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
namespace SharpReport
{
/// <summary>
/// Description of ReportPropertyWindow.
/// </summary>
public class ReportPropertyWindow : System.Windows.Forms.Form
{
private System.Windows.Forms.ComboBox itemsCombo;
internal System.Windows.Forms.PropertyGrid grid;
public ReportPropertyWindow()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
}
#region Windows Forms Designer generated code
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent() {
this.grid = new System.Windows.Forms.PropertyGrid();
this.itemsCombo = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// grid
//
this.grid.CommandsVisibleIfAvailable = true;
this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
this.grid.LargeButtons = false;
this.grid.LineColor = System.Drawing.SystemColors.ScrollBar;
this.grid.Location = new System.Drawing.Point(0, 25);
this.grid.Name = "grid";
this.grid.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
this.grid.Size = new System.Drawing.Size(294, 276);
this.grid.TabIndex = 0;
this.grid.Text = "propertyGrid1";
this.grid.ViewBackColor = System.Drawing.SystemColors.Window;
this.grid.ViewForeColor = System.Drawing.SystemColors.WindowText;
//
// itemsCombo
//
this.itemsCombo.Dock = System.Windows.Forms.DockStyle.Top;
this.itemsCombo.Enabled = false;
this.itemsCombo.Location = new System.Drawing.Point(0, 0);
this.itemsCombo.Name = "itemsCombo";
this.itemsCombo.Size = new System.Drawing.Size(294, 24);
this.itemsCombo.TabIndex = 1;
this.itemsCombo.Text = "(Not implemented)";
//
// ReportPropertyWindow
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(294, 301);
this.Controls.Add(this.grid);
this.Controls.Add(this.itemsCombo);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.Name = "ReportPropertyWindow";
this.Text = "Properties";
this.TopMost = true;
this.Closing += new System.ComponentModel.CancelEventHandler(this.ReportPropertyWindowClosing);
this.ResumeLayout(false);
}
#endregion
void ReportPropertyWindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
{
this.Visible = false;
e.Cancel = true;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -