radiobutton的问题 [英] Problem with radiobutton

查看:85
本文介绍了radiobutton的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设置了检查的radiobutton是假的。但是当我运行应用程序时,它还检查了radiobutton 1.如何修复它?



我尝试过:



这是我的代码

I set "Checked" of radiobutton is false. But when I run the Application, it also checked at radiobutton 1. How can I fix it?

What I have tried:

This is my code

private void gg_Load(object sender, EventArgs e)
{
    radioButton1.Checked = false;
    radioButton2.Checked = false;
    radioButton3.Checked = false;
    radioButton4.Checked = false;
}





这是以下链接:check.png - Google云端硬盘 [ ^ ]



感谢您的帮助!!



And , this is link of picture : check.png - Google Drive[^]

Thanks for your help!!

推荐答案

在所有单选按钮上将TabStop属性设置为false。我知道这听起来很奇怪,但这是你想要的唯一方法(假设我们在这里谈论WinForms,因为你没有指定)。
Set the TabStop property to false on all of the radio buttons. I know it sounds weird, but this is the only way to do what you want (assuming we're talking about WinForms here, since you didn't specify).


这篇关于radiobutton的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