public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/FillInBlankControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rtxtContent = ((Liquid.RichTextBox)(this.FindName("rtxtContent")));
 }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/FillInBlankControl.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rtxtContent = ((Liquid.RichTextBox)(this.FindName("rtxtContent")));
 }
示例#3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/WritingControl.xaml", System.UriKind.Relative));
     this.strbWrite = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbWrite")));
     this.strbWriteReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbWriteReverse")));
     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.richTextBox = ((Liquid.RichTextBox)(this.FindName("richTextBox")));
     this.rtbContent = ((Liquid.RichTextBlock)(this.FindName("rtbContent")));
     this.btWrite = ((System.Windows.Controls.Button)(this.FindName("btWrite")));
 }
示例#4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/WritingControl.xaml", System.UriKind.Relative));
     this.strbWrite        = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbWrite")));
     this.strbWriteReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strbWriteReverse")));
     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.richTextBox      = ((Liquid.RichTextBox)(this.FindName("richTextBox")));
     this.rtbContent       = ((Liquid.RichTextBlock)(this.FindName("rtbContent")));
     this.btWrite          = ((System.Windows.Controls.Button)(this.FindName("btWrite")));
 }
示例#5
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")));
 }
示例#6
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")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/LanguageFocusControl.xaml", System.UriKind.Relative));
     this.strb_ShowGrammar        = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowGrammar")));
     this.strb_ShowAnswer         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowAnswer")));
     this.strb_ShowGrammarReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowGrammarReverse")));
     this.strb_ShowAnswerReverse  = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowAnswerReverse")));
     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.gridGrammar   = ((System.Windows.Controls.Grid)(this.FindName("gridGrammar")));
     this.rtb_Grammar   = ((Liquid.RichTextBox)(this.FindName("rtb_Grammar")));
     this.rtb_Answer    = ((Liquid.RichTextBox)(this.FindName("rtb_Answer")));
     this.btnTriangle   = ((System.Windows.Controls.Button)(this.FindName("btnTriangle")));
     this.rectangle     = ((System.Windows.Shapes.Rectangle)(this.FindName("rectangle")));
     this.tb_Page       = ((System.Windows.Controls.TextBox)(this.FindName("tb_Page")));
     this.bnt_right     = ((System.Windows.Controls.Image)(this.FindName("bnt_right")));
     this.bnt_left      = ((System.Windows.Controls.Image)(this.FindName("bnt_left")));
     this.bnt_delete    = ((System.Windows.Controls.Image)(this.FindName("bnt_delete")));
     this.buttonGrammar = ((System.Windows.Controls.Button)(this.FindName("buttonGrammar")));
     this.bHideShow     = ((System.Windows.Controls.Button)(this.FindName("bHideShow")));
     this.cvMainPronun  = ((System.Windows.Controls.Canvas)(this.FindName("cvMainPronun")));
     this.cvContent     = ((System.Windows.Controls.Canvas)(this.FindName("cvContent")));
     this.rctbkContent  = ((System.Windows.Shapes.Rectangle)(this.FindName("rctbkContent")));
     this.tlockContent  = ((System.Windows.Controls.TextBlock)(this.FindName("tlockContent")));
     this.txbpronun     = ((System.Windows.Controls.TextBlock)(this.FindName("txbpronun")));
     this.listword      = ((System.Windows.Controls.ListBox)(this.FindName("listword")));
     this.cvPronun      = ((System.Windows.Controls.Canvas)(this.FindName("cvPronun")));
     this.txbpractise   = ((System.Windows.Controls.TextBlock)(this.FindName("txbpractise")));
     this.lbPractise    = ((System.Windows.Controls.ListBox)(this.FindName("lbPractise")));
     this.iTem          = ((System.Windows.Controls.MediaElement)(this.FindName("iTem")));
 }
