Create a WPF application that quizzes users on their knowledge of national flags. The applicationshould display a series of flags in a random order (with no repeats). As each flag is displayed, the...

Create a WPF application that quizzes users on their knowledge of national flags. The applicationshould display a series of flags in a random order (with no repeats). As each flag is displayed, the usershould be able to select the flag’s country from a drop-down list and submit an answer. Theapplication should keep a running tally of how the user has performed. The flag images are availablefor download under this assignment instruction. Due to the flag image needs to change from country to country, its Source property needs to be set inyour code. In your XAML, you can set a string file path to be an Image’s Source, but the Sourceproperty actually takes an ImageSource object as its value. When your XAML document is compiled,the string file path is converted. To set an Image’s Source in your code, you must specify anImageSource object. To create an ImageSource object from a string file path, you can use the code assuch: ImageSourceConverter converter = new ImageSourceConverter(); ImageSource source = (ImageSource)converter.ConvertFromString(path); where path is the string file path.

May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here