using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
private void StartReport(object sender, EventArgs e)
{
FastReport.Report report = (FastReport.Report)sender;
report.PreviewChanged += new EventHandler(report_PreviewChanged);
}
void report_PreviewChanged(object sender, EventArgs e)
{
FastReport.Report report = (FastReport.Report)sender;
if (report.Preview != null)
report.Preview.Buttons |= PreviewButtons.Edit;
}
}
}