예제 #1
0
        private void button7_Click(object sender, EventArgs e)
        {
            this.Hide();
            Home_Admin_AccountWithdraw home_Admin_AccountWithdraw = new Home_Admin_AccountWithdraw();

            home_Admin_AccountWithdraw.Show();
        }
예제 #2
0
        private void No_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Payment Cancell");
            this.Hide();
            Home_Admin_AccountWithdraw h = new Home_Admin_AccountWithdraw();

            h.Show();
        }
        private void yesADD_Click_1(object sender, EventArgs e)
        {
            string     x;
            Account_BO account_BO = new Account_BO();
            ArrayList  list       = new ArrayList(account_BO.readAccount());
            ArrayList  savelist   = new ArrayList();
            int        y1         = 0;

            y1  = Convert.ToInt32(y);
            y1 += 1;
            x   = Convert.ToString(y1);
            int i;

            for (i = index1; list[i].ToString() != "*****"; i++)
            {
                if (list[i].ToString() == x)
                {
                    y1++;
                    x = Convert.ToString(y1);
                }
            }
            int j2 = i - 2;
            int j1 = i - 1;

            for (int k = 0; k <= j2; k++)
            {
                savelist.Add(list[k]);
            }
            savelist.Add(x);
            int j = 0;

            for (j = j1; j < list.Count; j++)
            {
                savelist.Add(list[j]);
            }
            account_BO.createAccount(savelist);
            this.Hide();
            MessageBox.Show("Year " + x + " Added Succssfully, Please Re-enter ID & This Year");
            Home_Admin_AccountWithdraw h = new Home_Admin_AccountWithdraw();

            h.Show();
        }
 private void button7_Click(object sender, EventArgs e)
 {
     this.Hide();
     Home_Admin_AccountWithdraw home_Admin_AccountWithdraw = new Home_Admin_AccountWithdraw();
     home_Admin_AccountWithdraw.Show();
 }
 private void bill_payment_pnl_Click(object sender, EventArgs e)
 {
     Home_Admin_AccountWithdraw hw = new Home_Admin_AccountWithdraw();
     this.Hide();
     hw.Show();
 }