Exemple #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;
        }
Exemple #2
0
 public static void Run(ref CrossWindow window)
 {
     window.Run();
 }