Пример #1
0
        /// <summary>
        /// Handle the Install Update button click event.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The EventArgs.
        /// </param>
        private void BtnInstallUpdateClick(object sender, EventArgs e)
        {
            DownloadUpdate download = new DownloadUpdate(appcast.DownloadFile);

            download.ShowDialog();
            this.DialogResult = DialogResult.OK;
        }
Пример #2
0
 /// <summary>
 /// Handle the Install Update button click event.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The EventArgs.
 /// </param>
 private void BtnInstallUpdateClick(object sender, EventArgs e)
 {
     DownloadUpdate download = new DownloadUpdate(appcast.DownloadFile);
     download.ShowDialog();
     this.DialogResult = DialogResult.OK;
 }