Esempio n. 1
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DataRow       dataRow    = dtExpense.Rows[dgvExpenseData.SelectedRows[0].Index];
            CreateExpense addExpense = new CreateExpense(dataRow);

            addExpense.ShowDialog();
        }
Esempio n. 2
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateExpense addExpense = new CreateExpense(dtExpense);

            addExpense.ShowDialog();
        }