예제 #1
0
        /// <summary>
        /// If the page number is negative, it's ignored.
        /// </summary>
        public static void SwitchToPageOrNot(this MyToolbar toolbar, int page)
        {
            if (page < 0)
            {
                return;
            }

            toolbar.SwitchToPage(page);
        }