Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
        /// <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();
        }