예제 #1
0
 private void leftParenthesisBtn_Click(object sender, EventArgs e)
 {
     try
     {
         resultFormula.AddItem("(");
         formulaTB.Text = resultFormula.ToString();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
예제 #2
0
 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);
     }
 }