如何从Winform应用程序向WPF应用程序发送通知
问题描述:
我有一个winform应用程序,可以对数据库进行一些操作.另外一个WPF应用程序也使用相同的数据库.我想要的是在winform应用程序执行数据库操作时向我的wpf应用程序发送通知.这怎么可能?任何帮助或参考都很好.
Hi,
I have an winform application which perfroms few operations on database. And one another WPF application which also uses the same database. What I want is to send notifications to my wpf application while the winform application is performing the database operation. How is it possible? Any help or reference would be great.
thanks!
答
请参阅.net中的clr触发器.请参阅msdn网站以获取clr触发器.
See clr triggers in .net. refer msdn site for clr triggers.