private void OnSelectionChange()
{
switch (this.selectedPage)
{
case Page.Overview:
if (this.mySelection)
{
this.mySelection = false;
break;
}
this.DoSelectionChange();
base.Repaint();
break;
case Page.Update:
this.asUpdateWin.OnSelectionChange();
return;
case Page.Commit:
this.asCommitWin.OnSelectionChange();
return;
case Page.History:
this.asHistoryWin.OnSelectionChange();
return;
default:
return;
}
this.somethingDiscardableSelected = ASCommitWindow.SomethingDiscardableSelected(this.pv);
}