private void _gridProduct_DoubleClick(object sender, EventArgs e) { var dialog = new AddProduct(_currentGroup, _currentProduct); var result = dialog.ShowDialog(); if (result == DialogResult.Yes) { Reload(); } }
private void bbiNew_ItemClick(object sender, ItemClickEventArgs e) { var dialog = new AddProduct(_currentGroup); var result = dialog.ShowDialog(); if (result == DialogResult.Yes) { Reload(); } }