private void керуванняТоварамиToolStripMenuItem_Click(object sender, EventArgs e) { ItemsForm form = new ItemsForm(); form.TopLevel = false; form.MdiParent = this; form.Show(); }
private void btnItems_Click(object sender, EventArgs e) { ItemsForm form = new ItemsForm(); form.TopLevel = false; form.MdiParent = (MainForm)Parent.Parent; form.Show(); Close(); }