解决方案中的项目沟通 [英] Project communication in one Solution

查看:137
本文介绍了解决方案中的项目沟通的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再见.我的问题:

1)Project1是主程序.我需要Project2和Project3在Project1启动之前启动. Project2和Project3将作为Project1的帮助.我该怎么办?

2)我希望Project1和Project2交换数据,并通过Project3来回交换,女巫有为事件疯狂的方法.如何让Project1和Project2使用Project3来做到这一点?

解决方案
Project1(是具有Main的窗口应用程序.设置为启动项目)
Project2(是具有起始类的控制台应用程序)
Project3(具有起始类的控制台应用程序)

最重要的事情.

Hi again. My Problem:

1) Project1 is the Main program. I need Project2 and Project3 to start before Project1 starts. Project2 and Project3 is going to work as help to Project1. How do I do that?

2) I want Project1 and Project2 to swap data, back and forth through Project3, witch has methods mad for the event. How do I get Project1 and Project2 to use Project3 to do that?

Solution
Project1 (is window application with a Main. Set as startup project)
Project2 (is console application with a start class)
Project3 (is console application with a start class)

Best to you all.

推荐答案

如果其他应用尚未运行,则可以使Project3启动其中一个或两个,然后运行其自己的主窗体...


You could make Project3 start one or both of the other apps if they''re not already running, and THEN run its own main form...



这篇关于解决方案中的项目沟通的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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