示例#1
0
        public App()
        {
            InitializeComponent();
            Settings.Init();
            var mainWindow    = new MainWindowView();
            var mainViewModel = new MainWindowModelView(mainWindow);

            Behaviors.Init(mainViewModel, (IBehavior)Settings.Instance);
            mainWindow.Init(mainViewModel);
            mainWindow.Show();
        }