home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / assemblies / RothIRA / RothAnalyzer / analyzer.cs next >
Encoding:
Text File  |  2000-06-23  |  1.6 KB  |  83 lines

  1. /*+==========================================================================
  2.   File:      analyzer.cs
  3.  
  4.   Summary:   Contains a class used to hold the temporary data needed for the Roth calc
  5.  
  6.   Classes:   CRothAnalyzer
  7.  
  8.   Functions: None
  9.              
  10. ----------------------------------------------------------------------------
  11.   This file is part of the Microsoft NGWS Samples.
  12.  
  13.   Copyright (C) 1998-1999 Microsoft Corporation.  All rights reserved.
  14. ==========================================================================+*/
  15.  
  16. using System;
  17. using Samples.Assemblies.Download.Calcr;
  18. using Samples.Assemblies.Download.Statics;
  19.  
  20. namespace Samples.Assemblies.Download.Analyzer
  21. {
  22.  
  23.     public class CRothAnalyzer
  24.     {
  25.  
  26.       public String Name
  27.       {
  28.         get 
  29.         { 
  30.           return CRothStatics.ParticipantName;
  31.         }
  32.         set 
  33.         { 
  34.           CRothStatics.ParticipantName = value;
  35.           return; 
  36.         }
  37.       }
  38.  
  39.  
  40.       public int AGI
  41.       {
  42.         get 
  43.         { 
  44.           return CRothStatics.ParticipantAGI;
  45.         }
  46.         set 
  47.         { 
  48.           CRothStatics.ParticipantAGI = value;
  49.           return; 
  50.         }
  51.       }
  52.  
  53.       public int FilingStatus
  54.       {
  55.         get 
  56.         { 
  57.           return CRothStatics.ParticipantFilingStatus;
  58.         }
  59.         set 
  60.         { 
  61.           CRothStatics.ParticipantFilingStatus = value;
  62.           return; 
  63.         }
  64.       }
  65.  
  66.       public int GetAmount()        
  67.       { 
  68.         CRothCalculator calc = new CRothCalculator();
  69.         return calc.GetAmount(CRothStatics.ParticipantAGI, CRothStatics.ParticipantFilingStatus);
  70.       }
  71.  
  72.       public bool GetCanConvert() 
  73.       { 
  74.         CRothCalculator calc = new CRothCalculator();
  75.         return calc.GetCanConvert(CRothStatics.ParticipantAGI, CRothStatics.ParticipantFilingStatus); 
  76.       }
  77.  
  78.  
  79.     }
  80.  
  81. }
  82.  
  83.