Ejemplo n.º 1
0
 public void SetTransactionLog(TransactionLog log)
 {
     gridControl1.DataSource = log.TransCollection; // should be based on symbolname
     // select the last entry and scroll to it
     gridView1.BestFitColumns();
     UpdateButtons();
 }
Ejemplo n.º 2
0
 private int GetNumberOfTransactions(string project)
 {
     int retval = 0;
     string filename = m_appSettings.ProjectFolder + "\\" + project + "\\TransActionLogV2.ttl";
     if (File.Exists(filename))
     {
         TransactionLog translog = new TransactionLog();
         translog.OpenTransActionLog(m_appSettings.ProjectFolder, project);
         translog.ReadTransactionFile();
         retval = translog.TransCollection.Count;
     }
     return retval;
 }