Develop a C# Visual Studio Windows Forms application with the
following User Interface:
![]() |
|||
![]() |
|||
![]() |
|||||||||||
The three Labels (Title, Category and Year) and the
corresponding Textboxes will be used to enter Movie Title, Category and Year.
‘Year’ box should be a Numeric Up/Down control with that
start value of 2000.
When ‘Add Movie’ button is clicked, the entered movie will be
added to a Generic List. Provide feedback to the user if one or more fields are
empty. A Movie will not be added unless all three fields are filled.
When ‘List Movies’ button is clicked, the titles of the
current movies in the list will be displayed in the Multi-line TextBox under
‘Movie Titles:’. If the user Lists the titles, then adds more movies and lists
titles again, the Listbox should show the updated list.
When ‘Clear Fields’ button is clicked, the three Textboxes will
be cleared.
When ‘Save to File’ button is clicked, the List of Movies
should be saved to a file called .Movies.txt’ in the c:\Projects directory as a
comma separated list, one movie per line.
When ‘Exit’ button is clicked, the application will terminate.
( continued next page)
Also include a Menu with File/Action/Help as menu items.
Under File there should be ‘Exit’ menu item.Under ‘Action’, there should be
‘Add Movie’ , ‘Clear Fields’ , ‘List Movie’ and ‘Save to File’ menu items.
Under ‘Help’ add ‘About’ menu item. All menu items must be active!



No comments:
Post a Comment