让单选按钮和button关联

        private void radioButtonSendRightNow_CheckedChanged(object sender, EventArgs e)
        {
            this.buttonSendRightNow.Enabled = this.radioButtonSendRightNow.Checked;
        }

 

你可能感兴趣的:(button)