Example #1
0
        /// <summary>
        /// Show add new product window clicked.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button_addNewProduct_Click(object sender, EventArgs e)
        {
            // create the add new product form and subscribe to "Add" button click events
            NewProductForm newProductForm = new NewProductForm(this);

            newProductForm.Show();
        }
Example #2
0
        private void button_addNewProduct_Click(object sender, EventArgs e)
        {
            NewProductForm newProductForm = new NewProductForm();

            newProductForm.Show();
        }
Example #3
0
 private void button_newItem_Click(object sender, EventArgs e)
 {
     View.NewProductForm newProductForm = new View.NewProductForm();
     newProductForm.Show();
 }