Exemple #1
0
 public void InitializeOnceAtStartup(TutorialAppHeaderMenuViewModel model)
 {
     this.DataContext = model;
     DialogReplayButtonUserControl.InitializeOnceAtStartup(model.DialogReplayButtonModel);
     DialogPracticeButtonUserControl.InitializeOnceAtStartup(model.DialogPracticeButtonModel);
     DialogNextButtonUserControl.InitializeOnceAtStartup(model.DialogNextButtonModel);
 }
Exemple #2
0
        public ZkooTutorialModel(EgsHostAppBaseComponents hostApp)
        {
            Trace.Assert(hostApp != null);

            RefToHostApp                   = hostApp;
            CurrentResources               = new ZkooTutorialResourcesModel();
            Launcher                       = new LauncherPageModel();
            TutorialAppHeaderMenu          = new TutorialAppHeaderMenuViewModel();
            Tutorial01StartGestureTraining = new Tutorial01StartGestureTrainingPageModel();
            Tutorial02MoveCursorTraining   = new Tutorial02MoveCursorTrainingPageModel();
            Tutorial03TapGestureTraining   = new Tutorial03TapGestureTrainingPageModel();
            Tutorial04DragGestureTraining  = new Tutorial04DragGestureTrainingPageModel();
            Tutorial05FlickGestureTraining = new Tutorial05FlickGestureTrainingPageModel();

            TutorialLargeCircleAreaButtonRightTop = new TutorialLargeCircleAreaButtonModel()
            {
                Index = 0,
                ImageSourceDisabledFileName = "tutorial_common_circle1_button_disabled.png",
                ImageSourcePressedFileName  = "tutorial_common_circle1_button_pressed.png",
                ImageSourceHoveredFileName  = "tutorial_common_circle1_button_hovered.png",
                ImageSourceSelectedFileName = "tutorial_common_circle1_button_pressed.png",
                ImageSourceEnabledFileName  = "tutorial_common_circle1_button_enabled.png",
            };
            TutorialLargeCircleAreaButtonRightBottom = new TutorialLargeCircleAreaButtonModel()
            {
                Index = 1,
                ImageSourceDisabledFileName = "tutorial_common_circle2_button_disabled.png",
                ImageSourcePressedFileName  = "tutorial_common_circle2_button_pressed.png",
                ImageSourceHoveredFileName  = "tutorial_common_circle2_button_hovered.png",
                ImageSourceSelectedFileName = "tutorial_common_circle2_button_pressed.png",
                ImageSourceEnabledFileName  = "tutorial_common_circle2_button_enabled.png",
            };
            TutorialLargeCircleAreaButtonLeftBottom = new TutorialLargeCircleAreaButtonModel()
            {
                Index = 2,
                ImageSourceDisabledFileName = "tutorial_common_circle3_button_disabled.png",
                ImageSourcePressedFileName  = "tutorial_common_circle3_button_pressed.png",
                ImageSourceHoveredFileName  = "tutorial_common_circle3_button_hovered.png",
                ImageSourceSelectedFileName = "tutorial_common_circle3_button_pressed.png",
                ImageSourceEnabledFileName  = "tutorial_common_circle3_button_enabled.png",
            };
            TutorialLargeCircleAreaButtonLeftTop = new TutorialLargeCircleAreaButtonModel()
            {
                Index = 3,
                ImageSourceDisabledFileName = "tutorial_common_circle4_button_disabled.png",
                ImageSourcePressedFileName  = "tutorial_common_circle4_button_pressed.png",
                ImageSourceHoveredFileName  = "tutorial_common_circle4_button_hovered.png",
                ImageSourceSelectedFileName = "tutorial_common_circle4_button_pressed.png",
                ImageSourceEnabledFileName  = "tutorial_common_circle4_button_enabled.png",
            };
        }
Exemple #3
0
 public void InitializeOnceAtStartup(TutorialAppHeaderMenuViewModel model)
 {
     this.DataContext = model;
     MenuStartButtonUserControl.InitializeOnceAtStartup(model.MenuStartButtonModel);
     MenuMoveButtonUserControl.InitializeOnceAtStartup(model.MenuMoveButtonModel);
     MenuTapButtonUserControl.InitializeOnceAtStartup(model.MenuTapButtonModel);
     MenuDragButtonUserControl.InitializeOnceAtStartup(model.MenuDragButtonModel);
     MenuFlickButtonUserControl.InitializeOnceAtStartup(model.MenuFlickButtonModel);
     MenuMoreButtonUserControl.InitializeOnceAtStartup(model.MenuMoreButtonModel);
     MenuReplayButtonUserControl.InitializeOnceAtStartup(model.MenuReplayButtonModel);
     MenuPracticeButtonUserControl.InitializeOnceAtStartup(model.MenuPracticeButtonModel);
     MenuNextButtonUserControl.InitializeOnceAtStartup(model.MenuNextButtonModel);
     MenuExitButtonUserControl.InitializeOnceAtStartup(model.MenuExitButtonModel);
 }