using System; using System.Windows.Forms; using FormulaEnginePoC.CSharpProvider; using FormulaEnginePoC.UI; namespace FormulaEnginePoC { internal static class Program { /// /// 应用程序的主入口点。 /// [STAThread] private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new SampleForm()); } private static void Test() { var com = new ExpressionCompiler>("param0+param1", null); com.Compile(); var ret = com.CompiledDelegate(1, "1"); } } }