Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T12:33:29.000Z (about 6 years ago)
- Last Synced: 2024-10-17T17:14:23.092Z (about 1 month 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)
![Screenshot of UI](https://adamdon.github.io/img/MovieQuoteQuiz_screenshot01.gif)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)