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:
2017-05-10 02:05:51 -05:00
parent 4c6b79aea1
commit a569a21294
12 changed files with 1146 additions and 10 deletions
+14
View File
@@ -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