Friday, 27 September 2013

Share the same object between two windows in WPF

Share the same object between two windows in WPF

I have class representing my AppSettings I have Main window and Settings
window.
Each window contains instance of object AppSettings
So these are two objects are different. If object AppSettings in Settings
window gets changed the changes not reflected in the AppSettings of the
Main window.
IS there any way i can share AppSettings object between windows so i have
only one instance?

No comments:

Post a Comment