Beispiel #1
0
 private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (tabControl1.SelectedIndex.Equals(0))
     {
         CashVariance2 pendingOrder = new CashVariance2("For SAP");
         showForm(panelForSAP, pendingOrder);
     }
     else if (tabControl1.SelectedIndex.Equals(1))
     {
         CashVariance2 pendingOrder = new CashVariance2("Done");
         showForm(panelDone, pendingOrder);
     }
 }
Beispiel #2
0
        private void CashVariance_Load(object sender, EventArgs e)
        {
            CashVariance2 pendingOrder = new CashVariance2("For SAP");

            showForm(panelForSAP, pendingOrder);
        }