首页 > 代码库 > 窗体作为控件嵌入panel

窗体作为控件嵌入panel

1             EyeView frm = new EyeView();2             frm.TopLevel = false;3             frm.Parent = this.panel1;4             frm.FormBorderStyle = FormBorderStyle.None;5             frm.Dock = DockStyle.Fill;6             //panel1.Controls.Add(frm);7             frm.Show();

 

窗体作为控件嵌入panel