void DownloadView_Loaded(object sender, RoutedEventArgs e)
        {
            if (_openwindow != null)
            {
                _openwindow.Activate();
                Close();
            }

            _openwindow = this;
        }
 static void DownloadView_Closed(object sender, EventArgs e)
 {
     _openwindow = null;
 }