private void searchToolStripMenuItem1_Click(object sender, EventArgs e) { frmIngredients frm = new frmIngredients(); frm.MdiParent = this; frm.WindowState = FormWindowState.Maximized; frm.Show(); }
private void btnIngredients_Click(object sender, EventArgs e) { frmIngredients frm = new frmIngredients(_product); frm.Show(); }