コード例 #1
0
        public static void Main()
        {
            RunForever = true;
            ICoyoteRuntime runtime = RuntimeProvider.Create();

            _ = Execute(runtime);
            Console.ReadLine();
            Console.WriteLine("User cancelled the test by pressing ENTER");
        }
コード例 #2
0
        static void Main()
        {
            RuntimeProvider runtimeProvider = new RuntimeProvider();


            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run((DemoForm)runtimeProvider.ServiceProvider.GetService(typeof(DemoForm)));
        }