Beispiel #1
0
        //private void PrintPawnTicket()
        //{
        //    PawnTicketPrintPreviewForm frmPawnTicketPrint = new PawnTicketPrintPreviewForm(this, m_TicketID, m_OperationNumber);
        //}

        //private void PrintReceipt()
        //{
        //    ReceiptPrintViewForm frmReceiptPrintView = new ReceiptPrintViewForm(m_TicketID, m_OperationNumber);
        //}

        //private void PrintRenewPawnTicket()
        //{
        //    RenewPawnPrintPreviewForm frmRenewPawnPrintView = new RenewPawnPrintPreviewForm(this, m_TicketID, m_OperationNumber);
        //}

        private void btnPrint_Click(object sender, EventArgs e)
        {
            //int intStatusID = Convert.ToInt32(dataGridView1.CurrentRow.Cells["StatusID"].Value);
            int    iTicketID          = Convert.ToInt32(dataGridView1.CurrentRow.Cells["TicketID"].Value);
            string strOperationNumber = dataGridView1.CurrentRow.Cells["OperationNumber"].Value.ToString();
            ReceiptPrintViewForm frmReceiptPrintView = new ReceiptPrintViewForm(iTicketID, strOperationNumber);
        }
Beispiel #2
0
 private void btnPrint_Click(object sender, EventArgs e)
 {
     string strOperationNumber = dataGridView1.CurrentRow.Cells["OperationNumber"].Value.ToString();
     ReceiptPrintViewForm frmReceiptPrintView = new ReceiptPrintViewForm(m_TicketID, strOperationNumber);
 }
 private void PrintReceipt()
 {
     ReceiptPrintViewForm frmReceiptPrintView = new ReceiptPrintViewForm(m_TicketID, m_OperationNumber);
     //frmReceiptPrintView.Show();
 }