private void bttExampleInvoice_Click(object sender, EventArgs e) { PrintDocuments.invoice_preview PrintContract = new DXWindowsApplication2.PrintDocuments.invoice_preview(); PrintContract.loopGenDataRow(TempCompany_id, textEditExampleInvoice.EditValue.ToString().ToUpper(), lookUpEditDateFormat.Text, memoEditInvoiceHeader.Text, memoEditInvoiceFooter.Text, textEditUnderInvoice1.Text, textEditUnderInvoice2.Text, lookUpEditPaperInvoice.Text, radioGroupLogoPosition.SelectedIndex); PrintContract.ShowPreview(); }
private void bttExampleInvoice_Click(object sender, EventArgs e) { PrintDocuments.invoice_preview PrintContract = new DXWindowsApplication2.PrintDocuments.invoice_preview(); PrintContract.loopGenDataRow(TempCompany_id, textEditExampleInvoice.EditValue.ToString().ToUpper(), lookUpEditDateFormat.Text, memoEditInvoiceHeader.Text, memoEditInvoiceFooter.Text, textEditUnderInvoice1.Text, textEditUnderInvoice2.Text, lookUpEditPaperInvoice.Text, radioGroupLogoPosition.SelectedIndex); PrintContract.ShowPreview(); }