Exemplo n.º 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();
        }
Exemplo n.º 2
0
        private void btncheckin_Click(object sender, EventArgs e)
        {
            CreateInvoice CI = new CreateInvoice();

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

            createInvoice.ShowDialog();
        }