Пример #1
0
 public HomePageView()
 {
     InitializeComponent();
     GlobalHomePage = this;
     InitializeGitHub();
     InitializePages();
 }
Пример #2
0
        public HomePageView()
        {
            InitializeComponent();
            GlobalHomePage = this;


            _settingsManager = ServiceLocator.Default.ResolveType <ISettingsManager>()
            ;



            guide.SetCurrentValue(GuidedTour.ItemsProperty, new[] {
                new GuidedTourItem()
                {
                    Target    = LeftSideMenu,
                    Content   = "On the left is the side menu of the homepage.\nYou can find items relevant to the categories indicated.\n\nClick on the background of the SideMenu to continue",
                    Placement = GuidedTourItem.ItemPlacement.Right,
                    Title     = "Side Menu",
                },
                new GuidedTourItem()
                {
                    Target           = LogoNavi,
                    Content          = "This logo also acts as a button, by clicking it you exit the homepage.\n(Same for the button on the bottom of the 'SideMenu') \n\nClick anywhere to continue",
                    Placement        = GuidedTourItem.ItemPlacement.Right,
                    Title            = "WolvenKit Logo",
                    AlternateTargets = new[] { FocusGrid }
                },
                new GuidedTourItem()
                {
                    Target    = WlcmPage.RecentProjectTour,
                    Content   = "Below you can find your recent projects. (If you are new this should be empty)\n\nClick on the 'Recent Projects Text' to continue",
                    Placement = GuidedTourItem.ItemPlacement.Top,
                    Title     = "Recent Projects Overview",
                },
                new GuidedTourItem()
                {
                    Target           = WlcmPage.irathernot,
                    Content          = "On the right you can find a 'quick access panel'.\nLet's start of making a new project.\n\nClick on 'Create Project' to continue\n (The tour will End here, more will be explained in the next version.)",
                    Placement        = GuidedTourItem.ItemPlacement.Left,
                    Title            = "Quick Access Panel",
                    AlternateTargets = new[] { WlcmPage.sdasd }
                }
            });


            guide.Finished += Guide_Finished;

            if (_settingsManager.ShowGuidedTour)
            {
                guide.Visibility = Visibility.Hidden;
            }
        }
Пример #3
0
 public HomePageView()
 {
     InitializeComponent();
     GlobalHomePage = this;
 }