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."); } }