Windows窗体应用程序设置自定义操作UI窗体? [英] Windows forms application setup custom actions UI forms ?

查看:122
本文介绍了Windows窗体应用程序设置自定义操作UI窗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我已经使用自定义操作UI表单为应用程序创建了一个Windows应用程序和一个安装项目.在我的安装项目中,我添加了一个对话框,该对话框将包含两个参数(用户名和密码),在这种情况下,我无法验证这两个字段.我需要验证这些用户名和密码文本框字段.
如果用户未提供任何用户名或密码,则必须禁用表单中的下一步"按钮,否则请启用下一步"按钮.

如何检查?

如何在设置和部署项目中使用后退和下一步"按钮.在哪里可以找到后退和下一步"按钮的参考?

我创建了一个Installer1类,该类继承了Installer类.我已经覆盖了安装提交,回滚和卸载方法的代码.我需要有关此类安装项目的一些示例.

Hi All,
I had created a windows application and a setup project for my application using custom actions UI forms. In my setup project I had added a dialog box which will takes two parameters (username and password) in this case I am Unable to validate these two fields. I need to validate these username and password text box fields.
if the user does not provide any username or password i have to disable the Next Button in the form else enable the Next Button.

How to do this check?

how to work with Back And Next Buttons in the setup and deployment project. where can i find the reference of the Back And Next Button?

I had created a Installer1 class which inherits the Installer class. I had override the code for Install Commit, Rollback And Uninstall methods. I need some examples on this type of setup projects.

推荐答案

请检查下面的链接.
Codeproject-验证Windows窗体中的用户输入 [ MSDN文章 [
Please check the links below.
Codeproject- Validate user input in Windows Forms[^]
MSDN Article[^]


这篇关于Windows窗体应用程序设置自定义操作UI窗体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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