private void OnUnloaded(object sender, RoutedEventArgs eventArgs) { _textureGraphicsScreen.SafeDispose(); _textureGraphicsScreen = null; GraphicsScreens = null; }