private void tsmiAddsinger_Click(object sender, EventArgs e) { FrmEditSinger frmEditSinger = new FrmEditSinger(); frmEditSinger.MdiParent = this; //设置为子窗体 frmEditSinger.Show(); //打开窗体 }
//1.新增歌手 private void tsmiNewSinger_Click(object sender, EventArgs e) { FrmEditSinger newSingerForm = new FrmEditSinger(); newSingerForm.MdiParent = this; newSingerForm.Show(); }