private void backgroundWorkerAudio_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            buttonPlay.Visible = false;
            buttonPlay.Enabled = true;
            buttonPlay.Text    = "Play";
            labelReady.Visible = false;

            pictureBoxGEMS.Visible           = true;
            groupBoxWonder.Visible           = true;
            groupBoxTranscendence.Visible    = true;
            groupBoxPower.Visible            = true;
            groupBoxTenderness.Visible       = true;
            groupBoxNostalgia.Visible        = true;
            groupBoxPeacefulness.Visible     = true;
            groupBoxJoyfulActivation.Visible = true;
            groupBoxSadness.Visible          = true;
            groupBoxTenderness.Visible       = true;
            groupBoxTension.Visible          = true;

            textBoxWonder.Visible           = true;
            textBoxTranscendence.Visible    = true;
            textBoxPower.Visible            = true;
            textBoxTenderness.Visible       = true;
            textBoxNostalgia.Visible        = true;
            textBoxPeacefulness.Visible     = true;
            textBoxJoyfulActivation.Visible = true;
            textBoxSadness.Visible          = true;
            textBoxTenderness.Visible       = true;
            textBoxTension.Visible          = true;

            buttonSubmit.Visible = true;

            _submitEventArgs = new SubmitEventArgs();
        }
Exemple #2
0
        void _experiment_Submit(object sender, EventArgs e)
        {
            SubmitEventArgs submit = (SubmitEventArgs)e;

            string filename = "..\\" + _currentUser + Path.GetFileName(submit.AudioFileName) + "_GEMS_AV.csv";

            try
            {
                _writeToFileGEMS = new Logging(filename, _delimeter);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, Control.ApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                throw;
            }

            _writeToFileGEMS.WriteGemsAVData(submit);
            _writeToFileGEMS.CloseFile();
        }