Esempio n. 1
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\Layout.xaml line 13
            {
                this.MN = (global::Windows.UI.Xaml.Controls.ListView)(target);
                ((global::Windows.UI.Xaml.Controls.ListView) this.MN).Loaded += this.Menu_Loaded;
            }
            break;

            case 4: // Pages\Layout.xaml line 16
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.ListViewItem_Tapped;
            }
            break;

            case 6: // Pages\Layout.xaml line 25
            {
                this.MainFrame = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
        {
            global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
            switch (connectionId)
            {
            case 1: // itemMsgList.xaml line 1
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                itemMsgList_obj1_Bindings             bindings = new itemMsgList_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element1, bindings);
            }
            break;

            case 2: // itemMsgList.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element2 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                itemMsgList_obj2_Bindings bindings = new itemMsgList_obj2_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element2.DataContext);
                element2.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element2, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element2, bindings);
            }
            break;
            }
            return(returnValue);
        }
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\Assignment3.xaml line 13
            {
                this.slvMenu = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // Pages\Assignment3.xaml line 17
            {
                this.LV = (global::Windows.UI.Xaml.Controls.ListView)(target);
                ((global::Windows.UI.Xaml.Controls.ListView) this.LV).Loaded += this.ListView_Loaded;
                ((global::Windows.UI.Xaml.Controls.ListView) this.LV).Tapped += this.LV_Tapped;
            }
            break;

            case 4: // Pages\Assignment3.xaml line 19
            {
                this.btn = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.btn).Click += this.Button_Click;
            }
            break;

            case 6: // Pages\Assignment3.xaml line 25
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element6 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element6).Tapped += this.ListViewItem_Tapped;
            }
            break;

            case 7: // Pages\Assignment3.xaml line 36
            {
                global::Windows.UI.Xaml.Controls.ScrollViewer element7 = (global::Windows.UI.Xaml.Controls.ScrollViewer)(target);
                ((global::Windows.UI.Xaml.Controls.ScrollViewer)element7).Loaded += this.ScrollViewer_Loaded;
                ((global::Windows.UI.Xaml.Controls.ScrollViewer)element7).Tapped += this.ScrollViewer_Tapped;
            }
            break;

            case 8: // Pages\Assignment3.xaml line 37
            {
                this.frMenu = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch(connectionId)
                {
                    case 8:
                        this.obj8 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                        break;
                    case 9:
                        this.obj9 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                        break;
                    default:
                        break;
                }
            }
Esempio n. 5
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // pages\PhoneBook.xaml line 12
            {
                this.SV = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // pages\PhoneBook.xaml line 16
            {
                this.LV = (global::Windows.UI.Xaml.Controls.ListView)(target);
                ((global::Windows.UI.Xaml.Controls.ListView) this.LV).Loaded += this.ListView_Loaded;
            }
            break;

            case 4: // pages\PhoneBook.xaml line 18
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element4 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element4).Click += this.Button_Click;
            }
            break;

            case 6: // pages\PhoneBook.xaml line 24
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element6 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element6).Tapped += this.ListViewItem_Tapped;
            }
            break;

            case 9: // pages\PhoneBook.xaml line 35
            {
                global::Windows.UI.Xaml.Controls.ScrollViewer element9 = (global::Windows.UI.Xaml.Controls.ScrollViewer)(target);
                ((global::Windows.UI.Xaml.Controls.ScrollViewer)element9).Loaded += this.ScrollViewer_Loaded;
            }
            break;

            case 10: // pages\PhoneBook.xaml line 36
            {
                this.FrContent = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 6
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            slidingPopup    = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("slidingPopup");
            TxtArea         = (global::Windows.UI.Xaml.Controls.RichEditBox) this.FindName("TxtArea");
            ColorPicker1    = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ColorPicker1");
            ColorPicker2    = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ColorPicker2");
            ColorPicker3    = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ColorPicker3");
            FontCombo       = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("FontCombo");
            papyrus         = (global::Windows.UI.Xaml.Controls.ListViewItem) this.FindName("papyrus");
            comic           = (global::Windows.UI.Xaml.Controls.ListViewItem) this.FindName("comic");
            amharic         = (global::Windows.UI.Xaml.Controls.ListViewItem) this.FindName("amharic");
            english         = (global::Windows.UI.Xaml.Controls.ListViewItem) this.FindName("english");
            BlackColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BlackColor");
            DarkGreenColor  = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("DarkGreenColor");
            RedColor        = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("RedColor");
            BrownColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BrownColor");
            YellowColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("YellowColor");
            WhiteColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("WhiteColor");
            PinkColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("PinkColor");
            BlueColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BlueColor");
            LightGreenColor = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("LightGreenColor");
            sizeSlide       = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("sizeSlide");
            SaveButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SaveButton");
            OpenButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("OpenButton");
            UndoButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("UndoButton");
            RedoButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("RedoButton");
            SelectAll       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SelectAll");
            CopyButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("CopyButton");
            CutButton       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("CutButton");
            PasteButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("PasteButton");
            DeleteButton    = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("DeleteButton");
            FontButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("FontButton");
            StyleButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("StyleButton");
            BoldButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BoldButton");
            FontSizeButton  = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("FontSizeButton");
            FontColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("FontColor");
            PrintButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("PrintButton");
            UnderlineButton = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("UnderlineButton");
            SuperScript     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SuperScript");
            SubScript       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SubScript");
        }
