c# setup project get radio buttons value

白昼怎懂夜的黑 提交于 2019-12-02 11:00:38

Assuming that getting them in C# means that you have a custom action installer class that you wish to pass the values to:

DOMAINLOCALVALUE appears to be the name of the property associated with the radiobutton. In the properties window of the custom action you want to pass the value into, in the CustomActionData field, you put something like /DLV=[DOMAINLOCALVALUE] and then in your installer class you get the value with this.Context.Parameters["DLV"]

That's the basics of what's described here:

http://www.c-sharpcorner.com/article/customize-user-interfaces-and-pass-user-input-to-installer-c/

If you want to pass it to a C# executeable or something else then you'll need to be more precise about exactly what "get access to values of these radiobuttons in c#" means.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!