private void newProductMenuItem_Click(object sender, EventArgs e) { var newProductForm = new NewProduct(); newProductForm.MdiParent = this; newProductForm.Show(); }
private void newProductButton_Click(object sender, EventArgs e) { var newProductForm = new NewProduct(); newProductForm.StartPosition = FormStartPosition.CenterScreen; newProductForm.Show(); this.Close(); }