Android暂停Windows应用程序 [英] Android to pause Windows application
问题描述
我正在研究WPF应用程序。它通过TCP / IP连接到Android App。现在,要求是Employee应该能够从android暂停/禁用当前的WPF.xaml。(因为Employee可能远离应用程序。因此,没有其他人应该访问主应用程序)。我试过了
this.enabled = false;它失败然后我试图打开另一个.xaml但它不工作
因为在我的TCP后面正在听。那么解决方案的其他方式是什么?
如果你们有任何想法请告诉我。
我可以想到几个解决方案:
1.可能最简单的解决方案是放置一个矩形或其他任何东西,以便人们可以点击任何东西。
2.如果您还想阻止人们轻松关闭应用程序,您可以将其最小化到托盘,然后等待信号最大化
I am working on WPF Application. It is connected to Android App via TCP/IP. Now,the requirement is Employee should able to pause /disable the current WPF.xaml from android.(As Employee may go far from application .So, no other person should access the main application). I tried
this.enabled=false; it failed and then I tried to open another .xaml but its not working
because behind my TCP is listening. So what is other way for the solution?
If you guys have any ideas please let me know.
I can think of a couple of solutions:
1.Probably the easiest solution is to place a rectangle or whatever on top of everything else so that people can't click anything.
2.If you also want to prevent people from easily closing the app you can minimize it to tray and then wait for the signal to be maximized.
这篇关于Android暂停Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!