コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((bleachquest.MainWindow)(target)).LostFocus += new System.Windows.RoutedEventHandler(this.Window_LostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.OnLoaded1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:

            #line 39 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.start = ((System.Windows.Controls.Label)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.start.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.start_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 40 "..\..\MainWindow.xaml"
                this.start.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.start_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 5:
                this.startmusic = ((Microsoft.Expression.Interactivity.Media.PlaySoundAction)(target));
                return;

            case 6:
                this.closeform = ((System.Windows.Controls.Label)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.closeform.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.closeform_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.glazzzz = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: HomeLop01.g.cs プロジェクト: lengocluyen/pesproject
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PrimaryEducationSystem.Study.Home;component/HomeLop01.xaml", System.UriKind.Relative));
     this.MathBookAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("MathBookAm")));
     this.VietNammesBookAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("VietNammesBookAm")));
     this.TimetableAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("TimetableAm")));
     this.WordTableAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("WordTableAm")));
     this.PainStudyAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("PainStudyAm")));
     this.WritingStudyAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("WritingStudyAm")));
     this.AcounttingTableAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("AcounttingTableAm")));
     this.BookcaseAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("BookcaseAm")));
     this.TarofficeAm = ((System.Windows.Media.Animation.Storyboard)(this.FindName("TarofficeAm")));
     this.Dragonfly1 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Dragonfly1")));
     this.DragonFly2Am = ((System.Windows.Media.Animation.Storyboard)(this.FindName("DragonFly2Am")));
     this.Dragonfly3Am = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Dragonfly3Am")));
     this.Storyboard_DragonflyTho = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard_DragonflyTho")));
     this.StoryboardTapViet = ((System.Windows.Media.Animation.Storyboard)(this.FindName("StoryboardTapViet")));
     this.Storyboard_backhome = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard_backhome")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Wall = ((System.Windows.Controls.Image)(this.FindName("Wall")));
     this.HomeLop1 = ((System.Windows.Controls.Canvas)(this.FindName("HomeLop1")));
     this.DaragonflyRight = ((System.Windows.Controls.Image)(this.FindName("DaragonflyRight")));
     this.Flower = ((System.Windows.Controls.Image)(this.FindName("Flower")));
     this.Table = ((System.Windows.Controls.Canvas)(this.FindName("Table")));
     this.Song_sat = ((System.Windows.Controls.Image)(this.FindName("Song_sat")));
     this.GragonflyLeft = ((System.Windows.Controls.Image)(this.FindName("GragonflyLeft")));
     this.DragonflyBetween = ((System.Windows.Controls.Image)(this.FindName("DragonflyBetween")));
     this.Ban_hoc = ((System.Windows.Controls.Image)(this.FindName("Ban_hoc")));
     this.Tableface = ((System.Windows.Shapes.Rectangle)(this.FindName("Tableface")));
     this.ButtonAlphabet = ((System.Windows.Controls.Button)(this.FindName("ButtonAlphabet")));
     this.GauBong_BCC = ((System.Windows.Controls.Image)(this.FindName("GauBong_BCC")));
     this.TapViet = ((System.Windows.Controls.Image)(this.FindName("TapViet")));
     this.Pencil = ((System.Windows.Controls.Image)(this.FindName("Pencil")));
     this.NoteTapViet = ((System.Windows.Controls.Border)(this.FindName("NoteTapViet")));
     this.ThoiKhoaBieu = ((System.Windows.Controls.Button)(this.FindName("ThoiKhoaBieu")));
     this.MeoKitty = ((System.Windows.Controls.Image)(this.FindName("MeoKitty")));
     this.EchKepGiay = ((System.Windows.Controls.Image)(this.FindName("EchKepGiay")));
     this.MonTiengViet = ((System.Windows.Controls.Border)(this.FindName("MonTiengViet")));
     this.TiengViet_Sound = ((Microsoft.Expression.Interactivity.Media.PlaySoundAction)(this.FindName("TiengViet_Sound")));
     this.Group_6 = ((System.Windows.Controls.Canvas)(this.FindName("Group_6")));
     this.Path_7 = ((System.Windows.Shapes.Path)(this.FindName("Path_7")));
     this.TextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock")));
     this.Group_8 = ((System.Windows.Controls.Canvas)(this.FindName("Group_8")));
     this.Path_9 = ((System.Windows.Shapes.Path)(this.FindName("Path_9")));
     this.TextBlock_10 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_10")));
     this.Group_11 = ((System.Windows.Controls.Canvas)(this.FindName("Group_11")));
     this.Path_12 = ((System.Windows.Shapes.Path)(this.FindName("Path_12")));
     this.TextBlock_13 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_13")));
     this.Group_14 = ((System.Windows.Controls.Canvas)(this.FindName("Group_14")));
     this.Path_15 = ((System.Windows.Shapes.Path)(this.FindName("Path_15")));
     this.TextBlock_16 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_16")));
     this.Group_17 = ((System.Windows.Controls.Canvas)(this.FindName("Group_17")));
     this.Path_18 = ((System.Windows.Shapes.Path)(this.FindName("Path_18")));
     this.TextBlock_19 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_19")));
     this.Group_20 = ((System.Windows.Controls.Canvas)(this.FindName("Group_20")));
     this.Path_21 = ((System.Windows.Shapes.Path)(this.FindName("Path_21")));
     this.TextBlock_22 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_22")));
     this.Group_23 = ((System.Windows.Controls.Canvas)(this.FindName("Group_23")));
     this.Path_24 = ((System.Windows.Shapes.Path)(this.FindName("Path_24")));
     this.TextBlock_25 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_25")));
     this.Group_26 = ((System.Windows.Controls.Canvas)(this.FindName("Group_26")));
     this.Path_27 = ((System.Windows.Shapes.Path)(this.FindName("Path_27")));
     this.TextBlock_28 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_28")));
     this.Group_29 = ((System.Windows.Controls.Canvas)(this.FindName("Group_29")));
     this.Path_30 = ((System.Windows.Shapes.Path)(this.FindName("Path_30")));
     this.TextBlock_31 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_31")));
     this.Group_32 = ((System.Windows.Controls.Canvas)(this.FindName("Group_32")));
     this.Path_33 = ((System.Windows.Shapes.Path)(this.FindName("Path_33")));
     this.TextBlock_34 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_34")));
     this.Group_35 = ((System.Windows.Controls.Canvas)(this.FindName("Group_35")));
     this.Path_36 = ((System.Windows.Shapes.Path)(this.FindName("Path_36")));
     this.TextBlock_37 = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_37")));
     this.BiaTiengViet = ((System.Windows.Controls.Canvas)(this.FindName("BiaTiengViet")));
     this.Image_39 = ((System.Windows.Controls.Image)(this.FindName("Image_39")));
     this.Path_40 = ((System.Windows.Shapes.Path)(this.FindName("Path_40")));
     this.MonToan = ((System.Windows.Controls.Border)(this.FindName("MonToan")));
     this.MonToan_Sound = ((Microsoft.Expression.Interactivity.Media.PlaySoundAction)(this.FindName("MonToan_Sound")));
     this._ = ((System.Windows.Shapes.Path)(this.FindName("_")));
     this.@__0 = ((System.Windows.Shapes.Path)(this.FindName("__0")));
     this.@__1 = ((System.Windows.Shapes.Path)(this.FindName("__1")));
     this.@__2 = ((System.Windows.Shapes.Path)(this.FindName("__2")));
     this.@__3 = ((System.Windows.Shapes.Path)(this.FindName("__3")));
     this.@__4 = ((System.Windows.Shapes.Path)(this.FindName("__4")));
     this.Bia = ((System.Windows.Controls.Image)(this.FindName("Bia")));
     this.@__6 = ((System.Windows.Shapes.Path)(this.FindName("__6")));
     this.GiaSach = ((System.Windows.Controls.Image)(this.FindName("GiaSach")));
     this.NoteThoiKhoaBieu = ((System.Windows.Controls.Border)(this.FindName("NoteThoiKhoaBieu")));
     this.NoteBangChuCai = ((System.Windows.Controls.Border)(this.FindName("NoteBangChuCai")));
     this.NoteTapve = ((System.Windows.Controls.Border)(this.FindName("NoteTapve")));
     this.NoteBangTinh = ((System.Windows.Controls.Border)(this.FindName("NoteBangTinh")));
     this.NoteThuVien = ((System.Windows.Controls.Border)(this.FindName("NoteThuVien")));
     this.taroffice = ((System.Windows.Controls.Image)(this.FindName("taroffice")));
     this.Clock = ((System.Windows.Controls.Image)(this.FindName("Clock")));
     this.PenBox = ((System.Windows.Controls.Image)(this.FindName("PenBox")));
     this.BackHome = ((System.Windows.Controls.Border)(this.FindName("BackHome")));
     this.BorderApplication = ((System.Windows.Controls.Border)(this.FindName("BorderApplication")));
     this.GridApplication = ((System.Windows.Controls.Grid)(this.FindName("GridApplication")));
     this.ButtonCanceApp = ((System.Windows.Controls.Button)(this.FindName("ButtonCanceApp")));
     this.GridContain = ((System.Windows.Controls.Grid)(this.FindName("GridContain")));
 }