Пример #1
0
 private void btnPaymentPrintInvoice_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(txtPaymentInvoiceNo.Text))
     {
         MessageBox.Show("The invoice number should be entered.", "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
     else
     {
         frmGenerateInvoice frmGenerateInvoice = new frmGenerateInvoice();
         frmGenerateInvoice.Show();
         string pino = txtPaymentInvoiceNo.Text;
         frmGenerateInvoice.txtInvoiceNo.Text = pino.ToString();
     }
 }
Пример #2
0
        private void btnGenerateCustomerInvoice_Click_2(object sender, EventArgs e)
        {
            frmGenerateInvoice frmGenerateInvoice = new frmGenerateInvoice();

            frmGenerateInvoice.Show();
        }
Пример #3
0
        private void button2_Click_1(object sender, EventArgs e)
        {
            frmGenerateInvoice frmGenerateInvoice = new frmGenerateInvoice();

            frmGenerateInvoice.Show();
        }