private void MakingMoveDescriptionCommonActions(bool fwdVis, bool bckVis) { MakingMovePagesHandler handler = new MakingMovePagesHandler(); MakingMoveDescriptionFrame.Content = handler.GetMakingMoveProperPage(currentMovementTypeDescription); ManageSwitchingPagesButtonsVisibility(MakingMoveDescriptionFwdButton, fwdVis, MakingMovesDescriptionBckButton, bckVis); }
//assigning page for first time private void AssignContentOfMakingMovePage() { MakingMovePagesHandler handler = new MakingMovePagesHandler(); currentMovementTypeDescription = MakingMoveEnum.PossibilityOfMove; MakingMoveDescriptionFrame.Content = handler.GetMakingMoveProperPage(currentMovementTypeDescription); MakingMovesDescriptionBckButton.Visibility = Visibility.Collapsed; }