Exemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/MainPage.xaml", System.UriKind.Relative));
     this.strbShowUnitGrid              = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowUnitGrid")));
     this.strbShowReadingContent        = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowReadingContent")));
     this.strbShowReadingContentReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowReadingContentReverse")));
     this.strbFindAnimation             = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbFindAnimation")));
     this.strbFindAnimation_Copy1       = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbFindAnimation_Copy1")));
     this.LayoutRoot             = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.scvLayout              = ((System.Windows.Controls.ScrollViewer)(this.FindName("scvLayout")));
     this.grdMain                = ((System.Windows.Controls.Grid)(this.FindName("grdMain")));
     this.rctTop                 = ((System.Windows.Shapes.Rectangle)(this.FindName("rctTop")));
     this.rctBottom              = ((System.Windows.Shapes.Rectangle)(this.FindName("rctBottom")));
     this.txbLearningEng         = ((System.Windows.Controls.TextBlock)(this.FindName("txbLearningEng")));
     this.txbGrade10             = ((System.Windows.Controls.TextBlock)(this.FindName("txbGrade10")));
     this.cnvAllControl          = ((System.Windows.Controls.Canvas)(this.FindName("cnvAllControl")));
     this.grdDescription         = ((System.Windows.Controls.Grid)(this.FindName("grdDescription")));
     this.rctDesc                = ((System.Windows.Shapes.Rectangle)(this.FindName("rctDesc")));
     this.rtbReviewContent       = ((Liquid.RichTextBlock)(this.FindName("rtbReviewContent")));
     this.grdSection             = ((System.Windows.Controls.Grid)(this.FindName("grdSection")));
     this.rctSection             = ((System.Windows.Shapes.Rectangle)(this.FindName("rctSection")));
     this.txbChooseSection       = ((System.Windows.Controls.TextBlock)(this.FindName("txbChooseSection")));
     this.txbReading             = ((System.Windows.Controls.TextBlock)(this.FindName("txbReading")));
     this.txbSpeaking            = ((System.Windows.Controls.TextBlock)(this.FindName("txbSpeaking")));
     this.txbListening           = ((System.Windows.Controls.TextBlock)(this.FindName("txbListening")));
     this.txbWriting             = ((System.Windows.Controls.TextBlock)(this.FindName("txbWriting")));
     this.txbLanguageFocus       = ((System.Windows.Controls.TextBlock)(this.FindName("txbLanguageFocus")));
     this.rctReading             = ((System.Windows.Shapes.Rectangle)(this.FindName("rctReading")));
     this.rctSpeaking            = ((System.Windows.Shapes.Rectangle)(this.FindName("rctSpeaking")));
     this.rctListening           = ((System.Windows.Shapes.Rectangle)(this.FindName("rctListening")));
     this.rctWriting             = ((System.Windows.Shapes.Rectangle)(this.FindName("rctWriting")));
     this.rctLanguageFocus       = ((System.Windows.Shapes.Rectangle)(this.FindName("rctLanguageFocus")));
     this.grdUnit                = ((System.Windows.Controls.Grid)(this.FindName("grdUnit")));
     this.rctUnitBackground      = ((System.Windows.Shapes.Rectangle)(this.FindName("rctUnitBackground")));
     this.txbChooseUnit          = ((System.Windows.Controls.TextBlock)(this.FindName("txbChooseUnit")));
     this.ucUnitList             = ((UISample.UnitControl)(this.FindName("ucUnitList")));
     this.rctLeft                = ((System.Windows.Shapes.Rectangle)(this.FindName("rctLeft")));
     this.btnTriangle            = ((System.Windows.Controls.Button)(this.FindName("btnTriangle")));
     this.cnvContent             = ((System.Windows.Controls.Canvas)(this.FindName("cnvContent")));
     this.rctrlReadingContent    = ((UISample.ReadingControl)(this.FindName("rctrlReadingContent")));
     this.lctrlListeningContent  = ((UISample.ListeningControl)(this.FindName("lctrlListeningContent")));
     this.sctrlSpeakingContent   = ((UISample.SpeakingControl)(this.FindName("sctrlSpeakingContent")));
     this.wctrlWritingContent    = ((UISample.WritingControl)(this.FindName("wctrlWritingContent")));
     this.lfctrlLangFocusContent = ((UISample.LanguageFocusControl)(this.FindName("lfctrlLangFocusContent")));
     this.hbtnGoogleLink         = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hbtnGoogleLink")));
     this.canvas                 = ((System.Windows.Controls.Canvas)(this.FindName("canvas")));
     this.findControl            = ((UISample.FindControl)(this.FindName("findControl")));
     this.button                 = ((System.Windows.Controls.Button)(this.FindName("button")));
 }