示例#8
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Database(fireworks);component/editor.xaml", System.UriKind.Relative));
     this.Storyboard1      = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard1")));
     this.LayoutRoot       = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.Scale            = ((System.Windows.Media.ScaleTransform)(this.FindName("Scale")));
     this.Translate        = ((System.Windows.Media.TranslateTransform)(this.FindName("Translate")));
     this.flyout_states    = ((System.Windows.VisualStateGroup)(this.FindName("flyout_states")));
     this.none             = ((System.Windows.VisualState)(this.FindName("none")));
     this.insert           = ((System.Windows.VisualState)(this.FindName("insert")));
     this.format           = ((System.Windows.VisualState)(this.FindName("format")));
     this.table            = ((System.Windows.VisualState)(this.FindName("table")));
     this.workspace_states = ((System.Windows.VisualStateGroup)(this.FindName("workspace_states")));
     this.code_v           = ((System.Windows.VisualState)(this.FindName("code_v")));
     this.design_v         = ((System.Windows.VisualState)(this.FindName("design_v")));
     this.starting         = ((System.Windows.VisualStateGroup)(this.FindName("starting")));
     this.start            = ((System.Windows.VisualState)(this.FindName("start")));
     this.popup            = ((System.Windows.VisualStateGroup)(this.FindName("popup")));
     this.modalfade        = ((System.Windows.VisualState)(this.FindName("modalfade")));
     this.layout           = ((System.Windows.Shapes.Rectangle)(this.FindName("layout")));
     this.starlayoutroot   = ((System.Windows.Controls.Canvas)(this.FindName("starlayoutroot")));
     this.browseninsert    = ((System.Windows.Controls.Button)(this.FindName("browseninsert")));
     this.myimage          = ((System.Windows.Controls.Image)(this.FindName("myimage")));
     this.mytext           = ((System.Windows.Controls.TextBlock)(this.FindName("mytext")));
     this.textbox1         = ((System.Windows.Controls.TextBlock)(this.FindName("textbox1")));
     this.workspace        = ((System.Windows.Controls.Canvas)(this.FindName("workspace")));
     this.but_design       = ((System.Windows.Controls.Button)(this.FindName("but_design")));
     this.but_code         = ((System.Windows.Controls.Button)(this.FindName("but_code")));
     this.rect_code        = ((System.Windows.Shapes.Rectangle)(this.FindName("rect_code")));
     this.text_design      = ((System.Windows.Controls.TextBlock)(this.FindName("text_design")));
     this.text_code        = ((System.Windows.Controls.TextBlock)(this.FindName("text_code")));
     this.canvas_code      = ((System.Windows.Controls.Canvas)(this.FindName("canvas_code")));
     this.rtb1             = ((Liquid.RichTextBox)(this.FindName("rtb1")));
     this.stackPanel       = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel")));
     this.tool_undo        = ((System.Windows.Controls.Button)(this.FindName("tool_undo")));
     this.tool_redo        = ((System.Windows.Controls.Button)(this.FindName("tool_redo")));
     this.tool_cut         = ((System.Windows.Controls.Button)(this.FindName("tool_cut")));
     this.tool_copy        = ((System.Windows.Controls.Button)(this.FindName("tool_copy")));
     this.tool_paste       = ((System.Windows.Controls.Button)(this.FindName("tool_paste")));
     this.tool_find        = ((System.Windows.Controls.Button)(this.FindName("tool_find")));
     this.zoom             = ((System.Windows.Controls.ComboBox)(this.FindName("zoom")));
     this.canvas_design    = ((System.Windows.Controls.Canvas)(this.FindName("canvas_design")));
     this.rtb                    = ((Liquid.RichTextBox)(this.FindName("rtb")));
     this.red                    = ((System.Windows.Shapes.Rectangle)(this.FindName("red")));
     this.sidebar_insert         = ((System.Windows.Controls.Canvas)(this.FindName("sidebar_insert")));
     this.tool_button            = ((System.Windows.Controls.Button)(this.FindName("tool_button")));
     this.tool_label             = ((System.Windows.Controls.Button)(this.FindName("tool_label")));
     this.tool_textbox           = ((System.Windows.Controls.Button)(this.FindName("tool_textbox")));
     this.tool_radio             = ((System.Windows.Controls.Button)(this.FindName("tool_radio")));
     this.tool_check             = ((System.Windows.Controls.Button)(this.FindName("tool_check")));
     this.tool_hyperlink         = ((System.Windows.Controls.Button)(this.FindName("tool_hyperlink")));
     this.tool_line              = ((System.Windows.Controls.Button)(this.FindName("tool_line")));
     this.tool_image             = ((System.Windows.Controls.Button)(this.FindName("tool_image")));
     this.tool_table             = ((System.Windows.Controls.Button)(this.FindName("tool_table")));
     this.buttonimage            = ((System.Windows.Controls.Image)(this.FindName("buttonimage")));
     this.sidebar_format         = ((System.Windows.Controls.Canvas)(this.FindName("sidebar_format")));
     this.tool_bold              = ((System.Windows.Controls.Button)(this.FindName("tool_bold")));
     this.tool_italic            = ((System.Windows.Controls.Button)(this.FindName("tool_italic")));
     this.tool_underline         = ((System.Windows.Controls.Button)(this.FindName("tool_underline")));
     this.tool_alignc            = ((System.Windows.Controls.Button)(this.FindName("tool_alignc")));
     this.tool_alignl            = ((System.Windows.Controls.Button)(this.FindName("tool_alignl")));
     this.tool_alignr            = ((System.Windows.Controls.Button)(this.FindName("tool_alignr")));
     this.tool_num               = ((System.Windows.Controls.Button)(this.FindName("tool_num")));
     this.tool_bul               = ((System.Windows.Controls.Button)(this.FindName("tool_bul")));
     this.tool_indent            = ((System.Windows.Controls.Button)(this.FindName("tool_indent")));
     this.tool_outdent           = ((System.Windows.Controls.Button)(this.FindName("tool_outdent")));
     this.tool_sub               = ((System.Windows.Controls.Button)(this.FindName("tool_sub")));
     this.tool_super             = ((System.Windows.Controls.Button)(this.FindName("tool_super")));
     this.tool_strike            = ((System.Windows.Controls.Button)(this.FindName("tool_strike")));
     this.tool_styles            = ((System.Windows.Controls.Button)(this.FindName("tool_styles")));
     this.selectFontFamily       = ((System.Windows.Controls.ComboBox)(this.FindName("selectFontFamily")));
     this.selectFontSize         = ((System.Windows.Controls.ComboBox)(this.FindName("selectFontSize")));
     this.selectShadow           = ((System.Windows.Controls.ComboBox)(this.FindName("selectShadow")));
     this.selectColor            = ((Liquid.ColorSelector)(this.FindName("selectColor")));
     this.selectBackground       = ((Liquid.ColorSelector)(this.FindName("selectBackground")));
     this.sidebar_table          = ((System.Windows.Controls.Canvas)(this.FindName("sidebar_table")));
     this.tool_addrow            = ((System.Windows.Controls.Button)(this.FindName("tool_addrow")));
     this.tool_addcol            = ((System.Windows.Controls.Button)(this.FindName("tool_addcol")));
     this.tool_delrow            = ((System.Windows.Controls.Button)(this.FindName("tool_delrow")));
     this.tool_delcol            = ((System.Windows.Controls.Button)(this.FindName("tool_delcol")));
     this.tool_edit_table        = ((System.Windows.Controls.Button)(this.FindName("tool_edit_table")));
     this.detail_page_menus      = ((System.Windows.Controls.Canvas)(this.FindName("detail_page_menus")));
     this.but_insert             = ((System.Windows.Controls.Button)(this.FindName("but_insert")));
     this.but_format             = ((System.Windows.Controls.Button)(this.FindName("but_format")));
     this.but_table              = ((System.Windows.Controls.Button)(this.FindName("but_table")));
     this.but_templates          = ((System.Windows.Controls.Button)(this.FindName("but_templates")));
     this.menubar                = ((System.Windows.Controls.Canvas)(this.FindName("menubar")));
     this.testMenu               = ((Liquid.MainMenu)(this.FindName("testMenu")));
     this.RootElement            = ((System.Windows.Controls.Grid)(this.FindName("RootElement")));
     this.ElementHover           = ((System.Windows.Shapes.Rectangle)(this.FindName("ElementHover")));
     this.ElementText            = ((System.Windows.Controls.TextBlock)(this.FindName("ElementText")));
     this.datetime               = ((System.Windows.Controls.TextBlock)(this.FindName("datetime")));
     this.filename               = ((System.Windows.Controls.TextBlock)(this.FindName("filename")));
     this.layout_Copy            = ((System.Windows.Shapes.Rectangle)(this.FindName("layout_Copy")));
     this.tooltip_bubble         = ((Liquid.Bubble)(this.FindName("tooltip_bubble")));
     this.tooltip_sp             = ((System.Windows.Controls.StackPanel)(this.FindName("tooltip_sp")));
     this.tooltip_image          = ((System.Windows.Controls.Image)(this.FindName("tooltip_image")));
     this.tooltip_text           = ((System.Windows.Controls.TextBlock)(this.FindName("tooltip_text")));
     this.fader                  = ((System.Windows.Shapes.Rectangle)(this.FindName("fader")));
     this.stylePopup             = ((Liquid.Dialog)(this.FindName("stylePopup")));
     this.selectStyle            = ((System.Windows.Controls.ListBox)(this.FindName("selectStyle")));
     this.button                 = ((System.Windows.Controls.Button)(this.FindName("button")));
     this.myrect                 = ((System.Windows.Shapes.Rectangle)(this.FindName("myrect")));
     this.areYouSure             = ((Liquid.Dialog)(this.FindName("areYouSure")));
     this.stack1                 = ((System.Windows.Controls.StackPanel)(this.FindName("stack1")));
     this.name                   = ((System.Windows.Controls.TextBlock)(this.FindName("name")));
     this.name1                  = ((System.Windows.Controls.TextBox)(this.FindName("name1")));
     this.value                  = ((System.Windows.Controls.TextBlock)(this.FindName("value")));
     this.value1                 = ((System.Windows.Controls.TextBox)(this.FindName("value1")));
     this.stack_lbl              = ((System.Windows.Controls.StackPanel)(this.FindName("stack_lbl")));
     this.name4                  = ((System.Windows.Controls.TextBlock)(this.FindName("name4")));
     this.txt_lbl                = ((System.Windows.Controls.TextBox)(this.FindName("txt_lbl")));
     this.stack2                 = ((System.Windows.Controls.StackPanel)(this.FindName("stack2")));
     this.checked_box            = ((System.Windows.Controls.CheckBox)(this.FindName("checked_box")));
     this.insertEditTableDialog  = ((Liquid.Dialog)(this.FindName("insertEditTableDialog")));
     this.tableColumns           = ((System.Windows.Controls.TextBox)(this.FindName("tableColumns")));
     this.tableRows              = ((System.Windows.Controls.TextBox)(this.FindName("tableRows")));
     this.tableStyle             = ((System.Windows.Controls.ComboBox)(this.FindName("tableStyle")));
     this.TableRed               = ((Liquid.Table)(this.FindName("TableRed")));
     this.tablePreview           = ((Liquid.Table)(this.FindName("tablePreview")));
     this.findPopup              = ((Liquid.Dialog)(this.FindName("findPopup")));
     this.searchTerms            = ((System.Windows.Controls.TextBox)(this.FindName("searchTerms")));
     this.search                 = ((System.Windows.Controls.Button)(this.FindName("search")));
     this.enterURL               = ((Liquid.Dialog)(this.FindName("enterURL")));
     this.url                    = ((System.Windows.Controls.TextBox)(this.FindName("url")));
     this.previewPopup           = ((Liquid.Dialog)(this.FindName("previewPopup")));
     this.previewRichText        = ((Liquid.RichTextBlock)(this.FindName("previewRichText")));
     this.dropdown_popup         = ((Liquid.Dialog)(this.FindName("dropdown_popup")));
     this.name2                  = ((System.Windows.Controls.TextBlock)(this.FindName("name2")));
     this.name3                  = ((System.Windows.Controls.TextBox)(this.FindName("name3")));
     this.value2                 = ((System.Windows.Controls.TextBlock)(this.FindName("value2")));
     this.value3                 = ((System.Windows.Controls.TextBox)(this.FindName("value3")));
     this.comboitems             = ((System.Windows.Controls.StackPanel)(this.FindName("comboitems")));
     this.comboitem1             = ((System.Windows.Controls.TextBox)(this.FindName("comboitem1")));
     this.comboitem2             = ((System.Windows.Controls.TextBox)(this.FindName("comboitem2")));
     this.comboitem3             = ((System.Windows.Controls.TextBox)(this.FindName("comboitem3")));
     this.image_popup            = ((Liquid.Dialog)(this.FindName("image_popup")));
     this.Holder                 = ((System.Windows.Controls.Canvas)(this.FindName("Holder")));
     this.imgtext                = ((System.Windows.Controls.TextBlock)(this.FindName("imgtext")));
     this.MoveLeftButton         = ((System.Windows.Controls.Image)(this.FindName("MoveLeftButton")));
     this.MoveRightButton        = ((System.Windows.Controls.Image)(this.FindName("MoveRightButton")));
     this.image_width            = ((System.Windows.Controls.TextBox)(this.FindName("image_width")));
     this.image_height           = ((System.Windows.Controls.TextBox)(this.FindName("image_height")));
     this.FullScreen1            = ((System.Windows.Controls.Button)(this.FindName("FullScreen1")));
     this.FullScreen2            = ((System.Windows.Controls.Button)(this.FindName("FullScreen2")));
     this.dragging               = ((System.Windows.Controls.Image)(this.FindName("dragging")));
     this.editor_popup_save      = ((Liquid.Dialog)(this.FindName("editor_popup_save")));
     this.editor_tblock_savefile = ((System.Windows.Controls.TextBlock)(this.FindName("editor_tblock_savefile")));
     this.editor_btn_saveyes     = ((System.Windows.Controls.Button)(this.FindName("editor_btn_saveyes")));
     this.editor_btn_saveno      = ((System.Windows.Controls.Button)(this.FindName("editor_btn_saveno")));
     this.editor_btn_savecancel  = ((System.Windows.Controls.Button)(this.FindName("editor_btn_savecancel")));
     this.editor_rect_fader      = ((System.Windows.Shapes.Rectangle)(this.FindName("editor_rect_fader")));
 }
