/// <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); }
/// <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); }
/// <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); }