Пример #1
0
 private void ButSetupReport_Click(object sender, EventArgs e)
 {
     try
     {
         Workbook wbook = GeneralRep.Application.Workbooks.Open(SelectedReportFile.Text);
         var      code  = new SysPage(wbook).GetValue("Report");
         var      book  = new ReportBook(code, wbook);
         GeneralRep.Books.Add(code, book);
         book.RunCommandReporter(ReporterCommand.Setup);
     }
     catch
     {
         Different.MessageError("Указан недопустимый файл бланка отчета");
     }
 }
Пример #2
0
 private void ButFilter_Click(object sender, EventArgs e)
 {
     _filterForm = (FormFiltersParams)_book.RunCommandReporter(ReporterCommand.FilterParams);
     BindingNavigator1.Items["ButSetFilter"].Enabled = true;
 }
Пример #3
0
 private void ButArchivesRanges_Click(object sender, EventArgs e)
 {
     _book.RunCommandReporter(ReporterCommand.ArchivesRanges);
 }