GithubHelp home page GithubHelp logo

adamdon / moviequotequiz Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 69 KB

Windows Presentation Foundation 🗃 Quiz using C# and a Metro 🔲 style design language

License: GNU General Public License v3.0

C# 100.00%
windows-presentation-foundation c-sharp xaml binary-reader mahapps-metro fody

moviequotequiz's Introduction

MovieQuoteQuiz

Multiple Choice Quiz using WPF

Screenshot of UI

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

public static void WriteToSaveFile<T>(List<T> lstListToBeWritten)
{
    try
    {
        binWriteSave.Write(SerializeListToBytes(lstListToBeWritten));
    }
    catch (IOException e)
    {
        View.UpdateStatusBarError("Could not Write to File - " + e.Message.ToString());
    }
    binWriteSave.Close();
}

moviequotequiz's People

Contributors

adamdon avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.