private void ActionRefresh()
{
switch (this.selectedPage)
{
case Page.Overview:
AssetServer.CheckForServerUpdates();
this.InitiateRefreshAssetsAndUpdateStatusWithCallback("CBInitOverviewPage");
break;
case Page.Update:
AssetServer.CheckForServerUpdates();
if (this.UpdateNeedsRefresh())
{
this.InitiateUpdateStatusWithCallback("CBInitUpdatePage");
}
break;
case Page.Commit:
this.asCommitWin.InitiateReinit();
break;
case Page.History:
AssetServer.CheckForServerUpdates();
if (this.UpdateNeedsRefresh())
{
this.InitiateUpdateStatusWithCallback("CBInitHistoryPage");
}
break;
default:
this.Reinit();
break;
}
}