Esempio n. 1
0
        /// <summary>
        /// The button 7_ click.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private void button7_Click(object sender, EventArgs e)
        {
            string message = richTextAutoUpdate.Text;

            try
            {
                AutoUpdater.DownloadUpdates();
                message = message + "\nfinished downloading the updates.";
            }
            catch (Exception ex)
            {
                message = message +
                          ex.InnerException.Message +
                          Environment.NewLine +
                          ex.InnerException.StackTrace;
            }

            richTextAutoUpdate.Text = message;
        }