Windows服务& .NET控件 [英] Windows Services & .NET Controls

查看:54
本文介绍了Windows服务& .NET控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我目前遇到了一个大问题。我必须开发一个Windows服务

和一个应用程序来配置它并显示正在发生的事情。

问题并非真正在服务方面,而是在应用程序方面。我是
解释:


该服务由一个内核动态加载插件模块和

启动每个模块。直到nous,它并不那么难。


困难的部分是配置服务的应用程序

并显示正在发生的事情。每个模块都有自己的配置面​​板

和它自己的显示面板。我不熟悉哪些信息我可以从我的服务传递到我的应用程序,所以我需要知道是否有一个

方式我可以通过从我的服务到我的应用程序的控件实例

我该怎么办?我一直在网上搜索找到它,但它似乎没有人做过(或者他们没有把解决方案放在网上)

我还有别的东西。事实上,我想对其他人有意见

。我的软件是这样设计的:


Module1 ---- ---- Module2

\ /

Module3 - ---内核----模块4

/ \

Module5 ---- ----模块6


服务----使用-----内核


申请----与----沟通


申请 - ---显示---- ModuleX.ConfigurationPanel或

ModuleX.ActionPanel来自服务


首先,有人会看到更好的设计涉及显示信息的
服务?如果你这样做,它是什么以及为什么(如果可能的话)?


谢谢


ThunderMusic


PS对不起其他帖子,我只是在

发送之前没有验证主题...;)

Hi,
I''m currently stuck with a big problem. I must develop a Windows service
and an application to configure it and display what is happening. The
problem is not really on the service side, but on the application side. I
explain:

The service is composed of a kernel dynamicaly loading plug-ins modules and
starts the process of each module. Until nous, it''s not that hard.

The hard part is when it comes to the application to configure the service
and display what is happening. Each module has it''s own configuration panel
and it''s own display panel. I''m not that familiar with which information I
can pass from my service to my application, so I need to know if there is a
way I can pass an instance of a control from my service to my application
and how can I do it? I''ve been searching all over the net to find it, but it
seems nobody ever did it (or they didn''t put the solution on the net)

And I would have something else. In fact I would like to have the opinion of
someone else on that. My software is designed that way :

Module1 ---- ---- Module2
\ /
Module3 ----Kernel ---- Module4
/ \
Module5 ---- ---- Module6

Service ----Using----- Kernel

Application ----Communicating With ---- Service

Application ----Displays---- ModuleX.ConfigurationPanel or
ModuleX.ActionPanel that came from the Service

First of all, would anyone see a better design involving a service for
displaying the information? if you do, what is it and why(if possible)?

thanks

ThunderMusic

P.S. Sorry for the other post, I just did not verify the subject before
sending... ;)

推荐答案

你可以使用远程解决方案。


[]'s $ / b $ b寿司
you can use the remoting solution.

[]''s
Sushi


但你必须在控件上实现ISerializable ......


" Sushi" <苏******** @ terra.com.br>在消息中写道

新闻:Oo ************** @ TK2MSFTNGP12.phx.gbl ...
But you''d have to implement ISerializable on the controls...

"Sushi" <su********@terra.com.br> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
你可以使用远程处理解决方案。

[]'s
寿司
you can use the remoting solution.

[]''s
Sushi



好的,你有一个例子吗?这个的?它是否可以在MSDN上找到?


非常感谢,它给了我一个从哪里开始的提示......;)


"肖恩·赫德曼 <我们*** @ blogentry.com>一个écritdansle message de

news:cv ********** @ ctb-nnrp2.saix.net ...
ok, do you have an example of this? is it available on MSDN?

Thanks a lot, it gives me a hint for where to begin... ;)

"Sean Hederman" <us***@blogentry.com> a écrit dans le message de
news:cv**********@ctb-nnrp2.saix.net...
但是你'' d必须在控件上实现ISerializable ......

" Sushi" <苏******** @ terra.com.br>在消息中写道
新闻:Oo ************** @ TK2MSFTNGP12.phx.gbl ...
But you''d have to implement ISerializable on the controls...

"Sushi" <su********@terra.com.br> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
您可以使用远程解决方案。 />
[]'s
寿司
you can use the remoting solution.

[]''s
Sushi




这篇关于Windows服务&amp; .NET控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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