Esempio n. 7
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 8:
                    this.obj8 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                    break;

                case 9:
                    this.obj9 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                    break;

                default:
                    break;
                }
            }
Esempio n. 8
0
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 6: // Ass\Ass3\Assignment3.xaml line 24
     {
         global::Windows.UI.Xaml.Controls.ListViewItem element6 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
         Assignment3_obj6_Bindings bindings = new Assignment3_obj6_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(element6.DataContext);
         element6.DataContextChanged += bindings.DataContextChangedHandler;
         global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element6, bindings);
         global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element6, bindings);
     }
     break;
     }
     return(returnValue);
 }
Esempio n. 9
0
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 4: // Pages\MainPage.xaml line 20
     {
         global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
         MainPage_obj4_Bindings bindings = new MainPage_obj4_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(element4.DataContext);
         element4.DataContextChanged += bindings.DataContextChangedHandler;
         global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
         global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element4, bindings);
     }
     break;
     }
     return(returnValue);
 }
Esempio n. 10
0
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 1:
     {
         global::Windows.UI.Xaml.Controls.ListViewItem element1 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
         CustomListItem_obj1_Bindings bindings = new CustomListItem_obj1_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(this);
         bindings.SetConverterLookupRoot(this);
         this.Bindings     = bindings;
         element1.Loading += bindings.Loading;
     }
     break;
     }
     return(returnValue);
 }
Esempio n. 11
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 9:     // SectionView.xaml line 75
                    this.obj9 = new global::System.WeakReference((global::Windows.UI.Xaml.Controls.Grid)target);
                    break;

                case 10:     // SectionView.xaml line 81
                    this.obj10 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                    break;

                case 11:     // SectionView.xaml line 84
                    this.obj11 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
                    break;

                default:
                    break;
                }
            }
Esempio n. 12
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            _base         = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("_base");
            StudentList   = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("StudentList");
            ClassList     = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("ClassList");
            toolBar       = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("toolBar");
            textPanel     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("textPanel");
            mainTextBox   = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("mainTextBox");
            addText       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("addText");
            cleanText     = (global::Windows.UI.Xaml.Controls.Button) this.FindName("cleanText");
            datePicker    = (global::Windows.UI.Xaml.Controls.DatePicker) this.FindName("datePicker");
            addClass      = (global::Windows.UI.Xaml.Controls.Button) this.FindName("addClass");
            cleanDate     = (global::Windows.UI.Xaml.Controls.Button) this.FindName("cleanDate");
            topicBox      = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("topicBox");
            topicsList    = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("topicsList");
            addTopic      = (global::Windows.UI.Xaml.Controls.Button) this.FindName("addTopic");
            cleanTopic    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("cleanTopic");
            AddButton     = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("AddButton");
            removeButton  = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("removeButton");
            refreshButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("refreshButton");
            classType     = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("classType");
            birthday      = (global::Windows.UI.Xaml.Controls.DatePicker) this.FindName("birthday");
            studentName   = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("studentName");
            Gen           = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("Gen");
            endTime       = (global::Windows.UI.Xaml.Controls.TimePicker) this.FindName("endTime");
            textBlock1    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock1");
            startTime     = (global::Windows.UI.Xaml.Controls.TimePicker) this.FindName("startTime");
            textBlock     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock");
            test          = (global::Windows.UI.Xaml.Controls.ListViewItem) this.FindName("test");
        }
