how to detected WindowCloseEvent in other window wpf

Code Example - how to detected WindowCloseEvent in other window wpf

                
                        Window.Closed += Evenfunction;