Exemplo n.º 1
0
        private void btnCopy_Click(object sender, RoutedEventArgs e)
        {
            bool result = cr.CopyPromotionProductFromSourceToTarget(multiplepromotionid, int.Parse(cmbPromotion.SelectedValue.ToString()));

            if (result)
            {
                MessageBox.Show("Promotion products have been successfully copied.");
            }
            else
            {
                MessageBox.Show("Copy failed.");
            }
        }