C#在用户请求时在运行时执行特定项目 [英] C# execute particular project at runtime on user request

查看:75
本文介绍了C#在用户请求时在运行时执行特定项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi
我在VS 2010中开发了基于C#WPF的解决方案。该解决方案包含2个项目。根据用户需求,我需要在运行时执行用户选择的一个项目。

首先,用户将允许选择Project,然后我们需要执行该项目。

请给出解决方案

谢谢



我尝试了什么:



Hi I have a C# WPF based solution developed in VS 2010. The solution contains 2 Projects. Based on user requirement, I need to execute one project selected by user on runtime.
First the user will allow to select Project and then we need to execute that one.
Kindly give solution
Thanks

What I have tried:

C# Execute particular project at runtime on user request

推荐答案

只提供两个可执行文件用户,让他们运行他们需要的任何应用程序。或者,提供第三个应用程序,该应用程序使用对话框让用户选择,然后启动所选择的对话框。
Just provide both executables to the user and let them run whichever application they require. Alternatively, provide a third application which uses a dialog to let the user choose, and then start the one that is chosen.


这篇关于C#在用户请求时在运行时执行特定项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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