日期:2014-05-18 浏览次数:20968 次
private void button1_Click(object sender,EventArgs e) { one frmOne = new one(); frmOne.MdiParent = this; frmOne.Show(); } private void button2_Click(object sender, EventArgs e) { two frmTwo = new two(); frmTwo.MdiParent = this; frmTwo.Show(); }
LayoutMdi(MdiLayout.TileVertical);
private void button1_Click(object sender,EventArgs e) { if(flag==true) { one frmOne = new one(); frmOne.MdiParent = this; frmOne.Show(); flag=false; } }