コード例 #1
0
 public Home() {
     InitializeComponent();
     rt = new RottenTomatoe();
     timer = new DispatcherTimer() { Interval = TimeSpan.FromSeconds(1) };
     rt.FindMoviesCompleted += new EventHandler<ResultEventArgs<MovieSearchResult>>(rt_FindMoviesCompleted);
     timer.Tick += new EventHandler(timer_Tick);
 }
コード例 #2
0
 public Detail() {
     InitializeComponent();
     rt = new RottenTomatoe();
     rt.GetMovieCompleted += new EventHandler<ResultEventArgs<Movie>>(rt_GetMovieCompleted);
 }