Exemple #1
0
        private void BtnDeleteIncome_Click(object sender, EventArgs e)
        {
            int id = (int)dataGridIncomes.SelectedRows[0].Cells["IncomeID"].Value;

            DBMethods.DeleteIncome(id);
            UpdateDataGrids();
            _MainUI.UpdateBalance();
            _MainUI.UpdateCharts();
        }