Today’s work on the assignment started off with another of my ‘bright’ ideas. When adding a new track to the library, if the user didn't have an artwork image to match the track, I had initially asked them to pick any old picture to be displayed instead. However, upon reflection, I thought it might be better to give the user the option of just having the Party Toonz Logo displayed as a default. Putting the initial If statement into the Add New Track form was reasonably straight forward (with Jake’s help). However after testing we realised I also had to also add an If statement to the Delete button to make sure that the Party Toonz Logo was never deleted from the Artwork source folder.
Then we coded up the play button for the media player, which was actually easier than I thought it would be – hoorah! Rachael’s example looked really complicated because it included things like the OpenFileDialog and the Listbox but, seeing as these things were already taken care of with our existing interface, all we had to do was set up a variable to store the File Path for our previously selected track (from the GetTrack procedure). Done! The only “snag” of sorts was that we didn’t want the user to be able to use the existing buttons of the media player as they wouldn't be coded correctly, but this was easily fixed by covering the existing buttons with our newly coded buttons. Something else to tick off the list :o).
So, jobs done:
• Insert Media Player
• Create Play/Pause/Stop Buttons
• Create Volume Up/Down/Mute Buttons
Jobs still to do:
• Reader and Writer Classes
• Favourite Buttons
• Help File
• About Information
• Publish
Signing off from Blog 2.
Deb.
Element Naming Techniques in ASP.NET
16 years ago

No comments:
Post a Comment