Example #1
0
        private void _gridProduct_DoubleClick(object sender, EventArgs e)
        {
            var dialog = new AddProduct(_currentGroup, _currentProduct);
            var result = dialog.ShowDialog();

            if (result == DialogResult.Yes)
            {
                Reload();
            }
        }
Example #2
0
        private void bbiNew_ItemClick(object sender, ItemClickEventArgs e)
        {
            var dialog = new AddProduct(_currentGroup);
            var result = dialog.ShowDialog();

            if (result == DialogResult.Yes)
            {
                Reload();
            }
        }