Esempio n. 1
0
 private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (tabControl1.SelectedIndex.Equals(0))
     {
         AdvancePayment2 advancePayment2 = new AdvancePayment2("In Deposit");
         showForm(panelInDeposit, advancePayment2);
     }
     else if (tabControl1.SelectedIndex.Equals(1))
     {
         AdvancePayment2 advancePayment2 = new AdvancePayment2("Used Deposit");
         showForm(panelUsedDeposit, advancePayment2);
     }
     else if (tabControl1.SelectedIndex.Equals(2))
     {
         AdvancePayment2 advancePayment2 = new AdvancePayment2("Summary Deposit");
         showForm(panelSummaryDeposit, advancePayment2);
     }
 }
Esempio n. 2
0
        private void AdvancePayment_Load(object sender, EventArgs e)
        {
            AdvancePayment2 advancePayment2 = new AdvancePayment2("In Deposit");

            showForm(panelInDeposit, advancePayment2);
        }