Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900