Example #1
0
 private void saveImage_Click(object sender, RoutedEventArgs e)
 {
     if (voucherClient == null)
     {
         return;
     }
     busyIndicator.IsBusy = true;
     if (voucherClient._Envelope)
     {
         VouchersClient vClient = envelopes[selectedIndex];
         UtilDisplay.SaveData(vClient.Buffer, vClient._Fileextension);
     }
     else
     {
         UtilDisplay.SaveData(voucherClient.Buffer, voucherClient._Fileextension);
     }
     busyIndicator.IsBusy = false;
 }
 private void saveImage_Click(object sender, RoutedEventArgs e)
 {
     busyIndicator.IsBusy = true;
     UtilDisplay.SaveData(userDocClient.UserDocument, userDocClient.DocumentType);
     busyIndicator.IsBusy = false;
 }