• TabPage动态添加From


    TabPage动态添加From
    public TabPage Add(int count)
                tabControl1.TabPages.Clear();
                for (int i = 1; i <= count; i++)
                {
                    TabPage tabPage = new TabPage();
                    tabPage.Name ="tb_"+ i.ToString();
                    tabPage.Text =i.ToString();
                    tabControl1.TabPages.Add(tabPage);
                    PowerForm form = new PowerForm();
                    form.TopLevel = false;
                    form.Dock = DockStyle.Fill;
                    form.FormBorderStyle = FormBorderStyle.None;
                    tabPage.Controls.Add(form);
                    form.Show();
                }    
            }
  • 相关阅读:
    SpringBoot笔记
    SpringBoot面试篇
    多线程篇
    Tomcat篇
    Redis篇
    Nginx篇
    JVM篇
    MySQL篇
    python ETL工具 pyetl
    python通用数据库操作工具 pydbclib
  • 原文地址:https://www.cnblogs.com/jianhongtang2016/p/8098162.html
Copyright © 2020-2023  润新知