示例#1
0
        /// <summary>
        /// Show the completed panel
        /// </summary>
        /// <param name="animated"></param>
        private void ShowCompletedPanel(bool animated = true)
        {
            var completedPage = serviceProvider.GetRequiredService <TravelCompletedPanel>();

            completedPage.Completed += CompletedCompleted;
            StepFrame.PushPanel(completedPage, animated: animated);
        }
示例#2
0
        /// <summary>
        /// Show the capture panel and listen for its completion event
        /// </summary>
        /// <param name="animated"></param>
        private void ShowCapturePanel(bool animated = true)
        {
            var capturePage = serviceProvider.GetRequiredService <CapturePanel>();

            capturePage.Preferences = preferences;
            capturePage.Completed  += CaptureCompleted;
            StepFrame.PushPanel(capturePage, animated: animated);
        }
示例#3
0
        /// <summary>
        /// Show the account creation panel
        /// </summary>
        /// <param name="animated"></param>
        private void ShowCreateAccountPanel(bool animated = true)
        {
            var accountPanel = serviceProvider.GetRequiredService <CreateAccountPanel>();

            accountPanel.Preferences = preferences;
            accountPanel.Completed  += AccountCreationCompleted;
            StepFrame.PushPanel(accountPanel, animated: animated);
        }