private void btnAddProduct_Click(object sender, EventArgs e)
        {
            AddProductForm addProduct = new AddProductForm();

            if (addProduct.ShowDialog() == DialogResult.OK)
            {
                addProduct.ShowDialog();
                updateDataGridView();
            }
            updateDataGridView();
        }
示例#2
0
        private void btnAddProduct_Click(object sender, EventArgs e)
        {
            AddProductForm addForm = new AddProductForm();

            if (addForm.ShowDialog() == DialogResult.OK)
            {
            }
            //componentsState(State.Start);

            updateDataGridView();
        }