示例#1
0
        static void Main(string[] args)
        {
            LoggerManager.Enable(LoggerType.Debug | LoggerType.Console | LoggerType.File);

            CalculatorView view = new CalculatorView
            {
                DataContext = new CalculatorViewModel()
            };
            Application app = new Application();

            app.Run(view);

            LoggerManager.Disable();
        }