private void cmdExperiment_Click(object sender, EventArgs e) { frmCodeView frmFoo = new frmCodeView(); frmCodeViewNew docForm = new frmCodeViewNew("C:\\Data\\NCC\\!Code\\Git.Public\\ncccodenavi\\Win.CodeNavi\\Win.CodeNavi\\Scanner.cs", 0, this); docForm.MdiParent = this; docForm.Show(); }