private void botModifyToolStripMenuItem_Click(object sender, EventArgs e) { computerScript.Mutate(); codeInput.Text = ""; foreach (String line in computerScript.getLines()) { codeInput.Text += line + Environment.NewLine; } }
private void botGenerateToolStripMenuItem_Click(object sender, EventArgs e) { Dictionary <String, object> inputs = ParseInputs(variableInput.Text); computerScript = new BotScript(inputs.Keys, inputs.Keys, OPERATORS, 20); codeInput.Text = ""; foreach (String line in computerScript.getLines()) { codeInput.Text += line + Environment.NewLine; } }