[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting Account.cs,1.4,1.5
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-08-14 21:12:18
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18585/b4_Business/a1_Financial/a2_Accounting Modified Files: Account.cs Log Message: Moved reporting features from the Account class to this new created class (fixed the n-tier approach) Index: Account.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Account.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Account.cs 28 Nov 2003 15:32:10 -0000 1.4 --- Account.cs 14 Aug 2004 21:12:09 -0000 1.5 *************** *** 22,32 **** using System; using System.Data; - using System.Windows.Forms; using System.IO; - using System.Runtime.Serialization.Formatters.Soap; - using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using Excel; using QuantProject.ADT; --- 22,31 ---- using System; + using System.Collections; using System.Data; using System.IO; using System.Reflection; using System.Runtime.InteropServices; + using System.Runtime.Serialization.Formatters.Soap; using Excel; using QuantProject.ADT; *************** *** 103,107 **** catch (Exception exception) { ! MessageBox.Show( exception.ToString() ); } } --- 102,107 ---- catch (Exception exception) { ! exception = exception; // to avoid warning message ! /// TO DO!!! } } *************** *** 171,182 **** } - public void ReportToConsole( DateTime dateTime ) - { - Console.WriteLine( "\n\n\n***********\n" ); - Console.WriteLine( "Report for Account: " + this.Key ); - Console.WriteLine( this.ToString( dateTime ) ); - Console.WriteLine( this.Transactions.ToString() ); - } - public AccountReport CreateReport( string reportName , int numDaysForInterval , ExtendedDateTime endDateTime ) --- 171,174 ---- |