c# - Question about using SelectedTab -


i creating app uses tabs. want able add, edit, , delete on each tab. have these 3 buttons outside of tabs can used each one. trying figure out how use selectedtab tab on 1 gets changed. appreciated. thanks

you in buttons' event handlers:

        if (tabcontrol1.selectedtab == tabpage1)          {              /* */          }         else if (tabcontrol1.selectedtab == tabpage2)         {             /* else */         } 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -