private void createButton_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.editMode = false;
            Properties.Settings.Default.Save();
            NewCardsForm ncf = new NewCardsForm();

            ncf.ShowDialog();
        }
        private void backButton_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.backButtonPressed = true;
            Properties.Settings.Default.Save();
            Dispose();
            NewCardsForm ncf = new NewCardsForm();

            ncf.ShowDialog();
        }
 private void topic1Button_Click(object sender, EventArgs e)
 {
     if (quizSelectionComboBox.Text != "")
     {
         Properties.Settings.Default.currentSelectedQuiz = quizSelectionComboBox.Text;
         Properties.Settings.Default.Save();
         Dispose();
         if (userType == "study")
         {
             StudyForm sf = new StudyForm();
             sf.ShowDialog();
         }
         else if (userType == "edit")
         {
             NewCardsForm ncf = new NewCardsForm();
             ncf.ShowDialog();
         }
     }
     else
     {
         MessageBox.Show("Please select a quiz to " + userType + ".", "No Quiz Selected");
     }
 }