winform 中一个窗口嵌套到另一个窗口

 {
        public Frm_Dispense_Outside()
        {
            InitializeComponent();
            Frm_Dispense_Check fdc = new Frm_Dispense_Check();
            fdc.TopLevel = false;
            fdc.Dock = DockStyle.Fill;
            fdc.FormBorderStyle = FormBorderStyle.None;
            this.Controls.Clear();
            this.Controls.Add(fdc);
            fdc.Show();

        }

posted @ 2019-03-12 15:51  hanje  阅读(1146)  评论(0编辑  收藏  举报