Exemplo n.º 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/MainPage.xaml", System.UriKind.Relative));
     this.strbShowUnitGrid = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowUnitGrid")));
     this.strbShowReadingContent = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowReadingContent")));
     this.strbShowReadingContentReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowReadingContentReverse")));
     this.strbFindAnimation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbFindAnimation")));
     this.strbFindAnimation_Copy1 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbFindAnimation_Copy1")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.scvLayout = ((System.Windows.Controls.ScrollViewer)(this.FindName("scvLayout")));
     this.grdMain = ((System.Windows.Controls.Grid)(this.FindName("grdMain")));
     this.rctTop = ((System.Windows.Shapes.Rectangle)(this.FindName("rctTop")));
     this.rctBottom = ((System.Windows.Shapes.Rectangle)(this.FindName("rctBottom")));
     this.txbLearningEng = ((System.Windows.Controls.TextBlock)(this.FindName("txbLearningEng")));
     this.txbGrade10 = ((System.Windows.Controls.TextBlock)(this.FindName("txbGrade10")));
     this.cnvAllControl = ((System.Windows.Controls.Canvas)(this.FindName("cnvAllControl")));
     this.grdDescription = ((System.Windows.Controls.Grid)(this.FindName("grdDescription")));
     this.rctDesc = ((System.Windows.Shapes.Rectangle)(this.FindName("rctDesc")));
     this.rtbReviewContent = ((Liquid.RichTextBlock)(this.FindName("rtbReviewContent")));
     this.grdSection = ((System.Windows.Controls.Grid)(this.FindName("grdSection")));
     this.rctSection = ((System.Windows.Shapes.Rectangle)(this.FindName("rctSection")));
     this.txbChooseSection = ((System.Windows.Controls.TextBlock)(this.FindName("txbChooseSection")));
     this.txbReading = ((System.Windows.Controls.TextBlock)(this.FindName("txbReading")));
     this.txbSpeaking = ((System.Windows.Controls.TextBlock)(this.FindName("txbSpeaking")));
     this.txbListening = ((System.Windows.Controls.TextBlock)(this.FindName("txbListening")));
     this.txbWriting = ((System.Windows.Controls.TextBlock)(this.FindName("txbWriting")));
     this.txbLanguageFocus = ((System.Windows.Controls.TextBlock)(this.FindName("txbLanguageFocus")));
     this.rctReading = ((System.Windows.Shapes.Rectangle)(this.FindName("rctReading")));
     this.rctSpeaking = ((System.Windows.Shapes.Rectangle)(this.FindName("rctSpeaking")));
     this.rctListening = ((System.Windows.Shapes.Rectangle)(this.FindName("rctListening")));
     this.rctWriting = ((System.Windows.Shapes.Rectangle)(this.FindName("rctWriting")));
     this.rctLanguageFocus = ((System.Windows.Shapes.Rectangle)(this.FindName("rctLanguageFocus")));
     this.grdUnit = ((System.Windows.Controls.Grid)(this.FindName("grdUnit")));
     this.rctUnitBackground = ((System.Windows.Shapes.Rectangle)(this.FindName("rctUnitBackground")));
     this.txbChooseUnit = ((System.Windows.Controls.TextBlock)(this.FindName("txbChooseUnit")));
     this.ucUnitList = ((UISample.UnitControl)(this.FindName("ucUnitList")));
     this.rctLeft = ((System.Windows.Shapes.Rectangle)(this.FindName("rctLeft")));
     this.btnTriangle = ((System.Windows.Controls.Button)(this.FindName("btnTriangle")));
     this.cnvContent = ((System.Windows.Controls.Canvas)(this.FindName("cnvContent")));
     this.rctrlReadingContent = ((UISample.ReadingControl)(this.FindName("rctrlReadingContent")));
     this.lctrlListeningContent = ((UISample.ListeningControl)(this.FindName("lctrlListeningContent")));
     this.sctrlSpeakingContent = ((UISample.SpeakingControl)(this.FindName("sctrlSpeakingContent")));
     this.wctrlWritingContent = ((UISample.WritingControl)(this.FindName("wctrlWritingContent")));
     this.lfctrlLangFocusContent = ((UISample.LanguageFocusControl)(this.FindName("lfctrlLangFocusContent")));
     this.hbtnGoogleLink = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hbtnGoogleLink")));
     this.canvas = ((System.Windows.Controls.Canvas)(this.FindName("canvas")));
     this.findControl = ((UISample.FindControl)(this.FindName("findControl")));
     this.button = ((System.Windows.Controls.Button)(this.FindName("button")));
 }