File

Transcription

File
Design Your Own App Lab Team Name: Wedding Singers Team Members: Nicole Purpose: The purpose of this app is to help the Bride and Groom decide which song package they want for their wedding. This app allows the user to preview the songs associated with the standard music packages, view their lyrics, and view costs of the different music packages (standard and custom) offered. Once a music package is selected, this app also helps the musicians know which songs to play and if new songs need to be learned before the wedding. User Input: The user must enter in their name in the first textbox, enter in the date of their wedding in the second textbox below, and must select one of the radio button music package options. If they select custom song package, then they will need to check whether they would like 1, 2, 3, or 4 custom songs or some sort of mix and match of custom and songs displayed on the app. If they request a custom song package, they will need to enter in the song names in the text below the “Mix n Match” checkbox. GUI Features: This app will have visual appeal with a custom background, font, colors and images of the artists who sing the songs. The music played includes songs associated with the listed standard wedding packages. The listbox output allows the Bride and Groom to see the standard song package lyrics and their confirmed music package order. • This app has a lace wallpaper background design. • This app plays 4 different songs: o “Home” cover by Jasmine Thompson o “Heaven Candlelight Remix” cover by DJ Sammy & Yanou o “Ho Hey” cover by Hannah Trigwell o “Fairytale” by Taylor Swift • This app uses the Segoe Script and Segoe UI fonts. • The words and buttons are in either turquoise, black, white, or beige. • The lyrics and order confirmation are displayed in the listbox. Input Validation Function: This app will require that the user put their name in the textbox, the date of the wedding in the second textbox and have at least one radio button selected before displaying order confirmation. Furthermore, if the custom song package is selected, then they must check at least one of the checkboxes to select the number of songs in the custom package. If these requirements are not fulfilled, then a message will be displayed in the message label. They must also list the names of the custom songs in the textbox as well. If not, a reminder is displayed. Functions and Sub Procedures: Function StandardSongPkg(dec4songs, dec3Songs, dec2Songs, dec1Song) Calculates the total for the standard package selection Function CustomSongPkg(dec4CustSongs, dec3CustSongs, dec2CustSongs, dec1CustSong) Calculates the total for the custom package selection. Also checks for more than one checkbox selected and displays error message if so. If MixNMatch selected, then label saying to call for price is displayed. Sub Procedure ClearLyrics( ) Clears the lyrics displayed in the listbox. 1 Design Your Own App Lab Output: The listbox displays the lyrics and the order confirmation of Name, Date of Wedding and Cost of Song package. The empty label displays error messages. Mock Up Design of GUI: GUI Design Key: Control Name lblTitle lblSubTitle lblName About Contents “Wedding Song Packages” “Custom Song Packages” “Name:” 2 Design Your Own App Lab lblWeddingDate lblCustom lbl4Songs lbl3Songs lbl2Songs lbl1Song lbl4CustomSongs lbl3CustomSongs lbl2CustomSongs lbl1CustomSong lblMixNMatch lblListSongs lblMessage lblWeddingSongs lblLyricsConfirmation txtName txtDate txtCustom radCustom rad4Songs rad3Songs rad2Songs rad1Song chk4Custom chk3Custom chk2Custom chk1Custom chkMixNMatch imgDJSAMMY imgJasmine imgTaylor imgHannah btnPlayHeaven btnPlayHome btnPlayFairytale btnPlayHoHey btnStop btnConfirmOrder btnClear btnExit lstLyrics “Wedding Date:” “Custom Song Package” “4 songs ($80)” “3 songs ($70)” “2 songs ($50)” “1 song ($40)” “4 custom songs ($160)” “3 custom songs ($140)” “2 custom songs ($100)” “1 custom song ($80)” “Mix’N Match Custom & Available” “List Requested Songs” Blank to display error messages “Wedding Song Options” “Lyrics and Confirmation” Holds name entered Holds date entered Holds custom songs entered Custom radiobutton selection 4 songs radiobutton selection 3 songs radiobutton selection 2 songs radiobutton selection 1 song radiobutton selection 4 songs checkbox selection 3 songs checkbox selection 2 songs checkbox selection 1 song checkbox selection Mix N Match checkbox selection DJSAMMY picture Jasmine Thompson picture Taylor Swift picture Hannah Trigwell picture Button to play “Heaven” & show lyrics Button to play “Home” & show lyrics Button to play “Fairytale” & show lyrics Button to play “Ho Hey” & show lyrics Button to stop playing song & clear lyrics Button displays the Name, wedding date, music package order (including any custom songs) & Total. Button clears all the textboxes, radiobuttons, checkboxes and listbox. Button to exit Listbox for lyrics and Confirmation Output 3 Design Your Own App Lab 4