[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm SummaryTabPage.cs,1.2,1
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:03:25
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21998/b5_Presentation/Reporting/WindowsForm Modified Files: SummaryTabPage.cs Log Message: Commissions have been added to the report Summary. Index: SummaryTabPage.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/SummaryTabPage.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SummaryTabPage.cs 6 Aug 2004 13:48:35 -0000 1.2 --- SummaryTabPage.cs 13 Feb 2005 21:03:16 -0000 1.3 *************** *** 38,42 **** private int xForLabels = 17; private int textLabelsWidth = 180; ! private int valueLablesWidth = 50; private int textToValueLabelSpacing = 8; private int valueToTextLabelSpacing = 50; --- 38,42 ---- private int xForLabels = 17; private int textLabelsWidth = 180; ! private int valueLablesWidth = 60; private int textToValueLabelSpacing = 8; private int valueToTextLabelSpacing = 50; *************** *** 52,55 **** --- 52,57 ---- private System.Windows.Forms.Label lblMaxEquityDrawDown; private System.Windows.Forms.Label lblValMaxEquityDrawDown; + private System.Windows.Forms.Label lblTotalCommission; + private System.Windows.Forms.Label lblValTotalCommission; private System.Windows.Forms.Label lblTotalNumberOfTrades; private System.Windows.Forms.Label lblValTotalNumberOfTrades; *************** *** 131,134 **** --- 133,138 ---- this.lblMaxEquityDrawDown = new System.Windows.Forms.Label(); this.lblValMaxEquityDrawDown = new System.Windows.Forms.Label(); + this.lblTotalCommission = new System.Windows.Forms.Label(); + this.lblValTotalCommission = new System.Windows.Forms.Label(); this.lblTotalNumberOfTrades = new System.Windows.Forms.Label(); this.lblValTotalNumberOfTrades = new System.Windows.Forms.Label(); *************** *** 191,195 **** // this.addTextLabel( lblMaxEquityDrawDown , "lblMaxEquityDrawDown" , ! "Max equity drawydown (%):" ); // // lblValMaxEquityDrawDown --- 195,199 ---- // this.addTextLabel( lblMaxEquityDrawDown , "lblMaxEquityDrawDown" , ! "Max equity drawdown (%):" ); // // lblValMaxEquityDrawDown *************** *** 197,200 **** --- 201,213 ---- this.addValueLabel( lblValMaxEquityDrawDown , "lblValMaxEquityDrawDown" ); // + // lblTotalCommission + // + this.addTextLabel( this.lblTotalCommission , "lblTotalCommission" , + "Total Commission Amount:" ); + // + // lblValTotalCommission + // + this.addValueLabel( this.lblValTotalCommission , "lblValTotalCommission" ); + // // lblTotalNumberOfTrades // *************** *** 300,303 **** --- 313,318 ---- this.lblValMaxEquityDrawDown.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.MaxEquityDrawDown ); + this.lblValTotalCommission.Text = + FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.TotalCommissionAmount ); this.lblValTotalNumberOfTrades.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.TotalNumberOfTrades ); |