private void AddressTextBox_TextChanged(object sender, EventArgs e) { this.connectButton.Enabled = this.addressTextBox.Text.Length > 0; }