From 45ad13133d030857f75a09a86db411fd93132a0e Mon Sep 17 00:00:00 2001 From: Mihaela Stoica Date: Mon, 19 Mar 2018 13:54:01 +0000 Subject: [PATCH] Use the new methods PageLeaveCore and PageLoadedCore in ChooseSrProvisioningPage Signed-off-by: Mihaela Stoica --- .../Wizards/NewSRWizard_Pages/ChooseSrProvisioningPage.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/XenAdmin/Wizards/NewSRWizard_Pages/ChooseSrProvisioningPage.cs b/XenAdmin/Wizards/NewSRWizard_Pages/ChooseSrProvisioningPage.cs index 2e6e204c2..55bd9ce93 100644 --- a/XenAdmin/Wizards/NewSRWizard_Pages/ChooseSrProvisioningPage.cs +++ b/XenAdmin/Wizards/NewSRWizard_Pages/ChooseSrProvisioningPage.cs @@ -87,18 +87,15 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages linkLabelPoolProperties.Visible = !clusteringEnabled && !restrictGfs2; } - public override void PageLoaded(PageLoadedDirection direction) + protected override void PageLoadedCore(PageLoadedDirection direction) { - base.PageLoaded(direction); RefreshPage(); Connection.Cache.RegisterCollectionChanged(Cluster_CollectionChangedWithInvoke); } - public override void PageLeave(PageLoadedDirection direction, ref bool cancel) + protected override void PageLeaveCore(PageLoadedDirection direction, ref bool cancel) { Connection.Cache.DeregisterCollectionChanged(Cluster_CollectionChangedWithInvoke); - - base.PageLeave(direction, ref cancel); } private void linkLabelPoolProperties_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)