public void PushContent(PathItem pathItem) { if (_PathItemCollection.Count == 0) { _PathItemCollection.Add(pathItem); ShowLeftContent(); } else { if (_StackRightData != null) { _PathItemCollection.Add(_StackRightData); ShowLeftContent(PathContentTranstitionType.RIGHT_IN); } _StackRightData = pathItem; ShowRightContent(); } }
public void PushContent(PathItem pathItem) { if (!_PathItemCollection.Contains(pathItem)) { _PathItemCollection.Add(pathItem); ShowLeftContent(); } else { ShowLeftContent(pathItem); } }