private void Start3_Click(object sender, EventArgs e) { ReactionForm reactionForm = new ReactionForm(false, ReactionFirstTry, ReactionRecord); DialogResult result = reactionForm.ShowDialog(this); ReactionFirstTry = reactionForm.firstTry; ReactionRecord = reactionForm.recod; Log3FirstTry.Text = ReactionFirstTry.logValue; Log3Record.Text = ReactionRecord.logValue; }
private void Start4_Click(object sender, EventArgs e) { ReactionForm reactionForm = new ReactionForm(true, ReactionSoundFirstTry, ReactionSoundRecord); DialogResult result = reactionForm.ShowDialog(this); ReactionSoundFirstTry = reactionForm.firstTry; ReactionSoundRecord = reactionForm.recod; Log3FirstTry.Text = ReactionSoundFirstTry.logValue; Log3Record.Text = ReactionSoundRecord.logValue; reactionForm.Close(); }