如何从安装程序的组合框中获取选择,然后在应用程序中使用它 [英] how to get the choices from combobox in installer then use it in the application

查看:63
本文介绍了如何从安装程序的组合框中获取选择,然后在应用程序中使用它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很抱歉再次提出这个问题.实际上,我不需要本地化安装程序本身.我有一个应用程序,它有两个部分:安装程序和应用程序.如果我想在安装程序中提供一个组合框,让用户选择语言.我可以通过编程方式获得此选择并将此选择提供给主应用程序吗?因为在主应用程序中,我有一个功能
Localization.CultureInput("fr");.我想以编程方式将安装程序附带的"fr"参数赋予此功能.非常感谢.

Hi I am so sorry to ask this again. Actually, I do not need to localize the installer itself. I have an application, it has two parts: installer and application. If I want to give a combobox in installer, to let user choose the language. can I programtically get this choice and give this choice to the main application? because in main application, I have a function
Localization.CultureInput("fr");. I want to programatically give "fr" paramter which comes from the installer to this function.Thank you very much.

推荐答案

演练:使用自定义操作在安装时显示消息 [ ^ ]也可以帮助您.
Create custom dialogs for use in your Visual Studio Setup projects[^] is a good article that should help you out. It even demonstrates using a combo somewhere in the setup.

Walkthrough: Using a Custom Action to Display a Message at Installation [^] could help you out as well.


这篇关于如何从安装程序的组合框中获取选择,然后在应用程序中使用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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