private void керуванняПрацівникамиToolStripMenuItem_Click(object sender, EventArgs e) { WorkersForm form = new WorkersForm(); form.TopLevel = false; form.MdiParent = this; form.Show(); }
private void btnContWorkers_Click(object sender, EventArgs e) { WorkersForm form = new WorkersForm(); form.TopLevel = false; form.MdiParent = (MainForm)Parent.Parent; form.Show(); Close(); }