print Invoice in c# application

varsha dodiya

varsha dodiya

Dec 25 2014 1:48 AM
hi geeks , I want to print invoice/bill receipt for my application , I know the code to print a form (like a full form as it is) but i have a receipt format (contains company details like name ,address etc ) now i want to do something like this 
PrintButton_click(___)   // on BillForm in which we add values to make bill
  /// a form opens  ReceiptForm which is in a receipt format , and values should shift in this ReceiptForm from BillForm dynamically 
///  and shows print Preview  and then print

I'm stuck in passing the values on another form also suggest me which is the best way to achieve this functionality. 

Answers (2)