programming c#

Hello

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

I have a programming class ( we work in visual studio) c# language

I want someone to help me in assignment ( I have a design interface and I need the code)

I attached the interface and notepad for the coding

using System;
. . .
namespace paymentCalcApp2017c1_proj
{
public sealed partial class MainPage : Page
{
. . . intTerms . . . ;
. . . intPercents . . . };
. . . intTerm;
. . . decRate;
. . . ERR_MESSAGE = ” Bad Data! Please validate your inputs.”;
public MainPage()
{
this.InitializeComponent();
}
private void LoadPage(object sender, RoutedEventArgs e)
{
termList. . . . ;
rateList. . . . ;
foreach ( . . . )
{
termList . . . ;
}
foreach ( . . . )
{
rateList . . . ;
}
termList. . . . = 0;
rateList. . . . = 0;
resultList.Visibility . . . ;
}
private void calcButton_Click(object sender, RoutedEventArgs e)
{
. . . decLoanAmount, decPayment;
. . . intTermIndex, intRateIndex, intTerm, intPercent;
. . . strLoanAmount;
. . . blnAmountOK;
resultList.Items.Clear();
strLoanAmount = . . . ;
. . . = decimal.TryParse( . . . );
intTermIndex = termList.SelectedIndex – 1;
intRateIndex = rateList.SelectedIndex – 1;
if (blnAmountOK && intTermIndex >= 0 && intRateIndex >= 0)
{
intTerm = intTerms[intTermIndex];
intPercent . . . ;
decPayment = DeterminePayment( . . . );
HandleOutput( . . . );
}
else
{
resultList. . . . ;
resultList. . . . ;
amountBox.SelectAll();
}
resultList.Visibility . . . ;
}
private decimal DeterminePayment(decimal amount, int term, int rate)
{
}
}
}
// Declare local variables and elements:
. . . dblPower, dblRate;
. . . decPower, decMultiplier, decLoanPayment;
// Convert to annual/decimal values:
intTerm = term * 12;
dblRate = (double) rate / 12 / 100;
decRate = (decimal) dblRate;
// Calculate PV factor:
dblPower . . . ;
decPower = (decimal) dblPower;
// Calculate multiplier:
decMultiplier . . . ;
// Calculate payment:
decLoanPayment . . . ;
return decLoanPayment;
private void HandleOutput(decimal amount, decimal payment)
{
// Declare local variables and elements:
string[] strResults = new string[4];
// Prepare numeric outputs for display:
strResults[0] = . . . ;
strResults[1] = . . . ;
strResults[2] = . . . ;
strResults[3] = . . . ;
// Display inputs and results to the UI:
resultList. . . . ;
foreach ( . . . )
{
resultList.Items.Add(line);
}
}
using System;
. . .
namespace paymentCalcApp2017c1_proj
{
public sealed partial class MainPage : Page
{
. . . intTerms . . . ;
. . . intPercents . . . };
. . . intTerm;
. . . decRate;
. . . ERR_MESSAGE = ” Bad Data! Please validate your inputs.”;
public MainPage()
{
this.InitializeComponent();
}
private void LoadPage(object sender, RoutedEventArgs e)
{
termList. . . . ;
rateList. . . . ;
foreach ( . . . )
{
termList . . . ;
}
foreach ( . . . )
{
rateList . . . ;
}
termList. . . . = 0;
rateList. . . . = 0;
resultList.Visibility . . . ;
}
private void calcButton_Click(object sender, RoutedEventArgs e)
{
. . . decLoanAmount, decPayment;
. . . intTermIndex, intRateIndex, intTerm, intPercent;
. . . strLoanAmount;
. . . blnAmountOK;
resultList.Items.Clear();
strLoanAmount = . . . ;
. . . = decimal.TryParse( . . . );
intTermIndex = termList.SelectedIndex – 1;
intRateIndex = rateList.SelectedIndex – 1;
if (blnAmountOK && intTermIndex >= 0 && intRateIndex >= 0)
{
intTerm = intTerms[intTermIndex];
intPercent . . . ;
decPayment = DeterminePayment( . . . );
HandleOutput( . . . );
}
else
{
resultList. . . . ;
resultList. . . . ;
amountBox.SelectAll();
}
resultList.Visibility . . . ;
}
private decimal DeterminePayment(decimal amount, int term, int rate)
{
}
}
}
// Declare local variables and elements:
. . . dblPower, dblRate;
. . . decPower, decMultiplier, decLoanPayment;
// Convert to annual/decimal values:
intTerm = term * 12;
dblRate = (double) rate / 12 / 100;
decRate = (decimal) dblRate;
// Calculate PV factor:
dblPower . . . ;
decPower = (decimal) dblPower;
// Calculate multiplier:
decMultiplier . . . ;
// Calculate payment:
decLoanPayment . . . ;
return decLoanPayment;
private void HandleOutput(decimal amount, decimal payment)
{
// Declare local variables and elements:
string[] strResults = new string[4];
// Prepare numeric outputs for display:
strResults[0] = . . . ;
strResults[1] = . . . ;
strResults[2] = . . . ;
strResults[3] = . . . ;
// Display inputs and results to the UI:
resultList. . . . ;
foreach ( . . . )
{
resultList.Items.Add(line);
}
}
AutoSave Off
P
Document1 – Word
fatimah.alsaeed@smail.astate.edu
File
Home
Insert
Draw
Design
Layout
References
Mailings
Review
View
Help
Tell me what you want to do
3 Share
Comments
Calibri (Body)
– 11
– A Ă Aa- Po
+= =
১ >
< AL X Cut Copy Format Painter Aabbccdd Aabbccdd AaBbci AaBbcc AaB Aabbccd AaBbccdd AaBbccdd 1 Normal 1 No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em... Emphasis Find Sc Replace h Select Paste Dictate B I U - ab x, X? A-DA- 19 - HA Clipboard Font Paragraph Styles Editing Voice Navigation х Search document Headings Pages Results Monthly Payments х Create an interactive outline of your document. Loan Payment Calculator It's a great way to keep track of where you are or quickly move your content around. To get started, go to the Home tab and apply Heading styles to the headings in your document. Loan amount (S): jojol Term (years): 4 years Interest rate (%): 3% Calculate Monthly Payment Bad Data! Please validate your inputs. Page 1 of 1 O words English (United States) + 100% 1 O Type here to search g Bi e (х ch ENG 2:53 PM 12/8/2018 4

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER