Start() public méthode

public Start ( ) : void
Résultat void
Exemple #1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            _dispatcher = Window.Current.Dispatcher;
            _storyboard = Resources["RotatingSquare"] as Storyboard;
            _storyboard.Begin();

            _viewModel = e.Parameter as DashboardViewModel;
            _viewModel.Tweets.CollectionChanged += TweetsCollectionChanged;
            _viewModel.Start();

            DataContext = _viewModel;
        }
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            _dispatcher = Window.Current.Dispatcher;
            _storyboard = Resources["RotatingSquare"] as Storyboard;
            _storyboard.Begin();

            _viewModel = e.Parameter as DashboardViewModel;
            _viewModel.Tweets.CollectionChanged += TweetsCollectionChanged;
            _viewModel.Start();

            DataContext = _viewModel;
        }