示例#9
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")));
 }
示例#10
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")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UISample;component/LanguageFocusControl.xaml", System.UriKind.Relative));
     this.strb_ShowGrammar = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowGrammar")));
     this.strb_ShowAnswer = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowAnswer")));
     this.strb_ShowGrammarReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowGrammarReverse")));
     this.strb_ShowAnswerReverse = ((System.Windows.Media.Animation.Storyboard)(this.FindName("strb_ShowAnswerReverse")));
     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.gridGrammar = ((System.Windows.Controls.Grid)(this.FindName("gridGrammar")));
     this.rtb_Grammar = ((Liquid.RichTextBox)(this.FindName("rtb_Grammar")));
     this.rtb_Answer = ((Liquid.RichTextBox)(this.FindName("rtb_Answer")));
     this.btnTriangle = ((System.Windows.Controls.Button)(this.FindName("btnTriangle")));
     this.rectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("rectangle")));
     this.tb_Page = ((System.Windows.Controls.TextBox)(this.FindName("tb_Page")));
     this.bnt_right = ((System.Windows.Controls.Image)(this.FindName("bnt_right")));
     this.bnt_left = ((System.Windows.Controls.Image)(this.FindName("bnt_left")));
     this.bnt_delete = ((System.Windows.Controls.Image)(this.FindName("bnt_delete")));
     this.buttonGrammar = ((System.Windows.Controls.Button)(this.FindName("buttonGrammar")));
     this.bHideShow = ((System.Windows.Controls.Button)(this.FindName("bHideShow")));
     this.cvMainPronun = ((System.Windows.Controls.Canvas)(this.FindName("cvMainPronun")));
     this.cvContent = ((System.Windows.Controls.Canvas)(this.FindName("cvContent")));
     this.rctbkContent = ((System.Windows.Shapes.Rectangle)(this.FindName("rctbkContent")));
     this.tlockContent = ((System.Windows.Controls.TextBlock)(this.FindName("tlockContent")));
     this.txbpronun = ((System.Windows.Controls.TextBlock)(this.FindName("txbpronun")));
     this.listword = ((System.Windows.Controls.ListBox)(this.FindName("listword")));
     this.cvPronun = ((System.Windows.Controls.Canvas)(this.FindName("cvPronun")));
     this.txbpractise = ((System.Windows.Controls.TextBlock)(this.FindName("txbpractise")));
     this.lbPractise = ((System.Windows.Controls.ListBox)(this.FindName("lbPractise")));
     this.iTem = ((System.Windows.Controls.MediaElement)(this.FindName("iTem")));
 }