Skip to content

Commit 468ed29

Browse files
committed
Refactoring experiment configuration
1 parent f6aec00 commit 468ed29

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

StroopTest/Views/ExperimentPages/ExperimentConfig.Designer.cs

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

StroopTest/Views/ExperimentPages/ExperimentConfig.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Collections.Generic;
23
using System.Drawing;
34
using System.Windows.Forms;
45
using TestPlatform.Models;
@@ -132,6 +133,7 @@ private void saveButton_Click(object sender, EventArgs e)
132133

133134
if (instructionsBox.Lines.Length > 0) // lê instrução se houver
134135
{
136+
savingExperiment.InstructionText = new List<string>();
135137
for (int i = 0; i < instructionsBox.Lines.Length; i++)
136138
{
137139
savingExperiment.InstructionText.Add(instructionsBox.Lines[i]);

0 commit comments

Comments
 (0)