How can I set a panel to be always on top when changing tabpages in C#?
问题 I have program with two tabs in a TabController, I also have a panel I want to always have in front. Despite what tabpage I am in. I tried setting the panel to BringToFront() , but that don´t seem to work when I change tabpage. Any suggestions how to solve this? 回答1: If the Panel is contained by the TabPage, then you'd have to manually switch it to the current tab whenever the tab changes, then call BringToFront(). An alternative would be to make the Panel so it's directly contained by the