现在的位置: 首页 > 综合 > 正文

c# winFrom 使窗体显示SplitContainer或Panel中[转]

2012年04月17日 ⁄ 综合 ⁄ 共 276字 ⁄ 字号 评论关闭
        private void MenuAdd_Click(object sender, EventArgs e)
        {
            FrmBase fb = new FrmBase();
            fb.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            fb.TopLevel = false;
            sptContianer.Panel2.Controls.Add(fb);
            fb.Show();
        }

抱歉!评论已关闭.