开发者

TabPage as userControl?

开发者 https://www.devze.com 2022-12-22 17:01 出处:网络
I want to createtabpage as userControl. Is there any way to deal with开发者_开发知识库 this??Add a TabPage, and add a UserControl to it...

I want to create tabpage as userControl.

Is there any way to deal with开发者_开发知识库 this??


Add a TabPage, and add a UserControl to it...

TabControl tabControl1 = new TabControl();
TabPage tp = new TabPage("New Tab");
tabControl1.TabPages.Add(tp);
tp.Controls.Add(new MyUserControl());
0

精彩评论

暂无评论...
验证码 换一张
取 消