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