Example #1
0
 private void btnPrintReceipt_Click(object sender, EventArgs e)
 {
     try
     {
         Reports.PrintReceipt pr = new Reports.PrintReceipt();
         pr.access = lblReceipt.Text;
         pr.Show();
     }
     catch (Exception ex)
     {
         CommonFunctions.ShowError("Please select a record and try again !" + ex.Message);
     }
 }
Example #2
0
 private void buttonPrint_Click(object sender, EventArgs e)
 {
     Reports.PrintReceipt pr = new Reports.PrintReceipt();
     pr.access = lblReceiptNo.Text;
     pr.Show();
 }