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); }