private void btnReversePosted_Click(object sender, RoutedEventArgs e) { string reason = UtilWindow.ConfirmWindow("Please enter the reason to Cancel the Shipment."); if (string.IsNullOrEmpty(reason)) { return; } ReversePosted(sender, new DataEventArgs <string>(reason)); }
private void btnReversePosted_Click(object sender, RoutedEventArgs e) { string reason = UtilWindow.ConfirmWindow("Please enter the reason to Cancel the Receipt. Remember you manually have to delete the receipt in the ERP."); ReversePosted(sender, new DataEventArgs <string>(reason)); }