C # calls asynchronous forms

I am coding addin for Excel and have several popup forms that appear asynchronously on top of all windows near the icon tray.

I am looking for a way to call the Invoke and BeginInvoke methods to populate these Forms without having to reference another form or another Control object. Is it possible? I can get the HWND pointer for the "Excel window" that will host my runtime ... Is it possible to get an object that has the Invoke and BeginInvoke methods available from this?

+4
source share
1 answer

Perhaps you can use the MethodInvoker class.

MethodInvoker Tutorial

0
source

Source: https://habr.com/ru/post/1382592/


All Articles