private void Input_Speech_TextChanged(object sender, EventArgs e) { Input_Speech.Select(Input_Speech.TextLength, 0); if (Input_Speech.Text.Count() == 0) { return; } if (Input_Speech.Text[Input_Speech.TextLength - 1] == '\n' || Input_Speech.Text[Input_Speech.TextLength - 1] == '\t') { Input_Speech.Text = Input_Speech.Text.Remove(Input_Speech.TextLength - 1); } }
private void clear_Click(object sender, EventArgs e) { Input_Speech.Clear(); }