如何并行启动和运行2个WPF项目 [英] how to start and run 2 WPF projects in parallel

查看:166
本文介绍了如何并行启动和运行2个WPF项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有以下问题:
==>我有2个WPF项目;
==>第一个项目需要首先运行并收集一些信息,并且在完成其任务后,第二个项目必须运行,并且基于第一个项目的信息需要执行一些特定任务;
==>第一个项目必须保持运行,因为第二个项目是基于他执行的新计算工作的(第一个项目必须以某种方式在后台运行但没有其UI);

我的问题是:如何并行启动和运行这两个项目?

预先感谢,
Tamash

Hello everyone,

I have the following issue :
==> I have 2 WPF Projects ;
==> the first project need to run first and gather some information and after it has completed his task, the second project must run and based on information from the first project need to do some specific tasks;
==> the first project must keep running, since the second project works based on new calculations he performs (the first project must somehow run in background but without its UI);

My question is : how to start and run those 2 projects in parallel ?

Thanks in advance,
Tamash

推荐答案

使用 .Net Process [^ ]类从第一个调用第二个应用.

如果那不是一个选择,请尝试Windows Scheduler ...

问候
Espen Harlinn
Use the .Net Process[^] class to invoke the second app from the first.

If thats not an option, try the Windows Scheduler ...

Regards
Espen Harlinn


这篇关于如何并行启动和运行2个WPF项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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