?? reportheader.cs
字號:
/*
* Created by SharpDevelop.
* User: Fabio
* Date: 09/10/2004
* Time: 9.51
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.ComponentModel;
using System.Windows.Forms;
using SharpReportCore;
namespace SharpReport.Designer{
/// <summary>
/// Description of ReportHeader.
/// </summary>
internal class ReportHeader : ReportSectionControlBase
{
public event ItemDragDropEventHandler ReportItemsHandling;
public ReportHeader()
{
InitializeComponent();
this.SetStyle(ControlStyles.DoubleBuffer |
ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.ResizeRedraw,
true);
this.UpdateStyles();
base.ItemDragDrop += new ItemDragDropEventHandler (ItemsChanging);
}
protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) {
base.OnPaint (e);
}
protected void ItemsChanging (object sender,ItemDragDropEventArgs e) {
if (ReportItemsHandling != null) {
ReportItemsHandling (this,e);
}
}
#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() {
//
// ReportHeader
//
this.Name = "ReportHeader";
this.Size = new System.Drawing.Size(292, 266);
}
#endregion
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -