[转]c# winFrom 使窗体显示SplitContainer或Panel中
private void menuStepAdd_Click(object sender, EventArgs e)
{
frmAddStep addStep = new frmAddStep();
addStep.FormBorderStyle = FormBorderStyle.None;
addStep.TopLevel = false;
splitMain.Panel2.Controls.Add(addStep);
addStep.Show();
}
{
frmAddStep addStep = new frmAddStep();
addStep.FormBorderStyle = FormBorderStyle.None;
addStep.TopLevel = false;
splitMain.Panel2.Controls.Add(addStep);
addStep.Show();
}
posted on 2008-10-09 11:18 freeliver54 阅读(1238) 评论(1) 编辑 收藏 举报