private void btnCancel_Click(object sender, EventArgs e) { cancelPending = true; updateStatus("Pending cancellation...", LogIcon.Warning, false); } /// <summary>