Implemented the first version of the report settings to help compensate for the screen resolution dependence the PDF engines seem to have.
This commit is contained in:
@@ -283,6 +283,20 @@ namespace AdvertsingProfitControl
|
||||
Close();
|
||||
}
|
||||
|
||||
private void DisplayReportSizeSettingsForm(object sender, EventArgs e)
|
||||
{
|
||||
var form = new FrmReportSettings();
|
||||
form.ShowDialog();
|
||||
}
|
||||
|
||||
private void GenerateReportMenuItemClick(object sender, EventArgs e)
|
||||
{
|
||||
printPreviewButton.Enabled = false;
|
||||
var report = new ReportGenerator();
|
||||
report.GeneratePdfReport(_currentActiveDate);
|
||||
printPreviewButton.Enabled = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Print Handler Methods
|
||||
|
||||
Reference in New Issue
Block a user