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.
我有一个窗口窗体应用程序,其中有一个名为 lstView 的 ListView。如何通过代码向其中添加标签页。
提前致谢。
这是你的代码
private void Form1_Load(object sender, EventArgs e) { TabControl tbl = new TabControl(); tbl.TabPages.Add("page1"); lstView.Controls.Add(tbl); }