Exemple #1
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int     selectedRowIndex = dgvInvoiceData.SelectedRows[0].Index;
            DataRow selectedRow      = dtInvoiceData.Rows[selectedRowIndex];

            CreateInvoice createInvoice = new CreateInvoice(selectedRow);

            createInvoice.ShowDialog();
        }
Exemple #2
0
        private void btncheckin_Click(object sender, EventArgs e)
        {
            CreateInvoice CI = new CreateInvoice();

            CI.ShowDialog();
        }
Exemple #3
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateInvoice createInvoice = new CreateInvoice(dtInvoiceData);

            createInvoice.ShowDialog();
        }