Start() 공개 메소드

public Start ( ) : void
리턴 void
예제 #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;
        }
예제 #2
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;
        }