简体   繁体   English

Winform C#,从一个项目中的其他计算机上单击按钮关闭表单

[英]Winform C#, close form on click button from other computers in one project

我已经开发了一个Web应用程序,已经开发了一个使用同一sql服务器数据库在多个系统上运行的呼叫者ID系统,我要做的是,当所有计算机上都出现呼叫者表格时,其中一个单击“使预订”按钮全部其他PC来电显示表格将关闭

you need a Server in your system and you can use socket or SignalR to trigger the event on other apps 您的系统中需要服务器,并且可以使用套接字或SignalR在其他应用程序上触发事件

but i think you have a architecter problem . 但我认为您有一个架构师问题。

your application (normaly) need to communicat with present of a one part ( a Server ) who can throw SQL Data as a Webservice for example . 例如,您的应用程序(通常)需要与一个部分(服务器)进行通信,该部分可以将SQL数据作为Web服务抛出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM