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
Post a Comment