CP-13036: Add button to restore dismissed updates in the Updates Wizard.

This commit is contained in:
Carmen Agimof 2015-07-23 14:04:43 +01:00
parent 84ed24cd0c
commit 7e3be8f707
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,7 @@ namespace XenAdmin.Wizards.PatchingWizard
resources.ApplyResources(this.RestoreDismUpdatesButton, "RestoreDismUpdatesButton");
this.RestoreDismUpdatesButton.Name = "RestoreDismUpdatesButton";
this.RestoreDismUpdatesButton.UseVisualStyleBackColor = true;
this.RestoreDismUpdatesButton.Click += new System.EventHandler(this.RestoreDismUpdatesButton_Click);
//
// label2
//

View File

@ -541,6 +541,11 @@ namespace XenAdmin.Wizards.PatchingWizard
return this.Equals((PatchGridViewRow)obj);
return false;
}
}
private void RestoreDismUpdatesButton_Click(object sender, EventArgs e)
{
Updates.RestoreDismissedUpdates();
}
}