簡體   English   中英

有沒有辦法調用正在運行的 WinForms 程序的方法並為另一個 WinForms 程序的方法設置參數?

[英]Is there a way to call the method of a WinForms program running and to set parameters for the method from another WinForms program?

有沒有辦法調用正在運行的程序(Winforms)的方法並為另一個程序(Winforms)的方法設置參數? C# 大家可以分享給我。

謝謝大家 !

是的,它被稱為進程間通信

從 Wikipedia 中選擇對您最方便的一個:

  • 文件/注冊表
  • Windows 消息
  • 消息隊列
  • Sockets
  • 管道
  • 共享 Memory

至於 windows,您也可以使用 COM/ATL,但這可能有點矯枉過正。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM