Ejemplo n.º 1
0
 private void tsbADD_Click(object sender, EventArgs e)
 {
     bAdd = true;
     if (tabControl1.SelectedTab == tabPage1)
     {
         objControlService.init_tabPage(tabPage1);
         objControlService.EnabledTabPageItem(tabPage1);
     }
     else if (tabControl1.SelectedTab == tabPage2)
     {
         objControlService.init_tabPage(tabPage2);
         objControlService.EnabledTabPageItem(tabPage2);
     }
 }