Exemplo n.º 1
0
        public void GotoTableSize(bool isHistory)
        {
            if (!isHistory)
            {
                OnePage.redirectApp.AddTransition(PageName.Search, "Размерные таблицы", HistoryStep.TableSizes);
            }

            if (tableSizeView == null)
            {
                tableSizeView = new TableSizeView();
            }
            else
            {
                tableSizeView.GotoMain();
            }
            Content = tableSizeView;
            //productTemplate.IsVisible = false;
            //scrollView.IsVisible = false;
            //tableSizeView.IsVisible = true;
        }
Exemplo n.º 2
0
        public void GotoTableSize(bool isHistory, HistoryStep step = HistoryStep.Default)
        {
            if (!isHistory)
            {
                OnePage.redirectApp.AddTransition(PageName.Catalog, "Размерные таблицы", HistoryStep.TableSizes);
            }

            if (tableSizeView == null)
            {
                tableSizeView = new TableSizeView();
                mainLayout.Children.Add(tableSizeView);
            }
            else
            {
                tableSizeView.GotoMain();
            }
            productTemplate.IsVisible = false;
            scrollView.IsVisible      = false;
            tableSizeView.IsVisible   = true;
        }