Zbiór zmian 548 dla trunk

Pokaż
Ignoruj:
Data:
2009-04-07 12:05:19 (17 years ago)
Autor:
marek
Opis:

re #156

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/BazaReklam/FactureViewer.cs

    r547 r548  
    8282            } 
    8383 
    84             //nadpisanie drukowania 
    85             //this.reportViewer1.Print += new CancelEventHandler(HandlePrint); 
    86             /* 
    87             if (proforma) 
    88             { 
    89                 this.reportViewer1.Print += new CancelEventHandler(HandlePrint); 
    90             } 
    91             */ 
    92  
    9384            jezykComboBox.SelectedIndex = 0; 
    9485            typComboBox.SelectedIndex = 1; 
     
    370361 
    371362            reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("tlumaczenia", ds.Tables[0])); 
     363 
     364            int invoiceProviderId = (int)invoiceProviderTableAdapter.GetDataByIdFaktury(idFaktury).Rows[0]["Id"]; 
     365 
     366            reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("Baza_Reklam_InvoiceProvider", 
     367                                                                           InvoiceProviderFactory.GetInvoiceProvidersById(invoiceProviderId))); 
    372368 
    373369            paramList.Add(new ReportParameter("podpis", podpisCheckBox.Checked.ToString(), true));