Exemple #1
0
 public void SerializeWriteWertpapHBCI4j(string filename, WertpapHBCI4j wp)
 {
     try {
         using (StreamWriter wr = new StreamWriter(filename, false)) {
             xmlserializer.Serialize(wr, wp);
         }
     } catch (Exception ex) {
         System.Windows.MessageBox.Show("Fehler: in SerializeWriteWertpapHBCI4j() " + ex + Environment.NewLine + filename);
     }
 }
Exemple #2
0
 public void DeserializeReadWertpapHBCI4j(string filename, out WertpapHBCI4j wphbci)     //List<WertpapHBCI4j> wphbci) {
 {
     wphbci = null;
     try {
         using (StreamReader _reader = new StreamReader(filename)) {
             wphbci = (WertpapHBCI4j)xmlserializer.Deserialize(_reader);
         }
     } catch (Exception ex) {
         System.Windows.MessageBox.Show("Fehler: DeserializeReadWertpapHBCI4j(): " + ex);
     }
     AktualisiereWertpapHBCI4jDaten(filename, wphbci);
 }
Exemple #3
0
        private void AktualisiereWertpapHBCI4jDaten(string filename, WertpapHBCI4j wphbci)
        {
            FileInfo fiExe   = (new FileInfo(Assembly.GetEntryAssembly().Location));
            DateTime dtLeUmw = File.GetLastWriteTime(fiExe.FullName);
            //bankÜ[0].Bild Pfad7 = Zahlung.B.;

            /* bankÜ.Bank Name7 =
             * bankÜ.Bank Value7 =
             * bankÜ.LiBankKonten[0].Konto Art8 =
             * bankÜ.LiBankKonten[0].Konto Datum8 =
             * bankÜ.LiBankKonten[0].Konto Name8 =
             * bankÜ.LiBankKonten[0].Konto Nr8 =
             * bankÜ.LiBankKonten[0].Konto Value8 = */
        }