如何在C#窗体中第二次选择单选按钮选择 [英] How to retrive radio button select on second time in C# windows form

查看:238
本文介绍了如何在C#窗体中第二次选择单选按钮选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我放了2个单选按钮。如果我检查单选按钮1并关闭执行。在第二次执行需要默认检查单选按钮1 ...感谢您的帮助...



我尝试过:



我不知道单选按钮。尝试使用组合框。

解决方案

您应该使用配置文件来保存应用程序执行之间的设置。请参阅 .NET配置文件的原因,位置和方式 [ ^ ]。

I have placed 2 radio buttons. If I check radio button 1 and close the execution. On secondtime execution need to default check on radio button 1... Thanks for help guys...

What I have tried:

I have no idea on radio button. Tried on combo box it works.

解决方案

You should use a configuration file to save settings between application executions. See Why, Where, and How of .NET Configuration Files[^].


这篇关于如何在C#窗体中第二次选择单选按钮选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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