Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public MovieServiceForm()
- {
- InitializeComponent();
- foreach (Movie m in test.AllMovies())
- {
- if(!comboBox_year.Items.Contains(m.YearOfPublication))
- comboBox_year.Items.Add(m.YearOfPublication);
- }
- foreach (Category c in test.AllCategories())
- {
- comboBox_cat.Items.Add(c.Name);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement