Home > Software engineering > C # how to COM components original give new events to execute code
C # how to COM components original give new events to execute code
Time:10-01
A compiled using Delphi into COM components comEvents. DLL, refer to the following figure in c #, now want to comEvents. ITestEventEvents. OnTextChangedEvents show () method to the c # a DoChange () method to perform, that is, When in the COM component code to invoke comEvents. ITestEventEvents. OnTextChangedEvents () method, the program will automatically perform the c # DoChange () method in the code, specific is how to implement? Please give the code, thank you