Greg_L_WER
asked on
WPF Updating User Control's Control From Main Window
I've got a WPF application that has a Main window with a TabControl in it that I load in different user controls into. On the Main window I have some login controls and have a public class to hold the CurUserLoggedIn object so I can access it on any of my user controls. The problem I'm trying to solve now is that based on who is logged in elements of certain user controls contain different information. If I log in and the user control now has "authenticated user only" content I want to be able to clear this information if the Log Out button is clicked. What I'm hoping to be able to do is to run some update code within the user control in the Main window's logout code block. Hopefully this makes sense. Any help would be greatly appreciated.
Thanks,
Greg
Thanks,
Greg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,
Greg