예제 #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();
 }