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

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

你可能感兴趣的:(contain)