Example #1
0
        /// <summary>
        /// Called when Patch is clicked.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void BtnPatch_Click(object sender, EventArgs e)
        {
            this.ToggleButtons(false, false);

            if (_patchList == null || !_patchList.Any())
            {
                this.UpdateComplete();
                return;
            }

            Task.Run(() => DownloadAndApplyUpdates());
        }