Exemple #1
0
 static TradeLists()
 {
     if (TradeDataStorage.SaveFileExists(tradeListFile))
     {
         tradeInfo = TradeDataStorage.LoadTradeList(tradeListFile).ToList();
     }
     else
     {
         tradeInfo = new List <TradeTransaction>();
         SaveTradeList();
     }
 }
Exemple #2
0
 public static void LoadTradeList()
 {
     TradeDataStorage.LoadTradeList(tradeListFile);
 }
Exemple #3
0
 public static void SaveTradeList()
 {
     TradeDataStorage.SaveTradeList(tradeInfo, tradeListFile);
 }