Beispiel #1
0
 private void Travel(int next)
 {
     if (next < 0)
     {
         if (this.ReachEndEvent == null)
         {
             return;
         }
         this.ReachEndEvent(this.CurrentPoint, next);
         if (this.TravelEvent == null)
         {
             return;
         }
         this.TravelEvent();
     }
     else
     {
         UILinkPointNavigator.ChangePoint(next);
         if (this.TravelEvent == null)
         {
             return;
         }
         this.TravelEvent();
     }
 }
Beispiel #2
0
 private void Travel(int next)
 {
     if (next < 0)
     {
         // ISSUE: reference to a compiler-generated field
         if (this.ReachEndEvent == null)
         {
             return;
         }
         // ISSUE: reference to a compiler-generated field
         this.ReachEndEvent(this.CurrentPoint, next);
         // ISSUE: reference to a compiler-generated field
         if (this.TravelEvent == null)
         {
             return;
         }
         // ISSUE: reference to a compiler-generated field
         this.TravelEvent();
     }
     else
     {
         UILinkPointNavigator.ChangePoint(next);
         // ISSUE: reference to a compiler-generated field
         if (this.TravelEvent == null)
         {
             return;
         }
         // ISSUE: reference to a compiler-generated field
         this.TravelEvent();
     }
 }