private void CalculateButton_TouchUpInside(object sender, EventArgs e) { this.EndEditing(true); calcQuickBase["A"] = editTextA.Text; calcQuickBase["B"] = editTextB.Text; calcQuickBase["C"] = editTextC.Text; calcQuickBase.SetDirty(); result1.Text = calcQuickBase["Exp1"]; result2.Text = calcQuickBase["Exp2"]; result3.Text = calcQuickBase["Exp3"]; }
private void Compute_Click(object sender, EventArgs e) { calcQuickBase["A"] = editTextA.Text; calcQuickBase["B"] = editTextB.Text; calcQuickBase["C"] = editTextC.Text; calcQuickBase.SetDirty(); result1.Text = calcQuickBase["Exp1"]; result2.Text = calcQuickBase["Exp2"]; result3.Text = calcQuickBase["Exp3"]; ClearFocus(); }