Example #1
0
 protected override void OnButtonUp()
 {
     if (reverseBrowsing)
     {
         textureBrowser.MoveToPreviousPage();
         if (!textureBrowser.PreviousPageAvailable)
         {
             EnableButton(false);
         }
     }
     else
     {
         textureBrowser.MoveToNextPage();
         if (!textureBrowser.NextPageAvailable)
         {
             EnableButton(false);
         }
     }
     otherBrowsingButton.EnableButton(true);
 }