Пример #1
0
        public ListUserControl(string title, bool menu, int genreId, string message)
        {
            InitializeComponent();
            InitializeColors();
            InitializeImages();
            this.menu.Visible = menu;
            window.Text       = title;
            var list   = MovieController.GetByGenre(genreId);
            var thread = new Thread(() => FillListView(list, message));

            thread.Start();
        }