|
|
| In lesson 20, we have created an audio player. Now,
by making further modifications, you can transform the audio player into a picture viewer.
This viewer will be created in such a way that it could search for all types of
graphics files in your drives and displays them
in a picture frame.
Similar to the previous project, in this project, you need
to insert a ComboBox, a DriveListBox, a DirListBox, a TextBox and a
FileListBox
into your form. I Shall briefly explain again the function of each of the above
controls.
- ComboBox- to display and enable selection of different
type of files.
- DriveListBox- to allow selection selection of different
drives available on your PC.
- DirListBox - To display directories
- TextBox - To display selected files
- FileListBox- To display files that are available
|
|
Relevant codes must be written to coordinate all the above
controls so that the application can work properly. The program should flow in
the following logical way:
Step 1: User chooses the type of files he wants to play.
Step2:User selects the drive that might contains the
relevant graphic files.
Step 3:User looks into directories and subdirectories for
the files specified in step1. The files should be displayed in the
FileListBox.
Step 4: User selects the files from the FileListBox
and click the Show button.
Step 5: User clicks on Exit button to end the
application.
|