Click here to Skip to main content
15,878,748 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
my program have 4 usercontrol in one window when a enent handler in one usercontrol other usercontrol is lock while my code is finish

i user multi threading and backgroundworker but not answer please help me
Posted
Comments
[no name] 30-Jul-13 10:08am    
Not to be offensive but I think that you would benefit by going to google translate and typing your question in, in your native language, then translating that to English and posting that here. And posting your code might help too.

I would suggest you investigate using an EventAggregator (Prism EventAggregator Sample[^]). You want to have a controller that will give each UserControl Update privilages. So, an EventAggregator message is is sent to the controller requesting control, then the controller will grant the request with another EventAggregator message. When a user control is finished, it sends an EventAggregator message to the controller releasing the token (so to speak). etc. etc.
 
Share this answer
 
please a sample with two usercontrol in on window
 
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