示例#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.strbShowNewVocabolary = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowNewVocabolary")));
     this.strbShowNewVocabolaryReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowNewVocabolaryReverse")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.scvMain = ((System.Windows.Controls.ScrollViewer)(this.FindName("scvMain")));
     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.txbDesc = ((System.Windows.Controls.TextBlock)(this.FindName("txbDesc")));
     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.mbtReading = ((UISample.MyButton)(this.FindName("mbtReading")));
     this.mbtListening = ((UISample.MyButton)(this.FindName("mbtListening")));
     this.mbtSpeaking = ((UISample.MyButton)(this.FindName("mbtSpeaking")));
     this.mbtGrammar = ((UISample.MyButton)(this.FindName("mbtGrammar")));
     this.mbtLanguageFocus = ((UISample.MyButton)(this.FindName("mbtLanguageFocus")));
     this.grdUnit = ((System.Windows.Controls.Grid)(this.FindName("grdUnit")));
     this.rctUnit = ((System.Windows.Shapes.Rectangle)(this.FindName("rctUnit")));
     this.mbtUnit1 = ((UISample.MyButton)(this.FindName("mbtUnit1")));
     this.mbtUnit2 = ((UISample.MyButton)(this.FindName("mbtUnit2")));
     this.mbtUnit3 = ((UISample.MyButton)(this.FindName("mbtUnit3")));
     this.mbtUnit4 = ((UISample.MyButton)(this.FindName("mbtUnit4")));
     this.mbtUnit5 = ((UISample.MyButton)(this.FindName("mbtUnit5")));
     this.mbtUnit6 = ((UISample.MyButton)(this.FindName("mbtUnit6")));
     this.mbtUnit7 = ((UISample.MyButton)(this.FindName("mbtUnit7")));
     this.mbtUnit8 = ((UISample.MyButton)(this.FindName("mbtUnit8")));
     this.mbtUnit9 = ((UISample.MyButton)(this.FindName("mbtUnit9")));
     this.mbtUnit10 = ((UISample.MyButton)(this.FindName("mbtUnit10")));
     this.mbtUnit11 = ((UISample.MyButton)(this.FindName("mbtUnit11")));
     this.mbtUnit12 = ((UISample.MyButton)(this.FindName("mbtUnit12")));
     this.mbtUnit13 = ((UISample.MyButton)(this.FindName("mbtUnit13")));
     this.mbtUnit14 = ((UISample.MyButton)(this.FindName("mbtUnit14")));
     this.mbtUnit15 = ((UISample.MyButton)(this.FindName("mbtUnit15")));
     this.mbtUnit16 = ((UISample.MyButton)(this.FindName("mbtUnit16")));
     this.rctLeft = ((System.Windows.Shapes.Rectangle)(this.FindName("rctLeft")));
     this.cnvReading = ((System.Windows.Controls.Canvas)(this.FindName("cnvReading")));
     this.rctReadingContent = ((System.Windows.Shapes.Rectangle)(this.FindName("rctReadingContent")));
     this.txbReadingTitle = ((System.Windows.Controls.TextBlock)(this.FindName("txbReadingTitle")));
     this.btnTriangle = ((System.Windows.Controls.Button)(this.FindName("btnTriangle")));
     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.rtbxReading = ((Liquid.RichTextBox)(this.FindName("rtbxReading")));
     this.rpcReadingPractice = ((MyControlLibrary.ReadingPracticeControl)(this.FindName("rpcReadingPractice")));
     this.txbReadingTitle_Copy = ((System.Windows.Controls.TextBlock)(this.FindName("txbReadingTitle_Copy")));
     this.bnt_New_Vocabulary = ((System.Windows.Controls.Button)(this.FindName("bnt_New_Vocabulary")));
     this.dg_NewVocabulary = ((System.Windows.Controls.DataGrid)(this.FindName("dg_NewVocabulary")));
 }
