private void textBox1_TextChanged(object sender, EventArgs e) { textBox2.Text = mycode.TextToCode(textBox1.Text); }