private void payrollMenuItem_Click(object sender, EventArgs e) { frmPayroll Payroll = new frmPayroll(); Payroll.MdiParent = this; Payroll.Show(); }