예제 #1
0
        }         // End openQAFileToolStripMenuItem_Click

        /// <summary>
        /// Called when the File-> Save file and Return to dashboard menu option is clicked
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void saveFileAndReturnToDashboardToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // send the current local value of the qaDictionary to QAFileDataModel's QandADictionary
            AnswerQuestionsDataModel.QandADictionary = qaDictionary;
            AnswerQuestionsDataModel.saveQAFile();
            this.Hide();
            this.Close();
            QADashboard dashboardForm = new QADashboard();

            dashboardForm.ShowDialog();
        }// End saveFileAndReturnToDashboardToolStripMenuItem_Click
예제 #2
0
        }// End wrongButton_Click(

        private void saveAndReturnToDashboardMenuItem_Click(object sender, EventArgs e)
        {
            //if (testTypeExam)
            //{
            //    updateExamData();

            //    // Update the Cumulative results file

            //    // Return to dashboard
            //    this.Hide();
            //    QADashboard dashboardForm = new QADashboard();
            //    dashboardForm.ShowDialog();
            //}
            //else
            //{
            this.Hide();
            QADashboard dashboardForm = new QADashboard();

            dashboardForm.ShowDialog();
            //}
        }//End saveAndReturnToDashboardMenuItem_Click