private goToChildToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
private void goToChildToolStripMenuItem_Click(object sender, EventArgs e)
{
var r = GetRevision(LastRowIndex);
if (r != null)
{
var children = GetRevisionChildren(r.Guid);
if (_parentChildNavigationHistory.HasPreviousChild)
_parentChildNavigationHistory.NavigateToPreviousChild(r.Guid);
else if (children.Any())
_parentChildNavigationHistory.NavigateToChild(r.Guid, children[0]);
}
}