Ejemplo n.º 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/ReadingControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rctBackground = ((System.Windows.Shapes.Rectangle)(this.FindName("rctBackground")));
     this.txbTitle = ((System.Windows.Controls.TextBlock)(this.FindName("txbTitle")));
     this.rtxtEngReadingText = ((Liquid.RichTextBox)(this.FindName("rtxtEngReadingText")));
     this.rpcReadingPractice = ((UISample.PracticeControl)(this.FindName("rpcReadingPractice")));
     this.rtxtVietReadingText = ((Liquid.RichTextBox)(this.FindName("rtxtVietReadingText")));
     this.audioPlayer = ((HelloSilverlight.Player)(this.FindName("audioPlayer")));
     this.buttonAnswer = ((System.Windows.Controls.Button)(this.FindName("buttonAnswer")));
     this.stkpnButtonMenuPanel = ((System.Windows.Controls.StackPanel)(this.FindName("stkpnButtonMenuPanel")));
     this.bntPractice = ((System.Windows.Controls.Button)(this.FindName("bntPractice")));
     this.bntEnglish = ((System.Windows.Controls.Button)(this.FindName("bntEnglish")));
     this.bntVietnam = ((System.Windows.Controls.Button)(this.FindName("bntVietnam")));
     this.nextButton = ((System.Windows.Controls.Button)(this.FindName("nextButton")));
     this.BackButton = ((System.Windows.Controls.Button)(this.FindName("BackButton")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/ReadingControl.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rctBackground        = ((System.Windows.Shapes.Rectangle)(this.FindName("rctBackground")));
     this.txbTitle             = ((System.Windows.Controls.TextBlock)(this.FindName("txbTitle")));
     this.rtxtEngReadingText   = ((Liquid.RichTextBox)(this.FindName("rtxtEngReadingText")));
     this.rpcReadingPractice   = ((UISample.PracticeControl)(this.FindName("rpcReadingPractice")));
     this.rtxtVietReadingText  = ((Liquid.RichTextBox)(this.FindName("rtxtVietReadingText")));
     this.audioPlayer          = ((HelloSilverlight.Player)(this.FindName("audioPlayer")));
     this.buttonAnswer         = ((System.Windows.Controls.Button)(this.FindName("buttonAnswer")));
     this.stkpnButtonMenuPanel = ((System.Windows.Controls.StackPanel)(this.FindName("stkpnButtonMenuPanel")));
     this.bntPractice          = ((System.Windows.Controls.Button)(this.FindName("bntPractice")));
     this.bntEnglish           = ((System.Windows.Controls.Button)(this.FindName("bntEnglish")));
     this.bntVietnam           = ((System.Windows.Controls.Button)(this.FindName("bntVietnam")));
     this.nextButton           = ((System.Windows.Controls.Button)(this.FindName("nextButton")));
     this.BackButton           = ((System.Windows.Controls.Button)(this.FindName("BackButton")));
 }