private void leftParenthesisBtn_Click(object sender, EventArgs e) { try { resultFormula.AddItem("("); formulaTB.Text = resultFormula.ToString(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void addConditionFormulaBtn_Click(object sender, EventArgs e) { try { if (conditionFormulaFluentsCmb.SelectedValue == null) { return; } conditionFormula.AddItem(conditionFormulaFluentsCmb.SelectedValue); conditionFormulaTB.Text = conditionFormula.ToString(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }