private void tsbDtaGenerator_Click(object sender, EventArgs e) { DtaGenerator.frmMain dta_generator = new DtaGenerator.frmMain(); dta_generator.MdiParent = this; dta_generator.Show(); }