Esempio n. 1
0
        private void monthlySbAdd_Click_1(object sender, EventArgs e)
        {
            var editSoftBill = new EditSoftBillForm(string.Empty, 0);

            editSoftBill.NewSoftBillAdded += NewMonthlySoftBill_Added;
            editSoftBill.Show();
        }
Esempio n. 2
0
        private void annualSbAdd_Click(object sender, EventArgs e)
        {
            var editSoftBill = new EditSoftBillForm(string.Empty, 0);

            editSoftBill.NewSoftBillAdded += NewAnnualSoftBill_Added;
            editSoftBill.Show();
        }
Esempio n. 3
0
        private void monthlySbEdit_Click_1(object sender, EventArgs e)
        {
            string  name   = monthlySbLv.SelectedItems[0].SubItems[0].Text;
            decimal amount = decimal.Parse(annualSbLv.SelectedItems[0].SubItems[1].Text);

            var editSoftBill = new EditSoftBillForm(name, amount);

            editSoftBill.NewSoftBillAdded += NewMonthlySoftBill_Added;
            editSoftBill.Show();
        }
Esempio n. 4
0
        private void annualSbEdit_Click(object sender, EventArgs e)
        {
            string  name   = annualSbLv.SelectedItems[0].SubItems[0].Text;
            decimal amount = decimal.Parse(annualSbLv.SelectedItems[0].SubItems[1].Text);

            var editSoftBill = new EditSoftBillForm(name, amount);

            editSoftBill.NewSoftBillAdded += NewAnnualSoftBill_Added;
            editSoftBill.ShowDialog();
            RefreshPage();
        }