public static bool?ShowWithDynamicResource(string resourceKey, Window owner) { var dialog = new TakeTourDialog(); dialog.Owner = owner; return(dialog.ShowDialog(resourceKey)); }
private void TryDisplayFavoriteTutorial() { if (!Properties.Settings.Default.IsFirstSelectFavorite) { var result = TakeTourDialog.ShowWithDynamicResource("TakeTourMsgShare", this); if (result.HasValue && result.Value) { Process.Start(@"http://waveface.uservoice.com/knowledgebase/articles/215523-step4-share-favorites-with-your-favorite-people"); } Properties.Settings.Default.IsFirstSelectFavorite = true; Properties.Settings.Default.Save(); } }
private void TryDisplayStarredTutorial() { if (!Properties.Settings.Default.IsFirstSelectStarred) { var result = TakeTourDialog.ShowWithDynamicResource("TakeTourMSgHomeShare", this); if (result.HasValue && result.Value) { Process.Start(@"http://waveface.uservoice.com/knowledgebase/articles/215522-step3-view-favorite-memories-on-tablets-and-tvs-"); } Properties.Settings.Default.IsFirstSelectStarred = true; Properties.Settings.Default.Save(); } }
private void TryDisplayUnsortedTutorial() { if (!Properties.Settings.Default.IsFirstSelectUnsorted) { var result = TakeTourDialog.ShowWithDynamicResource("TakeTourMsgOranize", this); if (result.HasValue && result.Value) { Process.Start(@"http://waveface.uservoice.com/knowledgebase/articles/215521-step2-organizing-photos-and-videos-in-favorite-"); } Properties.Settings.Default.IsFirstSelectUnsorted = true; Properties.Settings.Default.Save(); } }