how to make something like this:(Screen is not from my app)

When is change the button in dialogBox, it automatically change the Bitmap in MainWindow…
I hope you understand my prob ;d
So how can i make this dialog window ?
Or how can i get access to Mainwindow variables from dialogWindow?
how to make something like this:(Screen is not from my app) When is change
Share
If you have no architecture to support that (like
MVVM), you can simply use theApplicationobject in you dialog code-behind:Applicationobject is set on your application execution and is global.