32 lines
599 B
C#
32 lines
599 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using FastReport;
|
|
|
|
namespace dccdc.Report
|
|
{
|
|
public partial class ReportPrintPreview : Form
|
|
{
|
|
public ReportPrintPreview()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void ReportPrintPreview_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
public void setReport(FastReport.Report re)
|
|
{
|
|
re.Preview = printPreview;
|
|
re.Show();
|
|
}
|
|
|
|
}
|
|
}
|