void UpdateScreen()
 {
     DisableButtons();
     foreach (ScreenElement element in elements)
     {
         if (element is BottomButtonElement)
         {
             BottomButtonElement b = element as BottomButtonElement;
             SetButton(b.Side, b);
             if (b.Side == Side.Left)
             {
                 b.MiddleButton = buttonLeft;
             }
             else
             {
                 b.MiddleButton = buttonRight;
             }
         }
     }
 }
Esempio n. 2
0
 protected BottomButtonElement CreateNextButton()
 {
     nextButton = CreateBottomButton("Next", "", "bottomPink", Side.Right);
     return(nextButton);
 }