示例#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.strbShowNewVocabolary         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowNewVocabolary")));
     this.strbShowNewVocabolaryReverse  = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbShowNewVocabolaryReverse")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.scvMain              = ((System.Windows.Controls.ScrollViewer)(this.FindName("scvMain")));
     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.txbDesc              = ((System.Windows.Controls.TextBlock)(this.FindName("txbDesc")));
     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.mbtReading           = ((UISample.MyButton)(this.FindName("mbtReading")));
     this.mbtListening         = ((UISample.MyButton)(this.FindName("mbtListening")));
     this.mbtSpeaking          = ((UISample.MyButton)(this.FindName("mbtSpeaking")));
     this.mbtGrammar           = ((UISample.MyButton)(this.FindName("mbtGrammar")));
     this.mbtLanguageFocus     = ((UISample.MyButton)(this.FindName("mbtLanguageFocus")));
     this.grdUnit              = ((System.Windows.Controls.Grid)(this.FindName("grdUnit")));
     this.rctUnit              = ((System.Windows.Shapes.Rectangle)(this.FindName("rctUnit")));
     this.mbtUnit1             = ((UISample.MyButton)(this.FindName("mbtUnit1")));
     this.mbtUnit2             = ((UISample.MyButton)(this.FindName("mbtUnit2")));
     this.mbtUnit3             = ((UISample.MyButton)(this.FindName("mbtUnit3")));
     this.mbtUnit4             = ((UISample.MyButton)(this.FindName("mbtUnit4")));
     this.mbtUnit5             = ((UISample.MyButton)(this.FindName("mbtUnit5")));
     this.mbtUnit6             = ((UISample.MyButton)(this.FindName("mbtUnit6")));
     this.mbtUnit7             = ((UISample.MyButton)(this.FindName("mbtUnit7")));
     this.mbtUnit8             = ((UISample.MyButton)(this.FindName("mbtUnit8")));
     this.mbtUnit9             = ((UISample.MyButton)(this.FindName("mbtUnit9")));
     this.mbtUnit10            = ((UISample.MyButton)(this.FindName("mbtUnit10")));
     this.mbtUnit11            = ((UISample.MyButton)(this.FindName("mbtUnit11")));
     this.mbtUnit12            = ((UISample.MyButton)(this.FindName("mbtUnit12")));
     this.mbtUnit13            = ((UISample.MyButton)(this.FindName("mbtUnit13")));
     this.mbtUnit14            = ((UISample.MyButton)(this.FindName("mbtUnit14")));
     this.mbtUnit15            = ((UISample.MyButton)(this.FindName("mbtUnit15")));
     this.mbtUnit16            = ((UISample.MyButton)(this.FindName("mbtUnit16")));
     this.rctLeft              = ((System.Windows.Shapes.Rectangle)(this.FindName("rctLeft")));
     this.cnvReading           = ((System.Windows.Controls.Canvas)(this.FindName("cnvReading")));
     this.rctReadingContent    = ((System.Windows.Shapes.Rectangle)(this.FindName("rctReadingContent")));
     this.txbReadingTitle      = ((System.Windows.Controls.TextBlock)(this.FindName("txbReadingTitle")));
     this.btnTriangle          = ((System.Windows.Controls.Button)(this.FindName("btnTriangle")));
     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.rtbxReading          = ((Liquid.RichTextBox)(this.FindName("rtbxReading")));
     this.rpcReadingPractice   = ((MyControlLibrary.ReadingPracticeControl)(this.FindName("rpcReadingPractice")));
     this.txbReadingTitle_Copy = ((System.Windows.Controls.TextBlock)(this.FindName("txbReadingTitle_Copy")));
     this.bnt_New_Vocabulary   = ((System.Windows.Controls.Button)(this.FindName("bnt_New_Vocabulary")));
     this.dg_NewVocabulary     = ((System.Windows.Controls.DataGrid)(this.FindName("dg_NewVocabulary")));
 }