[Quantproject-developers] QuantProject/b5_Presentation/Reporting/WindowsForm Report.cs,1.5,1.6
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-02-12 19:10:30
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31435/b5_Presentation/Reporting/WindowsForm Modified Files: Report.cs Log Message: Added Clear and Import public methods, for clearing / importing account report member. Index: Report.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/Report.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Report.cs 30 Jan 2005 19:57:39 -0000 1.5 --- Report.cs 12 Feb 2005 19:10:18 -0000 1.6 *************** *** 75,78 **** --- 75,93 ---- base.ShowDialog(); } + /// <summary> + /// Clears the existing account report, so that a new one can be created + /// </summary> + public void Clear() + { + this.accountReport = null; + } + + /// <summary> + /// Imports an existing account report + /// </summary> + public void Import(AccountReport accountReportToBeImported) + { + this.accountReport = accountReportToBeImported; + } } } |