protected virtual FrameworkElement GetActiveWindow() { return Application.Current.GetActiveWindow(); } #endif