Esempio n. 1
0
        private void incomeAdd_Click_1(object sender, EventArgs e)
        {
            var createNewIncome = new EditIncomeForm(null, _year);

            createNewIncome.NewIncomeAdded += NewIncome_Added;
            createNewIncome.Show();
        }
Esempio n. 2
0
        private void incomeEdit_Click_1(object sender, EventArgs e)
        {
            string incomeSelected = incomeLv.SelectedItems[0].SubItems[0].Text;

            var createNewIncome = new EditIncomeForm(_year.GetIncomeSource(incomeSelected), _year);

            createNewIncome.NewIncomeAdded += RefreshPage_Handler;
            createNewIncome.Show();
        }