コード例 #1
0
 public CalcUI(string[] args)
 {
     this.args = args;
     InitializeComponent();
     if (args.Length > 0)
     {
         string expression = args[0];
         Console.WriteLine(AnalyzerClass.Estimate(expression));
     }
 }
コード例 #2
0
 private void buttonEqual_Click(object sender, EventArgs e)
 {
     textBoxResult.Text = AnalyzerClass.Estimate(textBoxExpression.Text);
 }