如何在应用程序安装时获取用户界面屏幕中的哪个复选框 [英] how to get the which checkbox checked in the userinterface screen while application installation

查看:67
本文介绍了如何在应用程序安装时获取用户界面屏幕中的哪个复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#Windows应用程序中工作

i想要在安装时保存一些配置文件

所以我在我的用户界面中添加了3个单选按钮对话框

并且还添加了自定义操作。

但我不知道如何在用户界面屏幕中检查哪个复选框。

如何检查哪个单选按钮..!

解决方案

你必须分别检查每个每个盒子的状态IsChecked

OR

如果是wpf,你可以使用数据绑定并将其模式设置为twoway并从有界属性中获取值



1.右键单击在设置向导上

2.转到你的向导视图。(文件系统,自定义动作,用户界面)。

3.选择用户界面,

4.然后在显示的用户界面页面上选择开始

5.右键单击开始

6.添加对话框

7.有一个选项可以添加你像。的ser接口控制也可以添加复选框,单选按钮,rtf文件,自述文件,同意文件。在这里完成。



i希望我的观点有所帮助给你......


I am working in C# Windows application
i want to save some configuration file while installation
so i added 3 radio button dialog box in my user-interface
and also added custom action.
but i don''t know how to get the which check-box checked in the user-interface screen.
how to get the which radio button checked..!

解决方案

You have to check the status IsChecked for each eachbox separately
OR
if wpf, you can use databindings and set its mode to twoway and get value from the bounded property


Hi,
1. rightclick on setup wizard
2. go to view of your wizard.(file system,custom action, user interface) like that.
3. choose the user interface,
4. then select start on displayed page of user interface
5. rightclick on start
6. add dialog
7.there is a option to add user interface control like that.u can also add checkbox, radio button, rtf file, readme file, agree file.are done in here.

i hope my point are helping to you...


这篇关于如何在应用程序安装时获取用户界面屏幕中的哪个复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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