using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace LYFZ.Software.UI.ReportPrint.SetSmallForm
{
public partial class PrintPreviewSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
{
public PrintPreviewSmallForm()
{
InitializeComponent();
this.btnPrint.Click += btnPrint_Click;
this.btnCancel.Click += btnCancel_Click;
this.btnSavePicture.Click += btnSavePicture_Click;
this.btnZoom.Click += btnZoom_Click;
this.btnReduce.Click += btnReduce_Click;
this.btnCenter.Click += btnCenter_Click;
this.numValue.ValueChanged += numValue_ValueChanged;
//this.ptDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(ptDocument_PrintPage);
this.Resize += PrintPreviewSmallForm_Resize;
}
///
/// 打印
///
///
///
protected virtual void btnPrint_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
///
/// 取消
///
///
///
protected virtual void btnCancel_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
///
/// 存为图片
///
///
///
protected virtual void btnSavePicture_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
///
/// 放大
///
///
///
protected virtual void btnZoom_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
///
/// 缩小
///
///
///
protected virtual void btnReduce_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
///
/// 适中
///
///
///
protected virtual void btnCenter_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
///
/// 翻页
///
///
///
protected virtual void numValue_ValueChanged(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
/////
///// 输出
/////
/////
/////
//protected virtual void ptDocument_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
//{
// //throw new NotImplementedException();
//}
///
/// 窗体大小发生变化
///
///
///
protected virtual void PrintPreviewSmallForm_Resize(object sender, EventArgs e)
{
//throw new NotImplementedException();
}
}
}