Esempio n. 13
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\Favorite.xaml line 12
            {
                this.lvCart = (global::Windows.UI.Xaml.Controls.ListView)(target);
                ((global::Windows.UI.Xaml.Controls.ListView) this.lvCart).Loaded += this.lvFav_Loaded;
            }
            break;

            case 4: // Pages\Favorite.xaml line 18
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.ListViewItem_Tapped;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 14
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
            {
                this.ClipGeometry = (global::Windows.UI.Xaml.Media.RectangleGeometry)(target);
            }
            break;

            case 2:
            {
                this.LayoutRoot = (global::Windows.UI.Xaml.Controls.Grid)(target);
                    #line 16 "..\..\..\SectionView.xaml"
                ((global::Windows.UI.Xaml.Controls.Grid) this.LayoutRoot).SizeChanged += this.LayoutRoot_SizeChanged;
                    #line default
            }
            break;

            case 3:
            {
                this.ContentTransitionStates = (global::Windows.UI.Xaml.VisualStateGroup)(target);
            }
            break;

            case 4:
            {
                this.ContentSteadyState = (global::Windows.UI.Xaml.VisualState)(target);
            }
            break;

            case 5:
            {
                this.ContentTransitionState = (global::Windows.UI.Xaml.VisualState)(target);
            }
            break;

            case 6:
            {
                this.ContentTransitionStoryboard = (global::Windows.UI.Xaml.Media.Animation.Storyboard)(target);
                    #line 24 "..\..\..\SectionView.xaml"
                ((global::Windows.UI.Xaml.Media.Animation.Storyboard) this.ContentTransitionStoryboard).Completed += this.ContentTransitionStoryboard_Completed;
                    #line default
            }
            break;

            case 8:
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element8 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                    #line 94 "..\..\..\SectionView.xaml"
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element8).Tapped += this.ArticleTapped;
                    #line default
            }
            break;

            case 9:
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element9 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                    #line 97 "..\..\..\SectionView.xaml"
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element9).Tapped += this.ArticleTapped;
                    #line default
            }
            break;

            case 13:
            {
                this.RootTransform = (global::Windows.UI.Xaml.Media.Media3D.CompositeTransform3D)(target);
            }
            break;

            case 14:
            {
                this.CurrentContentRoot = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 15:
            {
                this.NextContentRoot = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 16:
            {
                this.NextContentTransform = (global::Windows.UI.Xaml.Media.Media3D.CompositeTransform3D)(target);
            }
            break;

            case 17:
            {
                this.NextContentPresenter = (global::Windows.UI.Xaml.Controls.ContentPresenter)(target);
            }
            break;

            case 18:
            {
                this.NextContentShadowBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush)(target);
            }
            break;

            case 19:
            {
                this.CurrentContentPresenter = (global::Windows.UI.Xaml.Controls.ContentPresenter)(target);
            }
            break;

            case 20:
            {
                this.CurrentContentShadowBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 15
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
            {
                this.MySplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 2:
            {
                this.HamburgerButton = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 16 "..\..\..\View\DashBoard.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.HamburgerButton).Click += this.HamburgerButton_Click;
                    #line default
            }
            break;

            case 3:
            {
                this.listView = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                    #line 18 "..\..\..\View\DashBoard.xaml"
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.Profile_Tapped;
                    #line default
            }
            break;

            case 5:
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element5 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                    #line 25 "..\..\..\View\DashBoard.xaml"
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element5).Tapped += this.MyProject_Tapped;
                    #line default
            }
            break;

            case 6:
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element6 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                    #line 32 "..\..\..\View\DashBoard.xaml"
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element6).Tapped += this.PostProject_Tapped;
                    #line default
            }
            break;

            case 7:
            {
                this.ProfileImage = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 8:
            {
                this.myFrame = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 16
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // MainPage.xaml line 14
            {
                this.MN = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 4: // MainPage.xaml line 17
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.ListViewItem_Tapped;
            }
            break;

            case 7: // MainPage.xaml line 34
            {
                this.AppTop = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 8: // MainPage.xaml line 46
            {
                global::Windows.UI.Xaml.Controls.ScrollViewer element8 = (global::Windows.UI.Xaml.Controls.ScrollViewer)(target);
                ((global::Windows.UI.Xaml.Controls.ScrollViewer)element8).Loaded += this.ScrollViewer_Loaded;
            }
            break;

            case 9: // MainPage.xaml line 47
            {
                this.MainFrame = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            case 10: // MainPage.xaml line 35
            {
                this.Logo = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 11: // MainPage.xaml line 36
            {
                this.text = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 12: // MainPage.xaml line 38
            {
                this.tym = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.tym).Tapped += this.FontIcon_Tapped;
            }
            break;

            case 13: // MainPage.xaml line 39
            {
                this.cart = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.cart).Tapped += this.Setting_Tapped;
            }
            break;

            case 14: // MainPage.xaml line 40
            {
                this.CartNumber = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 15: // MainPage.xaml line 41
            {
                this.home = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.home).Tapped += this.Alert_Tapped;
            }
            break;

            case 16: // MainPage.xaml line 42
            {
                this.Setting = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            case 17: // MainPage.xaml line 43
            {
                this.ShutDown = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
 public ListViewItemAutomationPeer(global::Windows.UI.Xaml.Controls.ListViewItem owner) : base(owner)
 {
     global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.Automation.Peers.ListViewItemAutomationPeer", "ListViewItemAutomationPeer.ListViewItemAutomationPeer(ListViewItem owner)");
 }
Esempio n. 18
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)(target);
                    #line 8 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Page)element1).Loaded += this.Page_Loaded;
                    #line default
            }
            break;

            case 2:
            {
                this.MySplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3:
            {
                this.MyListBox = (global::Windows.UI.Xaml.Controls.ListBox)(target);
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                    #line 94 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.listitem5_Tapped;
                    #line default
            }
            break;

            case 5:
            {
                this.listitem1 = (global::Windows.UI.Xaml.Controls.ListBoxItem)(target);
                    #line 57 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.ListBoxItem) this.listitem1).Tapped += this.listitem1_Tapped;
                    #line default
            }
            break;

            case 6:
            {
                this.listitem2 = (global::Windows.UI.Xaml.Controls.ListBoxItem)(target);
                    #line 67 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.ListBoxItem) this.listitem2).Tapped += this.listitem2_Tapped;
                    #line default
            }
            break;

            case 7:
            {
                this.listitem3 = (global::Windows.UI.Xaml.Controls.ListBoxItem)(target);
                    #line 78 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.ListBoxItem) this.listitem3).Tapped += this.listitem3_Tapped;
                    #line default
            }
            break;

            case 8:
            {
                this.myFrame1 = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            case 9:
            {
                this.HamburgerButton = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 31 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.HamburgerButton).Click += this.HamburgerButton_Click;
                    #line default
            }
            break;

            case 10:
            {
                this.HumburgerTB = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 11:
            {
                this.mySearchBox = (global::Windows.UI.Xaml.Controls.SearchBox)(target);
                    #line 40 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.SearchBox) this.mySearchBox).QuerySubmitted += this.mySearchBox_QuerySubmitted;
                    #line 46 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.SearchBox) this.mySearchBox).QueryChanged += this.mySearchBox_QueryChanged;
                    #line default
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 19
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // MainPage.xaml line 22
            {
                this.MN = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 4: // MainPage.xaml line 25
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.ListViewItem_Tapped;
            }
            break;

            case 7: // MainPage.xaml line 20
            {
                global::Windows.UI.Xaml.Controls.TextBlock element7 = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
                ((global::Windows.UI.Xaml.Controls.TextBlock)element7).Tapped += this.TextBlock_Tapped;
            }
            break;

            case 8: // MainPage.xaml line 45
            {
                this.AppTop = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 9: // MainPage.xaml line 63
            {
                this.MF = (global::Windows.UI.Xaml.Controls.Frame)(target);
                ((global::Windows.UI.Xaml.Controls.Frame) this.MF).Loaded += this.MF_Loaded;
            }
            break;

            case 10: // MainPage.xaml line 46
            {
                this.Logo = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 11: // MainPage.xaml line 49
            {
                this.ListOrder = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.ListOrder).Tapped += this.ListOrder_Tapped;
            }
            break;

            case 12: // MainPage.xaml line 50
            {
                this.CartNumber = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 13: // MainPage.xaml line 51
            {
                this.Home = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.Home).Tapped += this.Home_Tapped;
            }
            break;

            case 14: // MainPage.xaml line 52
            {
                this.Favorite = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.Favorite).Tapped += this.Favorite_Tapped;
            }
            break;

            case 15: // MainPage.xaml line 53
            {
                this.Alert = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
                ((global::Windows.UI.Xaml.Controls.FontIcon) this.Alert).Tapped += this.Alert_Tapped;
            }
            break;

            case 16: // MainPage.xaml line 54
            {
                this.Setting = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            case 17: // MainPage.xaml line 55
            {
                this.ShutDown = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            case 18: // MainPage.xaml line 57
            {
                this.btnToday = (global::Windows.UI.Xaml.Controls.Button)(target);
            }
            break;

            case 19: // MainPage.xaml line 58
            {
                this.btnFavorite = (global::Windows.UI.Xaml.Controls.Button)(target);
                ((global::Windows.UI.Xaml.Controls.Button) this.btnFavorite).Click += this.btnFavorite_Click;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // pages\Assignment4_home.xaml line 14
            {
                this.MN = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 4: // pages\Assignment4_home.xaml line 17
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element4).Tapped += this.ListViewItem_Tapped;
            }
            break;

            case 7: // pages\Assignment4_home.xaml line 33
            {
                this.AppTop = (global::Windows.UI.Xaml.Controls.RelativePanel)(target);
            }
            break;

            case 8: // pages\Assignment4_home.xaml line 42
            {
                global::Windows.UI.Xaml.Controls.ScrollViewer element8 = (global::Windows.UI.Xaml.Controls.ScrollViewer)(target);
                ((global::Windows.UI.Xaml.Controls.ScrollViewer)element8).Loaded += this.ScrollViewer_Loaded;
            }
            break;

            case 9: // pages\Assignment4_home.xaml line 43
            {
                this.MainFrame = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            case 10: // pages\Assignment4_home.xaml line 34
            {
                this.Logo = (global::Windows.UI.Xaml.Controls.Image)(target);
            }
            break;

            case 11: // pages\Assignment4_home.xaml line 37
            {
                this.Alert = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            case 12: // pages\Assignment4_home.xaml line 38
            {
                this.Setting = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            case 13: // pages\Assignment4_home.xaml line 39
            {
                this.ShutDown = (global::Windows.UI.Xaml.Controls.FontIcon)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 21
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // SectionView.xaml line 14
            {
                this.ClipGeometry = (global::Windows.UI.Xaml.Media.RectangleGeometry)(target);
            }
            break;

            case 3: // SectionView.xaml line 16
            {
                this.LayoutRoot = (global::Windows.UI.Xaml.Controls.Grid)(target);
                ((global::Windows.UI.Xaml.Controls.Grid) this.LayoutRoot).SizeChanged += this.LayoutRoot_SizeChanged;
            }
            break;

            case 4: // SectionView.xaml line 18
            {
                this.ContentTransitionStates = (global::Windows.UI.Xaml.VisualStateGroup)(target);
            }
            break;

            case 5: // SectionView.xaml line 19
            {
                this.ContentSteadyState = (global::Windows.UI.Xaml.VisualState)(target);
            }
            break;

            case 6: // SectionView.xaml line 20
            {
                this.ContentTransitionState = (global::Windows.UI.Xaml.VisualState)(target);
            }
            break;

            case 7: // SectionView.xaml line 21
            {
                this.ContentTransitionStoryboard = (global::Windows.UI.Xaml.Media.Animation.Storyboard)(target);
                ((global::Windows.UI.Xaml.Media.Animation.Storyboard) this.ContentTransitionStoryboard).Completed += this.ContentTransitionStoryboard_Completed;
            }
            break;

            case 10: // SectionView.xaml line 81
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element10 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element10).Tapped += this.NewsTapped;
            }
            break;

            case 11: // SectionView.xaml line 84
            {
                global::Windows.UI.Xaml.Controls.ListViewItem element11 = (global::Windows.UI.Xaml.Controls.ListViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.ListViewItem)element11).Tapped += this.NewsTapped;
            }
            break;

            case 16: // SectionView.xaml line 91
            {
                this.RootTransform = (global::Windows.UI.Xaml.Media.Media3D.CompositeTransform3D)(target);
            }
            break;

            case 17: // SectionView.xaml line 94
            {
                this.CurrentContentRoot = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 18: // SectionView.xaml line 105
            {
                this.NextContentRoot = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 19: // SectionView.xaml line 108
            {
                this.NextContentTransform = (global::Windows.UI.Xaml.Media.Media3D.CompositeTransform3D)(target);
            }
            break;

            case 20: // SectionView.xaml line 110
            {
                this.NextContentPresenter = (global::Windows.UI.Xaml.Controls.ContentPresenter)(target);
            }
            break;

            case 21: // SectionView.xaml line 114
            {
                this.NextContentShadowBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush)(target);
            }
            break;

            case 22: // SectionView.xaml line 96
            {
                this.CurrentContentPresenter = (global::Windows.UI.Xaml.Controls.ContentPresenter)(target);
            }
            break;

            case 23: // SectionView.xaml line 100
            {
                this.CurrentContentShadowBrush = (global::Windows.UI.Xaml.Media.SolidColorBrush)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }