Ejemplo n.º 1
0
        private void SetGridValues(Movie SingleMovie)
        {
            DataMovies.Rows.Clear();
            DataMovies.Refresh();

            this.DataMovies.Rows.Add(SingleMovie.Tittle, SingleMovie.EnglishTittle, SingleMovie.Rate,
                                     SingleMovie.Genre, SingleMovie.Year, SingleMovie.Country, SingleMovie.HowMuchWantSee);

            DataMovies.Refresh();
        }
Ejemplo n.º 2
0
        private void SetGridValues(List <Movie> MoviesList)
        {
            DataMovies.Rows.Clear();
            DataMovies.Refresh();

            foreach (var movie in MoviesList)
            {
                this.DataMovies.Rows.Add(movie.Tittle, movie.EnglishTittle, movie.Rate,
                                         movie.Genre, movie.Year, movie.Country, movie.HowMuchWantSee);
            }
        }
Ejemplo n.º 3
0
 private void ClearSelection()
 {
     DataMovies.ClearSelection();
 }