示例#1
0
        public static void Main(string[] args)
        {
            var projectPath = @"F:\Projects\CrossUI\CrossUI.TestSample\";
            var compiler    = new Compiler(projectPath);

            compiler.Build();

            var fileWatch = new FileWatch(projectPath);

            fileWatch.OnChanged += () =>
            {
                compiler.DisableDraw();
                compiler.Build();
            };

            Window.Run();
            Console.Read();
            return;
        }
示例#2
0
文件: Program.cs 项目: lulzzz/CrossUI
 public static void Run(ref CrossWindow window)
 {
     window.Run();
 }