Ejemplo n.º 1
0
 private void StartTutorial()
 {
     helpPopup.Title = "Template";
     helpPopup.SubtitleVisibility = Visibility.Collapsed;
     helpPopup.CloseXVisibility   = Visibility.Collapsed;
     helpPopup.Text = "A template always has a FRONTSIDE and a BACKSIDE.\n"
                      + "FRONTSIDE is the first view of your card while BACKSIDE is shown after you've pressed \"Show Answer\".";
     helpPopup.NextEvent = FirstHelpPopupNext;
     helpPopup.SetOffSet(0, 50);
     helpPopup.ShowWithNext();
 }
Ejemplo n.º 2
0
 private void StartAddDeckAndNotehelp()
 {
     helpPopup.Title = "Deck";
     helpPopup.SubtitleVisibility = Visibility.Collapsed;
     helpPopup.Text      = "Deck is the place to store cards that belong to a certain subject, such as \"Math\", \"Japanese Vocabulary\", etc.";
     helpPopup.NextEvent = FirstAddDeckAndNoteNext;
     helpPopup.ShowWithNext();
 }
Ejemplo n.º 3
0
 private void EnterTutorialModeIfNeeded()
 {
     if (AllHelps.Tutorial == AllHelps.TutorialState.NoteType)
     {
         helpPopup = new HelpPopup();
         UIHelper.AddToGridInFull(mainGrid, helpPopup);
         helpPopup.CloseXVisibility = Visibility.Collapsed;
         helpPopup.Title            = "Note Type";
         helpPopup.SubTitle         = "(Access this from \"Manage Note Types\")";
         helpPopup.Text             = AllHelps.NOTE_TYPE_DEFINITION;
         helpPopup.NextEvent        = HelpPopupNextEventHandler;
         helpPopup.ShowWithNext();
     }
 }