private void btnAddProduct_Click(object sender, EventArgs e) { AddProductForm addProduct = new AddProductForm(); if (addProduct.ShowDialog() == DialogResult.OK) { addProduct.ShowDialog(); updateDataGridView(); } updateDataGridView(); }
private void btnAddProduct_Click(object sender, EventArgs e) { AddProductForm addForm = new AddProductForm(); if (addForm.ShowDialog() == DialogResult.OK) { } //componentsState(State.Start); updateDataGridView(); }