private void RelatedMotions_MotionClicked(ulong motionid)
        {
            var motionDetailScreen = new MotionDetailScreen();

            motionDetailScreen.SetInfo(motionid);
            StaticMainWindow.Window.ChangeScreen(motionDetailScreen);
        }
Beispiel #2
0
        private void motionItem_MotionClicked(ulong motionID)
        {
            var detailScreen = new MotionDetailScreen();

            detailScreen.SetInfo(motionID);
            StaticMainWindow.Window.ChangeScreen(detailScreen);
        }
Beispiel #3
0
        private void Library_MotionClick(ulong motionID)
        {
            var motionDetail = new MotionDetailScreen();

            motionDetail.SetInfo(motionID);
            StaticMainWindow.Window.navigationBar.StoreToggleButton.IsChecked  = true;
            StaticMainWindow.Window.navigationBar.RemoteToggleButton.IsChecked = false;
            StaticMainWindow.Window.ChangeScreen(motionDetail);
        }
Beispiel #4
0
 private void motion_MotionClicked(ulong motionID)
 {
     var motionScreen = new MotionDetailScreen();
     motionScreen.SetInfo(motionID);
     StaticMainWindow.Window.ChangeScreen(motionScreen);
 }
Beispiel #5
0
 private UserControl GetCurrentScreen()
 {
     switch (ScreenList[CurrentIndex].Type)
     {
         case Screen.ScreenType.StoreScreen:
             var storeScreen = new NewStoreScreen();
             storeScreen.SetInfo(false);
             return storeScreen;
         case Screen.ScreenType.MotionDetail:
             var motionScreen = new MotionDetailScreen();
             var motionID = (ulong)ScreenList[CurrentIndex].Parameter;
             motionScreen.SetInfo(motionID, false);
             return motionScreen;
         case Screen.ScreenType.ArtistDetail:
             var artistScreen = new ArtistDetailScreen();
             var artistID = (ulong)ScreenList[CurrentIndex].Parameter;
             artistScreen.SetInfo(artistID, false);
             return artistScreen;
         case Screen.ScreenType.Search:
             var searchScreen = new SearchResultScreen();
             var query = (string)ScreenList[CurrentIndex].Parameter;
             searchScreen.SetQuery(query, false);
             return searchScreen;
         case Screen.ScreenType.SeeAll:
             var seeAllScreen = new SeeAllScreen();
             var category = (string)ScreenList[CurrentIndex].Parameter;
             seeAllScreen.SetCategory(category, false);
             return seeAllScreen;
         default:
             Debug.Fail(string.Format("GetCurrentScreen error, index: {0}", CurrentIndex));
             return null;
     }
     return null;
 }
 private void motionItemVertical_MotionClicked(ulong motionID)
 {
     var detailScreen = new MotionDetailScreen();
     detailScreen.SetInfo(motionID);
     StaticMainWindow.Window.ChangeScreen(detailScreen);
 }
 private void RelatedMotions_MotionClicked(ulong motionid)
 {
     var motionDetailScreen = new MotionDetailScreen();
     motionDetailScreen.SetInfo(motionid);
     StaticMainWindow.Window.ChangeScreen(motionDetailScreen);
 }
 private void Library_MotionClick(ulong motionID)
 {
     var motionDetail = new MotionDetailScreen();
     motionDetail.SetInfo(motionID);
     StaticMainWindow.Window.navigationBar.StoreToggleButton.IsChecked = true;
     StaticMainWindow.Window.navigationBar.RemoteToggleButton.IsChecked = false;
     StaticMainWindow.Window.ChangeScreen(motionDetail);
 }
 private void PurchasedMotion_MotionClicked(ulong motionID)
 {
     var detailScreen = new MotionDetailScreen();
     detailScreen.SetInfo(motionID);
     StaticMainWindow.Window.ChangeScreen(detailScreen);
 }