private void button1_Click(object sender, EventArgs e) { Frm_Child frm = new Frm_Child(); //实例化子窗体对象 frm.MdiParent = this; //设置子窗体的父窗体为当前窗体 frm.Show(); //显示子窗体 }
private void button1_Click(object sender, EventArgs e) { Frm_Child frm = new Frm_Child(); //實例化子視窗物件 frm.MdiParent = this; //設定子視窗的父視窗為目前視窗 frm.Show(); //顯示子視窗 }
private void button1_Click(object sender, EventArgs e) { Frm_Child frm = new Frm_Child();//实例化子窗体对象 frm.MdiParent = this;//设置子窗体的父窗体为当前窗体 frm.Show();//显示子窗体 }