public DSScaleChoice(string supplier, string offered, string received, string total, long choiceTime, long nextTime, FormReadExperiment mainForm, ServerConnection serverConnection) { InitializeComponent(); experimentRecorder = new AnswerRecorder(FileName.RESULTS_EXPERIMENT, " "); offerLabel.Text = offered; this.supplier = supplierLabel.Text = supplier; realLabel.Text = received; omniumQuontityLabel.Text = total; this.choiceTime = choiceTime; this.nextTime = nextTime; this.mainForm = mainForm; this.allowClose = false; this.serverConnection = serverConnection; dsStopWatch.Start(); }
private void BeginButton_Click(object sender, EventArgs e) { Hide(); FormReadExperiment experimentForm = new FormReadExperiment(); experimentForm.Show(); }