mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CP-4959: EA-1246: If RPUW cancelled, inform users about restarting it.
Minor code refactoring to address the comment raised in review #2003. Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
This commit is contained in:
parent
635a794e7c
commit
5ee8a569ee
@ -168,10 +168,12 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
|
||||
private void ShowCanBeResumedInfo()
|
||||
{
|
||||
new ThreeButtonDialog(new ThreeButtonDialog.Details(SystemIcons.Information,
|
||||
using (var dialog = new ThreeButtonDialog(new ThreeButtonDialog.Details(SystemIcons.Information,
|
||||
Messages.ROLLING_UPGRADE_CAN_RESUME_UPGRADE,
|
||||
Messages.ROLLING_POOL_UPGRADE)).ShowDialog(
|
||||
Program.MainWindow);
|
||||
Messages.ROLLING_POOL_UPGRADE)))
|
||||
{
|
||||
dialog.ShowDialog(Program.MainWindow);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnClosed(System.EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user