[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm ReportTabControl.cs,1.1
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-08-08 13:43:36
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22123/b5_Presentation/Reporting/WindowsForm Modified Files: ReportTabControl.cs Log Message: Added TabPages to display DataGrids for the round trades table, for the equity line table, and for the transactions table. Index: ReportTabControl.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/ReportTabControl.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ReportTabControl.cs 1 Aug 2004 00:18:48 -0000 1.1 --- ReportTabControl.cs 8 Aug 2004 13:43:28 -0000 1.2 *************** *** 32,37 **** { private AccountReport accountReport; ! private TabPage equityChart; ! private TabPage summary; public ReportTabControl( AccountReport accountReport ) --- 32,40 ---- { private AccountReport accountReport; ! private EquityChartTabPage equityChart; ! private SummaryTabPage summary; ! private ReportGridTabPage roundTrades; ! private ReportGridTabPage equity; ! private ReportGridTabPage transactions; public ReportTabControl( AccountReport accountReport ) *************** *** 43,46 **** --- 46,58 ---- this.summary = new SummaryTabPage( this.accountReport ); this.Controls.Add( this.summary ); + this.roundTrades = new ReportGridTabPage( + "Round Trades" , this.accountReport.RoundTrades ); + this.Controls.Add( this.roundTrades ); + this.equity = new ReportGridTabPage( + "Equity" , this.accountReport.Equity ); + this.Controls.Add( this.equity ); + this.transactions = new ReportGridTabPage( + "Transactions" , this.accountReport.TransactionTable ); + this.Controls.Add( this.transactions ); } } |