Example #1
0
 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();
     }
 }
Example #2
0
 public void PushContent(PathItem pathItem)
 {
     if (!_PathItemCollection.Contains(pathItem))
     {
         _PathItemCollection.Add(pathItem);
         ShowLeftContent();
     }
     else
     {
         ShowLeftContent(pathItem);
     }
 }