/// <summary> /// Opens the Download window that download the update and execute the installer when download completes. /// </summary> public static void DownloadUpdate(Window owner) { var downloadDialog = new DownloadDialog(DownloadUrl); downloadDialog.Owner = owner; downloadDialog.ShowDialog(); }
/// <summary> /// Opens the Download window that download the update and execute the installer when download completes. /// </summary> public static void DownloadUpdate() { var downloadDialog = new DownloadDialog(DownloadUrl); downloadDialog.WindowStartupLocation = WindowStartupLocation.CenterScreen; downloadDialog.ShowDialog(); }