示例#1
0
        public MainPage()
        {
            InitializeComponent();
            PrepareSheet();

            _viewModel = new Common.MainPageViewModel(new SynchronizationContextScheduler(SynchronizationContext.Current));

            DataContext = _viewModel;
        }
示例#2
0
        public MainPage()
        {
            InitializeComponent();
            PrepareSheet();

            _viewModel = new Common.MainPageViewModel(new CoreDispatcherScheduler(Dispatcher));

            DataContext = _viewModel;
        }