Esempio n. 1
0
        private void newProductMenuItem_Click(object sender, EventArgs e)
        {
            var newProductForm = new NewProduct();

            newProductForm.MdiParent = this;
            newProductForm.Show();
        }
Esempio n. 2
0
        private void newProductButton_Click(object sender, EventArgs e)
        {
            var newProductForm = new NewProduct();

            newProductForm.StartPosition = FormStartPosition.CenterScreen;
            newProductForm.Show();
            this.Close();
        }