[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm Report.cs,1.3,1.4
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-01-09 23:44:24
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15780/b5_Presentation/Reporting/WindowsForm Modified Files: Report.cs Log Message: - the IHistoricalQuoteProvider "concept" has been introduced Index: Report.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/Report.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Report.cs 29 Nov 2004 16:20:00 -0000 1.3 --- Report.cs 9 Jan 2005 23:44:15 -0000 1.4 *************** *** 23,26 **** --- 23,27 ---- using System.Windows.Forms; using QuantProject.ADT; + using QuantProject.Business.DataProviders; using QuantProject.Business.Financial.Accounting; using QuantProject.Business.Financial.Accounting.Reporting; *************** *** 35,44 **** { private Account account; private AccountReport accountReport; private ReportTabControl reportTabControl; ! public Report( Account account ) { this.account = account; } --- 36,47 ---- { private Account account; + private IHistoricalQuoteProvider historicalQuoteProvider; private AccountReport accountReport; private ReportTabControl reportTabControl; ! public Report( Account account , IHistoricalQuoteProvider historicalQuoteProvider ) { this.account = account; + this.historicalQuoteProvider = historicalQuoteProvider; } *************** *** 51,55 **** if ( this.accountReport == null ) this.accountReport = this.account.CreateReport( reportName , ! numDaysForInterval , endDateTime , buyAndHoldTicker ); } private void show_populateForm() --- 54,59 ---- if ( this.accountReport == null ) this.accountReport = this.account.CreateReport( reportName , ! numDaysForInterval , endDateTime , buyAndHoldTicker , ! this.historicalQuoteProvider ); } private void show_populateForm() |