private void salaryDetailsToolStripMenuItem_Click(object sender, EventArgs e) { frmSalary s = new frmSalary(); s.MdiParent = this; s.Show(); }