/// <summary> /// The button 6_ click. /// </summary> /// <param name="sender"> /// The sender. /// </param> /// <param name="e"> /// The e. /// </param> private void button6_Click(object sender, EventArgs e) { string message = richTextAutoUpdate.Text; try { AutoUpdater.CheckUpdates(); message = message + "\nfinished checking the update."; } catch (Exception ex) { message = message + ex.InnerException.Message + Environment.NewLine + ex.InnerException.StackTrace; } richTextAutoUpdate.Text = message; }