public override void FinalizeConstruction()
        {
            base.FinalizeConstruction();
            ImgUpButtonNormal = LoadAnimationControl(WindowId, WindowId + 10000, UpBtnXOffset, UpBtnYOffset, UpBtnWidth,
                                                     UpBtnHeight, TextureMoveUpFileName);
            ImgUpButtonFocused = LoadAnimationControl(WindowId, WindowId + 10001, 0, 0, UpBtnWidth, UpBtnHeight,
                                                      TextureMoveUpFocusedFileName);
            ImgUpButtonNormal.ParentControl  = this;
            ImgUpButtonFocused.ParentControl = this;
            ImgUpButtonNormal.DimColor       = DimColor;
            ImgUpButtonFocused.DimColor      = DimColor;
            ImgUpButtonNormal.BringIntoView();
            ImgUpButtonFocused.BringIntoView();

            ImgDownButtonNormal = LoadAnimationControl(WindowId, WindowId + 10003, DownBtnXOffset, DownBtnYOffset,
                                                       DownBtnWidth, DownBtnHeight, TextureMoveDownFileName);
            ImgDownButtonFocused = LoadAnimationControl(WindowId, WindowId + 10004, 0, 0, DownBtnWidth, DownBtnHeight,
                                                        TextureMoveDownFocusedFileName);
            ImgDownButtonNormal.ParentControl  = this;
            ImgDownButtonFocused.ParentControl = this;
            ImgDownButtonNormal.DimColor       = DimColor;
            ImgDownButtonFocused.DimColor      = DimColor;
            ImgDownButtonNormal.BringIntoView();
            ImgDownButtonFocused.BringIntoView();

            ImgDeleteButtonNormal = LoadAnimationControl(WindowId, WindowId + 10006, DeleteBtnXOffset, DeleteBtnYOffset,
                                                         DeleteBtnWidth, DeleteBtnHeight, TextureDeleteFileName);
            ImgDeleteButtonFocused = LoadAnimationControl(WindowId, WindowId + 10007, 0, 0, DeleteBtnWidth, DeleteBtnHeight,
                                                          TextureDeleteFocusedFileName);
            ImgDeleteButtonNormal.ParentControl  = this;
            ImgDeleteButtonFocused.ParentControl = this;
            ImgDeleteButtonNormal.DimColor       = DimColor;
            ImgDeleteButtonFocused.DimColor      = DimColor;
            ImgDeleteButtonNormal.BringIntoView();
            ImgDeleteButtonFocused.BringIntoView();

            // Keep track of the original NavigateLeft and NavigateRight values...
            _NavigateLeft  = NavigateLeft;
            _NavigateRight = NavigateRight;

            string skinFolderPath = GUIGraphicsContext.GetThemedSkinDirectory(@"\media\");

            ImgUpButtonDisabled = GetDisabledButtonImage(skinFolderPath, TextureMoveUpFileName, WindowId, WindowId + 10002,
                                                         UpBtnXOffset, UpBtnYOffset, UpBtnWidth, UpBtnHeight);

            if (ImgUpButtonDisabled != null)
            {
                ImgDeleteButtonNormal.ParentControl = this;
                ImgUpButtonDisabled.BringIntoView();
            }

            ImgDownButtonDisabled = GetDisabledButtonImage(skinFolderPath, TextureMoveDownFileName, WindowId,
                                                           WindowId + 10005, DownBtnXOffset, DownBtnYOffset, DownBtnWidth,
                                                           DownBtnHeight);

            if (ImgDownButtonDisabled != null)
            {
                ImgDownButtonDisabled.ParentControl = this;
                ImgDownButtonDisabled.BringIntoView();
            }

            ImgDeleteButtonDisabled = GetDisabledButtonImage(skinFolderPath, TextureDeleteFileName, WindowId,
                                                             WindowId + 10008, DeleteBtnXOffset, DeleteBtnYOffset,
                                                             DeleteBtnWidth, DeleteBtnHeight);

            if (ImgDeleteButtonDisabled != null)
            {
                ImgDeleteButtonDisabled.ParentControl = this;
                ImgDeleteButtonDisabled.BringIntoView();
            }
        }
    public override void FinalizeConstruction()
    {
      base.FinalizeConstruction();
      ImgUpButtonNormal = LoadAnimationControl(WindowId, WindowId + 10000, UpBtnXOffset, UpBtnYOffset, UpBtnWidth,
                                               UpBtnHeight, TextureMoveUpFileName);
      ImgUpButtonFocused = LoadAnimationControl(WindowId, WindowId + 10001, 0, 0, UpBtnWidth, UpBtnHeight,
                                                TextureMoveUpFocusedFileName);
      ImgUpButtonNormal.ParentControl = this;
      ImgUpButtonFocused.ParentControl = this;
      ImgUpButtonNormal.DimColor = DimColor;
      ImgUpButtonFocused.DimColor = DimColor;
      ImgUpButtonNormal.BringIntoView();
      ImgUpButtonFocused.BringIntoView();

      ImgDownButtonNormal = LoadAnimationControl(WindowId, WindowId + 10003, DownBtnXOffset, DownBtnYOffset,
                                                 DownBtnWidth, DownBtnHeight, TextureMoveDownFileName);
      ImgDownButtonFocused = LoadAnimationControl(WindowId, WindowId + 10004, 0, 0, DownBtnWidth, DownBtnHeight,
                                                  TextureMoveDownFocusedFileName);
      ImgDownButtonNormal.ParentControl = this;
      ImgDownButtonFocused.ParentControl = this;
      ImgDownButtonNormal.DimColor = DimColor;
      ImgDownButtonFocused.DimColor = DimColor;
      ImgDownButtonNormal.BringIntoView();
      ImgDownButtonFocused.BringIntoView();

      ImgDeleteButtonNormal = LoadAnimationControl(WindowId, WindowId + 10006, DeleteBtnXOffset, DeleteBtnYOffset,
                                                   DeleteBtnWidth, DeleteBtnHeight, TextureDeleteFileName);
      ImgDeleteButtonFocused = LoadAnimationControl(WindowId, WindowId + 10007, 0, 0, DeleteBtnWidth, DeleteBtnHeight,
                                                    TextureDeleteFocusedFileName);
      ImgDeleteButtonNormal.ParentControl = this;
      ImgDeleteButtonFocused.ParentControl = this;
      ImgDeleteButtonNormal.DimColor = DimColor;
      ImgDeleteButtonFocused.DimColor = DimColor;
      ImgDeleteButtonNormal.BringIntoView();
      ImgDeleteButtonFocused.BringIntoView();

      // Keep track of the original NavigateLeft and NavigateRight values...
      _NavigateLeft = NavigateLeft;
      _NavigateRight = NavigateRight;

      string skinFolderPath = GUIGraphicsContext.GetThemedSkinDirectory(@"\media\");
      ImgUpButtonDisabled = GetDisabledButtonImage(skinFolderPath, TextureMoveUpFileName, WindowId, WindowId + 10002,
                                                   UpBtnXOffset, UpBtnYOffset, UpBtnWidth, UpBtnHeight);

      if (ImgUpButtonDisabled != null)
      {
        ImgDeleteButtonNormal.ParentControl = this;
        ImgUpButtonDisabled.BringIntoView();
      }

      ImgDownButtonDisabled = GetDisabledButtonImage(skinFolderPath, TextureMoveDownFileName, WindowId,
                                                     WindowId + 10005, DownBtnXOffset, DownBtnYOffset, DownBtnWidth,
                                                     DownBtnHeight);

      if (ImgDownButtonDisabled != null)
      {
        ImgDownButtonDisabled.ParentControl = this;
        ImgDownButtonDisabled.BringIntoView();
      }

      ImgDeleteButtonDisabled = GetDisabledButtonImage(skinFolderPath, TextureDeleteFileName, WindowId,
                                                       WindowId + 10008, DeleteBtnXOffset, DeleteBtnYOffset,
                                                       DeleteBtnWidth, DeleteBtnHeight);

      if (ImgDeleteButtonDisabled != null)
      {
        ImgDeleteButtonDisabled.ParentControl = this;
        ImgDeleteButtonDisabled.BringIntoView();
      }
    }