private void inputText_TextChanged(object sender, EventArgs e) { sendButton.Enabled = inputTextBox.Text != ""; }