//Show formulas: private void button2_Click(object sender, System.EventArgs e) { this.textBox1.Text = calculator.GetFormula("A"); this.textBox2.Text = calculator.GetFormula("B"); this.textBox3.Text = calculator.GetFormula("C"); this.textBox4.Text = calculator.GetFormula("D"); }
private void butForm_Click(object sender, RoutedEventArgs e) { this.txtA.Text = calculator.GetFormula("A"); this.txtB.Text = calculator.GetFormula("B"); this.txtC.Text = calculator.GetFormula("C"); this.txtD.Text = calculator.GetFormula("D"); }