Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获取所选标签页的名称?
您可以通过包含标签页的标签控件访问名称。
string name = tabControl1.SelectedTab.Name;
这是工作
TabControl1.TabPages[TabControl1.SelectedIndex].Name.ToString();