Пример #1
0
 private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (tabControl1.SelectedIndex.Equals(0))
     {
         AdjustmentIn2 adIn = new AdjustmentIn2(gAdjType, "For SAP");
         showForm(panelForSAP, adIn);
     }
     else if (tabControl1.SelectedIndex.Equals(1))
     {
         AdjustmentIn2 adIn = new AdjustmentIn2(gAdjType, "Done");
         showForm(panelDone, adIn);
     }
 }
Пример #2
0
        private void AdjustmentIn_Load(object sender, EventArgs e)
        {
            AdjustmentIn2 adIn = new AdjustmentIn2(gAdjType, "For SAP");

            showForm(panelForSAP, adIn);
        }