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