Beispiel #1
0
 private void OnGetMovieCallback(ImdbMovie mov, Exception ex)
 {
     IsBusy = false;
     if (ex != null)
     {
         Messenger.Default.Send(ex);
         SelMovie = null;
         return;
     }
     SelMovie = new SingleMovieViewModel(mov);
 }
Beispiel #2
0
 private void OnGetMovieCallback(ImdbMovie mov, Exception ex)
 {
     IsBusy = false;
     if (ex != null)
     {
         Messenger.Default.Send(ex);
         SelMovie = null;
         return;
     }
     SelMovie = new SingleMovieViewModel(mov);
 }
Beispiel #3
0
        private void NewMovie()
        {
            if (IsBusy)
            {
                return;
            }

            SelMovie = new SingleMovieViewModel(new ImdbMovie())
            {
                IsDirty = true,
                IsNew   = true,
            };
            Movies.Add(SelMovie);
        }
Beispiel #4
0
        private void NewMovie()
        {
            if (IsBusy)
                return;

            SelMovie = new SingleMovieViewModel(new ImdbMovie())
            {
                IsDirty = true,
                IsNew = true,
            };
            Movies.Add(SelMovie);
        }