Ejemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NihongoSenpai;component/Pages/ShowKanjiPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.privotCtrl = ((Microsoft.Phone.Controls.Pivot)(this.FindName("privotCtrl")));
     this.kanjiItem0 = ((NihongoSenpai.Controls.DetailKanjiItem)(this.FindName("kanjiItem0")));
     this.kanjiItem1 = ((NihongoSenpai.Controls.DetailKanjiItem)(this.FindName("kanjiItem1")));
     this.kanjiItem2 = ((NihongoSenpai.Controls.DetailKanjiItem)(this.FindName("kanjiItem2")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NihongoSenpai;component/Pages/PracticeFlashcardsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.statusPanel                = ((System.Windows.Controls.Grid)(this.FindName("statusPanel")));
     this.wordsLeftTextblock         = ((System.Windows.Controls.TextBlock)(this.FindName("wordsLeftTextblock")));
     this.wordsLeftValueTextblock    = ((System.Windows.Controls.TextBlock)(this.FindName("wordsLeftValueTextblock")));
     this.wordsCorrectTextblock      = ((System.Windows.Controls.TextBlock)(this.FindName("wordsCorrectTextblock")));
     this.wordsCorrectValueTextblock = ((System.Windows.Controls.TextBlock)(this.FindName("wordsCorrectValueTextblock")));
     this.wordsWrongTextblock        = ((System.Windows.Controls.TextBlock)(this.FindName("wordsWrongTextblock")));
     this.wordsWrongValueTextblock   = ((System.Windows.Controls.TextBlock)(this.FindName("wordsWrongValueTextblock")));
     this.detailKanjiItem            = ((NihongoSenpai.Controls.DetailKanjiItem)(this.FindName("detailKanjiItem")));
     this.correct1Button             = ((System.Windows.Controls.Button)(this.FindName("correct1Button")));
     this.correct2Button             = ((System.Windows.Controls.Button)(this.FindName("correct2Button")));
     this.correct3Button             = ((System.Windows.Controls.Button)(this.FindName("correct3Button")));
     this.wrong1Button               = ((System.Windows.Controls.Button)(this.FindName("wrong1Button")));
     this.wrong2Button               = ((System.Windows.Controls.Button)(this.FindName("wrong2Button")));
     this.wrong3Button               = ((System.Windows.Controls.Button)(this.FindName("wrong3Button")));
 }