Beispiel #1
0
 public ResultsForm(float loan, float interestRate, float years)
 {
     InitializeComponent(loan, interestRate, years);
     buttonGenerateCSV.Click += new System.EventHandler((sender, e) => {
         GenerateCSV.GenerateFile(InterestRateCalculator.Calculate(loan, interestRate, years));
     });
 }
 public void GenerateWithClick(float loan, float interestRate, float years)
 {
     GenerateCSV.GenerateFile(InterestRateCalculator.Calculate(loan, interestRate, years));
 }