https://github.com/adamdon/moviequotequiz
Windows Presentation Foundation 🗃 Quiz using C# and a Metro 🔲 style design language
https://github.com/adamdon/moviequotequiz
binary-reader c-sharp fody mahapps-metro windows-presentation-foundation xaml
Last synced: 2 months ago
JSON representation
Windows Presentation Foundation 🗃 Quiz using C# and a Metro 🔲 style design language
- Host: GitHub
- URL: https://github.com/adamdon/moviequotequiz
- Owner: adamdon
- License: gpl-3.0
- Created: 2018-09-10T10:52:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T12:33:29.000Z (over 6 years ago)
- Last Synced: 2025-02-14T08:26:58.439Z (4 months ago)
- Topics: binary-reader, c-sharp, fody, mahapps-metro, windows-presentation-foundation, xaml
- Language: C#
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MovieQuoteQuiz
### Multiple Choice Quiz using WPF- [Download .exe](https://github.com/adamdon/MovieQuoteQuiz/releases/download/1.0/MovieQuoteQuiz.exe)
This side project was done on my own time to learn the WPF/XAML framework in C# and to get more familiar with the .Net technologies in general.
The program provides a simple multiple choice quiz that lets the end user save their performance with the use of a BinaryWriter/Reader in the Interface Class, Generic object Types where used to allow reuse of this class in future projects. The MahApps.Metro tool-kit was utilized to give the design a Metro-style feel. A package called Costura.Fody was installed to embed the .dll files into the .exe as a resources, so the application can be deployed as a single file
I got to use the Model–view–viewmodel for the first time here, I can really see the benefits of this more modulator architectural pattern and I will consider porting this project to other platforms to take advantage of this
```csharp
public static void WriteToSaveFile(List lstListToBeWritten)
{
try
{
binWriteSave.Write(SerializeListToBytes(lstListToBeWritten));
}
catch (IOException e)
{
View.UpdateStatusBarError("Could not Write to File - " + e.Message.ToString());
}
binWriteSave.Close();
}
```
- [View Full Source (github)](https://github.com/adamdon/MovieQuoteQuiz/tree/master/MovieQuoteQuiz)