private void cmbMessageType_SelectedIndexChanged(object sender, EventArgs e) { updateControlStates(); }