Esempio n. 1
0
 private void Mult_btn_Click(object sender, EventArgs e)
 {
     CalculatorFunctions.Calculate(calc_resultLbl, "multiply");
 }
Esempio n. 2
0
 private void Subtract_btn_Click(object sender, EventArgs e)
 {
     CalculatorFunctions.Calculate(calc_resultLbl, "subtract");
 }
Esempio n. 3
0
 private void Equal_btn_Click(object sender, EventArgs e)
 {
     CalculatorFunctions.Calculate(calc_resultLbl, PromptResult.Type, true);
 }
Esempio n. 4
0
 private void Add_btn_Click(object sender, EventArgs e)
 {
     // Start retrieving input 2
     CalculatorFunctions.Calculate(calc_resultLbl, "add");
 }
Esempio n. 5
0
 private void Perc_btn_Click(object sender, EventArgs e)
 {
     PromptResult.PercentOf = true;
     CalculatorFunctions.Calculate(calc_resultLbl, PromptResult.Type, true);
 }
Esempio n. 6
0
 private void Div_btn_Click(object sender, EventArgs e)
 {
     CalculatorFunctions.Calculate(calc_resultLbl, "divide");
 }