コード例 #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();
 }
コード例 #2
0
ファイル: frmMain.cs プロジェクト: Blackfrosch/VAGEDCSuite
 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;
 }