Beispiel #1
0
 public void Back(int numberBack)
 {
     if (numberBack < 0)
     {
         throw new ArgumentOutOfRangeException(nameof(numberBack), numberBack, string.Format(SR.InvalidLowBoundArgumentEx, nameof(numberBack), numberBack, 0));
     }
     else if (numberBack > 0)
     {
         object oNumForward = (object)(-numberBack);
         NativeOmHistory.Go(ref oNumForward);
     }
 }
Beispiel #2
0
 public void Forward(int numberForward)
 {
     if (numberForward < 0)
     {
         throw new ArgumentOutOfRangeException(nameof(numberForward), numberForward, string.Format(SR.InvalidLowBoundArgumentEx, nameof(numberForward), numberForward, 0));
     }
     else if (numberForward > 0)
     {
         object oNumForward = (object)numberForward;
         NativeOmHistory.Go(ref oNumForward);
     }
 }
Beispiel #3
0
        public void Go(string urlString)
        {
            object loc = (object)urlString;

            NativeOmHistory.Go(ref loc);
        }
Beispiel #4
0
        /// <summary>
        ///    <para>Go to the specified position in the history list</para>
        /// </summary>
        public void Go(int relativePosition)
        {
            object loc = (object)relativePosition;

            NativeOmHistory.Go(ref loc);
        }