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