[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm Report.cs,1.8,1.9
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-03-13 23:34:51
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31180/b5_Presentation/Reporting/WindowsForm Modified Files: Report.cs Log Message: Added GetLastTradeDate method, to get the date of the last trade viewed in report. Index: Report.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/Report.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Report.cs 15 Feb 2005 19:09:05 -0000 1.8 --- Report.cs 13 Mar 2005 23:34:40 -0000 1.9 *************** *** 94,98 **** this.accountReport = null; } ! // /// <summary> // /// Imports an existing account report --- 94,107 ---- this.accountReport = null; } ! ! /// <summary> ! /// Gets the date of the last trade ! /// </summary> ! public DateTime GetLastTradeDate() ! { ! object returnValue; ! returnValue = this.account.Transactions.GetKey(this.account.Transactions.Count -1); ! return (DateTime)returnValue; ! } // /// <summary> // /// Imports an existing account report |