让单选按钮和button关联

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

 

posted @ 2012-12-14 11:05  麦田HH  阅读(280)  评论(0编辑  收藏  举报