Пример #1
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Examples\SplitViewExample.xaml line 11
            {
                this.MySV = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // Examples\SplitViewExample.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element3 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element3).Tapped += this.UIElement_OnTapped;
            }
            break;

            case 4: // Examples\SplitViewExample.xaml line 19
            {
                this.MyFrame = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 private void Update_tagimage(global::Windows.UI.Xaml.Controls.SymbolIcon obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_AppBarButton_Icon(this.obj18, obj, null);
     }
 }
Пример #3
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\MySongPage.xaml line 48
            {
                this.MyMediaElement = (global::Windows.UI.Xaml.Controls.MediaElement)(target);
            }
            break;

            case 3: // Pages\MySongPage.xaml line 35
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element3 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element3).Click += this.Previous;
            }
            break;

            case 4: // Pages\MySongPage.xaml line 36
            {
                this.PlayAndPauseButton = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.PlayAndPauseButton).Click += this.Play;
            }
            break;

            case 5: // Pages\MySongPage.xaml line 37
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element5 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element5).Click += this.Next;
            }
            break;

            case 6: // Pages\MySongPage.xaml line 45
            {
                this.NowPlayingText = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 7: // Pages\MySongPage.xaml line 15
            {
                this.ListViewSong = (global::Windows.UI.Xaml.Controls.ListView)(target);
                ((global::Windows.UI.Xaml.Controls.ListView) this.ListViewSong).SelectionChanged += this.ListViewSong_OnSelectionChanged;
            }
            break;

            case 10: // Pages\MySongPage.xaml line 25
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element10 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element10).DoubleTapped += this.UIElement_OnDoubleTapped;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\ListSongPage.xaml line 14
            {
                this.ListViewSong = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 3: // Pages\ListSongPage.xaml line 39
            {
                this.MyMediaElement = (global::Windows.UI.Xaml.Controls.MediaElement)(target);
            }
            break;

            case 4: // Pages\ListSongPage.xaml line 31
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element4 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element4).Click += this.Back;
            }
            break;

            case 5: // Pages\ListSongPage.xaml line 32
            {
                this.PlayAndPauseButton = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.PlayAndPauseButton).Click += this.Play;
            }
            break;

            case 6: // Pages\ListSongPage.xaml line 33
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element6 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element6).Click += this.Next;
            }
            break;

            case 7: // Pages\ListSongPage.xaml line 36
            {
                this.NowPlayingText = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 10: // Pages\ListSongPage.xaml line 24
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element10 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element10).DoubleTapped += this.UIElement_OnDoubleTapped;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #5
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\TestIsLogin.xaml line 11
            {
                this.SplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // Pages\TestIsLogin.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element3 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element3).Tapped += this.ToogleMenu_OnClick;
            }
            break;

            case 4: // Pages\TestIsLogin.xaml line 18
            {
                this.NavigationViewControl = (global::Windows.UI.Xaml.Controls.NavigationView)(target);
            }
            break;

            case 5: // Pages\TestIsLogin.xaml line 20
            {
                this.A = (global::Windows.UI.Xaml.Controls.NavigationViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.NavigationViewItem) this.A).Tapped += this.Click_Button;
            }
            break;

            case 6: // Pages\TestIsLogin.xaml line 21
            {
                this.B = (global::Windows.UI.Xaml.Controls.NavigationViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.NavigationViewItem) this.B).Tapped += this.Click_Button;
            }
            break;

            case 7: // Pages\TestIsLogin.xaml line 22
            {
                this.C = (global::Windows.UI.Xaml.Controls.NavigationViewItem)(target);
                ((global::Windows.UI.Xaml.Controls.NavigationViewItem) this.C).Tapped += this.Click_Button;
            }
            break;

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

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #6
0
            // IComponentConnector

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

                default:
                    break;
                }
            }
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element1 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                    #line 12 "..\..\..\AddCategory.xaml"
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element1).DoubleTapped += this.SymbolIcon_DoubleTapped;
                    #line default
            }
            break;

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

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

            case 4:
            {
                this.IconUrl = (global::Windows.UI.Xaml.Controls.TextBox)(target);
            }
            break;

            case 5:
            {
                this.button = (global::Windows.UI.Xaml.Controls.Button)(target);
                    #line 42 "..\..\..\AddCategory.xaml"
                ((global::Windows.UI.Xaml.Controls.Button) this.button).Click += this.Button_Click;
                    #line default
            }
            break;

            case 6:
            {
                this.progress1 = (global::Windows.UI.Xaml.Controls.ProgressRing)(target);
            }
            break;

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

            public void Connect(int connectionId, global::System.Object target)
            {
                switch(connectionId)
                {
                    case 7:
                        this.obj7 = (global::Windows.UI.Xaml.Controls.SymbolIcon)target;
                        break;
                    case 8:
                        this.obj8 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                        break;
                    default:
                        break;
                }
            }
Пример #9
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");
        }
Пример #10
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 41:     // MainPage.xaml line 33
                    this.obj41 = (global::Windows.UI.Xaml.Controls.InkToolbar)target;
                    break;

                case 48:     // MainPage.xaml line 35
                    this.obj48 = (global::Windows.UI.Xaml.Controls.SymbolIcon)target;
                    break;

                default:
                    break;
                }
            }
Пример #11
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element2 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                    #line 11 "..\..\..\Controls\TitlePathControl.xaml"
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element2).Tapped += this.OnHomeTapped;
                    #line default
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #12
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\MasterLayout.xaml line 11
            {
                this.SplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // Pages\MasterLayout.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element3 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element3).Tapped += this.SymbolIcon_Tapped;
            }
            break;

            case 4: // Pages\MasterLayout.xaml line 15
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element4 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element4).Click += this.HyperlinkButton_Click;
            }
            break;

            case 5: // Pages\MasterLayout.xaml line 16
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element5 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element5).Click += this.HyperlinkButton_Click;
            }
            break;

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

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #13
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // MainPage.xaml line 11
            {
                this.splitview = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // MainPage.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element3 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element3).Tapped += this.ToggleMenu_Click;
            }
            break;

            case 4: // MainPage.xaml line 18
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element4 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element4).Click += this.ChangeContent;
            }
            break;

            case 5: // MainPage.xaml line 19
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element5 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element5).Click += this.ChangeContent;
            }
            break;

            case 6: // MainPage.xaml line 25
            {
                this.MainContent = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

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

            public void Connect(int connectionId, global::System.Object target)
            {
                switch(connectionId)
                {
                    case 6:
                        this.obj6 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                        break;
                    case 7:
                        this.obj7 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                        XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_Style(this.obj7, this.obj7StyleDeferredValue, null);
                        break;
                    case 8:
                        this.obj8 = (global::Windows.UI.Xaml.Controls.SymbolIcon)target;
                        break;
                    case 9:
                        this.obj9 = (global::Windows.UI.Xaml.Controls.SymbolIcon)target;
                        break;
                    default:
                        break;
                }
            }
Пример #15
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Demo\DemoSplitView.xaml line 11
            {
                this.MysplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // Demo\DemoSplitView.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element3 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element3).Tapped += this.SymbolIcon_Tapped;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #16
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // MainPage.xaml line 11
            {
                this.SplitView = (global::Windows.UI.Xaml.Controls.SplitView)(target);
            }
            break;

            case 3: // MainPage.xaml line 14
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element3 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element3).Tapped += this.ToogleMenu_OnClick;
            }
            break;

            case 4: // MainPage.xaml line 18
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element4 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element4).Click += this.ButtonBase_OnClick;
            }
            break;

            case 5: // MainPage.xaml line 19
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element5 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element5).Click += this.ButtonBase_OnClick;
            }
            break;

            case 6: // MainPage.xaml line 20
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element6 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element6).Click += this.ButtonBase_OnClick;
            }
            break;

            case 7: // MainPage.xaml line 21
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element7 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element7).Click += this.ButtonBase_OnClick;
            }
            break;

            case 8: // MainPage.xaml line 22
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element8 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element8).Click += this.ButtonBase_OnClick;
            }
            break;

            case 9: // MainPage.xaml line 23
            {
                global::Windows.UI.Xaml.Controls.HyperlinkButton element9 = (global::Windows.UI.Xaml.Controls.HyperlinkButton)(target);
                ((global::Windows.UI.Xaml.Controls.HyperlinkButton)element9).Click += this.ButtonBase_OnClick;
            }
            break;

            case 10: // MainPage.xaml line 27
            {
                this.MainContent = (global::Windows.UI.Xaml.Controls.Frame)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #17
0
            // IComponentConnector

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

                case 3:
                    this.obj3 = (global::Windows.UI.Xaml.Controls.Grid)target;
                    break;

                case 4:
                    this.obj4 = (global::Windows.UI.Xaml.Controls.ContentControl)target;
                    break;

                case 5:
                    this.obj5 = (global::Windows.UI.Xaml.Controls.ListView)target;
                    (this.obj5).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.Selector.SelectedItemProperty,
                                                                (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.ViewModel.SelectedRecord = (global::CourseWork_2.DataBase.DBModels.Record) this.LookupConverter("itemConverter").ConvertBack((this.obj5).SelectedItem, typeof(global::CourseWork_2.DataBase.DBModels.Record), null, null);
                        }
                    });
                    break;

                case 6:
                    this.obj6 = (global::Windows.UI.Xaml.Controls.GridView)target;
                    (this.obj6).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.Selector.SelectedItemProperty,
                                                                (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.ViewModel.SelectedItem = (global::CourseWork_2.Model.RecordScreenModel) this.LookupConverter("itemConverter").ConvertBack((this.obj6).SelectedItem, typeof(global::CourseWork_2.Model.RecordScreenModel), null, null);
                        }
                    });
                    break;

                case 7:
                    this.obj7 = (global::Windows.UI.Xaml.Controls.FlipView)target;
                    break;

                case 8:
                    this.obj8 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                    break;

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

                case 10:
                    this.obj10 = (global::WinRT.Triggers.InvokeCommandAction)target;
                    break;

                case 11:
                    this.obj11 = (global::Windows.UI.Xaml.Controls.Button)target;
                    break;

                case 12:
                    this.obj12 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                    break;

                case 13:
                    this.obj13 = (global::Windows.UI.Xaml.Controls.Button)target;
                    break;

                case 14:
                    this.obj14 = (global::Windows.UI.Xaml.Controls.Button)target;
                    break;

                case 15:
                    this.obj15 = (global::Windows.UI.Xaml.Controls.SymbolIcon)target;
                    break;

                default:
                    break;
                }
            }
Пример #18
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\MyMusicPage.xaml line 61
            {
                this.MyMediaElement = (global::Windows.UI.Xaml.Controls.MediaElement)(target);
            }
            break;

            case 3: // Pages\MyMusicPage.xaml line 44
            {
                this.btnSignOut = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.btnSignOut).Click += this.BtnSignOut_Click;
            }
            break;

            case 4: // Pages\MyMusicPage.xaml line 46
            {
                this.btnCreateMusic = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.btnCreateMusic).Click += this.BtnCreateMusic_Click;
            }
            break;

            case 5: // Pages\MyMusicPage.xaml line 48
            {
                this.Previous = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.Previous).Click += this.Previous_Click;
            }
            break;

            case 6: // Pages\MyMusicPage.xaml line 49
            {
                this.PlayAndPause = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.PlayAndPause).Click += this.PlayAndPause_Click;
            }
            break;

            case 7: // Pages\MyMusicPage.xaml line 50
            {
                this.Next = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.Next).Click += this.Next_Click;
            }
            break;

            case 8: // Pages\MyMusicPage.xaml line 58
            {
                this.txtNowPlaying = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 9: // Pages\MyMusicPage.xaml line 14
            {
                this.ListViewSong = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 11: // Pages\MyMusicPage.xaml line 24
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element11 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element11).DoubleTapped += this.UIElement_OnDoubleTapped;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #19
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // View_Inventory.xaml line 12
            {
                this.BackButton1 = (global::Windows.UI.Xaml.Controls.Button)(target);
                ((global::Windows.UI.Xaml.Controls.Button) this.BackButton1).Click += this.Back_Click;
            }
            break;

            case 3: // View_Inventory.xaml line 14
            {
                this.ListItems = (global::Windows.UI.Xaml.Controls.ListView)(target);
            }
            break;

            case 4: // View_Inventory.xaml line 69
            {
                this.button = (global::Windows.UI.Xaml.Controls.Button)(target);
                ((global::Windows.UI.Xaml.Controls.Button) this.button).Click += this.Button_Click_1;
            }
            break;

            case 5: // View_Inventory.xaml line 70
            {
                this.textBlock = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 7: // View_Inventory.xaml line 35
            {
                global::Windows.UI.Xaml.Controls.AutoSuggestBox element7 = (global::Windows.UI.Xaml.Controls.AutoSuggestBox)(target);
                ((global::Windows.UI.Xaml.Controls.AutoSuggestBox)element7).TextChanged    += this.Box1_TextChanged;
                ((global::Windows.UI.Xaml.Controls.AutoSuggestBox)element7).QuerySubmitted += this.Box1_QuerySubmitted;
            }
            break;

            case 9: // View_Inventory.xaml line 57
            {
                global::Windows.UI.Xaml.Controls.TextBlock element9 = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
                ((global::Windows.UI.Xaml.Controls.TextBlock)element9).DoubleTapped += this.ComboBox1_DoubleTapped;
            }
            break;

            case 10: // View_Inventory.xaml line 62
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element10 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element10).Tapped         += this.SymbolIcon_Tapped_1;
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element10).PointerEntered += this.button_PointerEntered;
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element10).PointerExited  += this.button_PointerExited;
            }
            break;

            case 11: // View_Inventory.xaml line 63
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element11 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element11).Tapped         += this.SymbolIcon_Tapped;
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element11).PointerEntered += this.button_PointerEntered;
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element11).PointerExited  += this.button_PointerExited;
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Пример #20
0
 public static global::Windows.UI.Xaml.Controls.SymbolIcon TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply(this global::Windows.UI.Xaml.Controls.SymbolIcon instance, XamlApplyHandler3 handler)
 {
     handler(instance);
     return(instance);
 }
Пример #21
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);

            page                     = (global::Windows.UI.Xaml.Controls.Page) this.FindName("page");
            SideBarSlide             = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("SideBarSlide");
            PicturesView             = (global::Windows.UI.Xaml.DataTemplate) this.FindName("PicturesView");
            VideosView               = (global::Windows.UI.Xaml.DataTemplate) this.FindName("VideosView");
            MusicsView               = (global::Windows.UI.Xaml.DataTemplate) this.FindName("MusicsView");
            GridFoldersView          = (global::Windows.UI.Xaml.DataTemplate) this.FindName("GridFoldersView");
            ListFoldersView          = (global::Windows.UI.Xaml.DataTemplate) this.FindName("ListFoldersView");
            GridViewItemsPanel       = (global::Windows.UI.Xaml.Controls.ItemsPanelTemplate) this.FindName("GridViewItemsPanel");
            ListViewItemsPanel       = (global::Windows.UI.Xaml.Controls.ItemsPanelTemplate) this.FindName("ListViewItemsPanel");
            SDLoad                   = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("SDLoad");
            PhoneLoad                = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("PhoneLoad");
            sdload                   = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("sdload");
            SettingsItemTemplate     = (global::Windows.UI.Xaml.DataTemplate) this.FindName("SettingsItemTemplate");
            SettingsGridItemTemplate = (global::Windows.UI.Xaml.DataTemplate) this.FindName("SettingsGridItemTemplate");
            RecentPlayTemplate       = (global::Windows.UI.Xaml.DataTemplate) this.FindName("RecentPlayTemplate");
            MediaOpen                = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("MediaOpen");
            MediaOpenRev             = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("MediaOpenRev");
            DurationBlink            = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("DurationBlink");
            SeekOpen                 = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("SeekOpen");
            SeekClose                = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("SeekClose");
            FTPOpen                  = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("FTPOpen");
            OpenSortMenuAnim         = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("OpenSortMenuAnim");
            PhotoSlide               = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("PhotoSlide");
            FTPActive                = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("FTPActive");
            AppearancePanel          = (global::Windows.UI.Xaml.Media.Animation.Storyboard) this.FindName("AppearancePanel");
            DialogBox                = (global::File360.DialogBox) this.FindName("DialogBox");
            aiBorder                 = (global::Windows.UI.Xaml.Controls.Border) this.FindName("aiBorder");
            PictureDisplayer         = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("PictureDisplayer");
            ProgressDialog           = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ProgressDialog");
            SubFrameGrid             = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("SubFrameGrid");
            FileMoveDialog           = (global::Windows.UI.Xaml.Controls.Border) this.FindName("FileMoveDialog");
            ProgInfoView             = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ProgInfoView");
            progBar                  = (global::Windows.UI.Xaml.Controls.ProgressBar) this.FindName("progBar");
            progText                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("progText");
            progCurrentSize          = (global::Windows.UI.Xaml.Documents.Run) this.FindName("progCurrentSize");
            progTotalSize            = (global::Windows.UI.Xaml.Documents.Run) this.FindName("progTotalSize");
            cmstatus                 = (global::Windows.UI.Xaml.Documents.Run) this.FindName("cmstatus");
            progFileSource           = (global::Windows.UI.Xaml.Documents.Run) this.FindName("progFileSource");
            progFileDest             = (global::Windows.UI.Xaml.Documents.Run) this.FindName("progFileDest");
            PasteFlipView            = (global::Windows.UI.Xaml.Controls.FlipView) this.FindName("PasteFlipView");
            SubFrameHeader           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("SubFrameHeader");
            SubFrame                 = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("SubFrame");
            PictureFlipView          = (global::Windows.UI.Xaml.Controls.FlipView) this.FindName("PictureFlipView");
            picName                  = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("picName");
            picDate                  = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("picDate");
            aiText                   = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("aiText");
            aiSubText                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("aiSubText");
            statusMsg                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("statusMsg");
            grid4                    = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid4");
            MediaFragment            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("MediaFragment");
            imageContainerMedia      = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("imageContainerMedia");
            grid1                    = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid1");
            grid2                    = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid2");
            playPause                = (global::Windows.UI.Xaml.Controls.Button) this.FindName("playPause");
            musicSlider              = (global::Windows.UI.Xaml.Controls.ProgressBar) this.FindName("musicSlider");
            currentDuration          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("currentDuration");
            mediaDuration            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("mediaDuration");
            border                   = (global::Windows.UI.Xaml.Controls.Border) this.FindName("border");
            sliderTimer              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("sliderTimer");
            musicArt                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("musicArt");
            button2                  = (global::Windows.UI.Xaml.Controls.Button) this.FindName("button2");
            grid                     = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("grid");
            SongName                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("SongName");
            SongArtist               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("SongArtist");
            mediaPlayer              = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("mediaPlayer");
            WebBrowser               = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("WebBrowser");
            webView                  = (global::Windows.UI.Xaml.Controls.WebView) this.FindName("webView");
            webAddressBar            = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("webAddressBar");
            Header                   = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Header");
            SideMenu                 = (global::File360.DrawerLayout) this.FindName("SideMenu");
            MainFragment             = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("MainFragment");
            ListFragment             = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("ListFragment");
            DownloadsFragment        = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("DownloadsFragment");
            sdbutton                 = (global::Windows.UI.Xaml.Controls.Button) this.FindName("sdbutton");
            border2                  = (global::Windows.UI.Xaml.Controls.Border) this.FindName("border2");
            rectangle                = (global::Windows.UI.Xaml.Shapes.Rectangle) this.FindName("rectangle");
            phoneWarning             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("phoneWarning");
            symbolIcon1              = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("symbolIcon1");
            sdProgbar                = (global::Windows.UI.Xaml.Controls.ProgressBar) this.FindName("sdProgbar");
            textBlock                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock");
            FreeSpace                = (global::Windows.UI.Xaml.Documents.Run) this.FindName("FreeSpace");
            symbolIcon               = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("symbolIcon");
            SettingsTab              = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("SettingsTab");
            border1                  = (global::Windows.UI.Xaml.Controls.Border) this.FindName("border1");
            password_rect            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("password_rect");
            musicToggle              = (global::Windows.UI.Xaml.Controls.Primitives.ToggleButton) this.FindName("musicToggle");
            videosToggle             = (global::Windows.UI.Xaml.Controls.Primitives.ToggleButton) this.FindName("videosToggle");
            ebookToggle              = (global::Windows.UI.Xaml.Controls.Primitives.ToggleButton) this.FindName("ebookToggle");
            picturesToggle           = (global::Windows.UI.Xaml.Controls.Primitives.ToggleButton) this.FindName("picturesToggle");
            grid3                    = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grid3");
            rectangle1               = (global::Windows.UI.Xaml.Shapes.Rectangle) this.FindName("rectangle1");
            rectangle2               = (global::Windows.UI.Xaml.Shapes.Rectangle) this.FindName("rectangle2");
            textBlock1               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textBlock1");
            button                   = (global::Windows.UI.Xaml.Controls.Button) this.FindName("button");
            border3                  = (global::Windows.UI.Xaml.Controls.Border) this.FindName("border3");
            ellipse1                 = (global::Windows.UI.Xaml.Shapes.Ellipse) this.FindName("ellipse1");
            ellipse                  = (global::Windows.UI.Xaml.Shapes.Ellipse) this.FindName("ellipse");
            searchBox                = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("searchBox");
            EmptyFolderStack         = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("EmptyFolderStack");
            operationBar             = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("operationBar");
            operationBarNormal       = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("operationBarNormal");
            gridList                 = (global::File360.BottomBarItem) this.FindName("gridList");
            sortButton               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("sortButton");
            selectBox                = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("selectBox");
            headerText               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("headerText");
            SDGridView               = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("SDGridView");
            SortMenu                 = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("SortMenu");
            AddSDButton              = (global::Windows.UI.Xaml.Controls.Button) this.FindName("AddSDButton");
            hamburgerButton          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("hamburgerButton");
            Addresser                = (global::File360.Addresser) this.FindName("Addresser");
            RootFolder               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("RootFolder");
            menuText                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("menuText");
        }
Пример #22
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            InkCanvas          = (global::Windows.UI.Xaml.Controls.Canvas) this.FindName("InkCanvas");
            SizeChoicePopUp    = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("SizeChoicePopUp");
            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");
            ColorPicker4       = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ColorPicker4");
            ColorPicker5       = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ColorPicker5");
            ColorPicker6       = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ColorPicker6");
            ShapeTypeContainer = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("ShapeTypeContainer");
            CanvasBgPopup      = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("CanvasBgPopup");
            Icon            = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Icon");
            fColorPicker1   = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("fColorPicker1");
            fColorPicker2   = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("fColorPicker2");
            fColorPicker3   = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("fColorPicker3");
            fColorPicker4   = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("fColorPicker4");
            fColorPicker5   = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("fColorPicker5");
            fColorPicker6   = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("fColorPicker6");
            HelpTxt         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("HelpTxt");
            layerPopup      = (global::Windows.UI.Xaml.Controls.ItemsControl) this.FindName("layerPopup");
            slider          = (global::Windows.UI.Xaml.Controls.Slider) this.FindName("slider");
            layer1          = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("layer1");
            layer2          = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("layer2");
            layer3          = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("layer3");
            layer4          = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("layer4");
            layer5          = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("layer5");
            fGrayColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fGrayColor");
            fSivlerColor    = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fSivlerColor");
            fOrangeColor    = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fOrangeColor");
            fGoldColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fGoldColor");
            fGreenColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fGreenColor");
            fDarkBlueColor  = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fDarkBlueColor");
            fGreenColorF    = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fGreenColorF");
            fPinkColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fPinkColor");
            fBrownColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fBrownColor");
            fYellowColor    = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fYellowColor");
            fBlueColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fBlueColor");
            fBlackColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fBlackColor");
            fWhiteColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fWhiteColor");
            fRedColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fRedColor");
            fBlueColorF     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fBlueColorF");
            WhiteCanvas     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("WhiteCanvas");
            BlackCanvas     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BlackCanvas");
            RectangleButton = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("RectangleButton");
            GrayColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("GrayColor");
            SivlerColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SivlerColor");
            OrangeColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("OrangeColor");
            GoldColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("GoldColor");
            GreenColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("GreenColor");
            DarkBlueColor   = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("DarkBlueColor");
            GreenColorF     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("GreenColorF");
            PinkColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("PinkColor");
            BrownColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BrownColor");
            YellowColor     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("YellowColor");
            BlueColor       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BlueColor");
            BlackColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BlackColor");
            WhiteColor      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("WhiteColor");
            RedColor        = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("RedColor");
            BlueColorF      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("BlueColorF");
            SaveButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SaveButton");
            OpenButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("OpenButton");
            CopyButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("CopyButton");
            PasteButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("PasteButton");
            EraseButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("EraseButton");
            SizeChoice      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("SizeChoice");
            CurrentColor    = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("CurrentColor");
            ShapeType       = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("ShapeType");
            ClearButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("ClearButton");
            ChangeBg        = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("ChangeBg");
            fCurrentColor   = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("fCurrentColor");
            LayerButton     = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("LayerButton");
            HelpButton      = (global::Windows.UI.Xaml.Controls.SymbolIcon) this.FindName("HelpButton");
            PasteBoard      = (global::Windows.UI.Xaml.Controls.Image) this.FindName("PasteBoard");
        }
Пример #23
0
 public static void Set_Windows_UI_Xaml_Controls_SymbolIcon_Symbol(global::Windows.UI.Xaml.Controls.SymbolIcon obj, global::Windows.UI.Xaml.Controls.Symbol value)
 {
     obj.Symbol = value;
 }
Пример #24
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 2:
                    this.obj2 = (global::CourseWork_2.SwipeableSplitViewControl.SwipeableSplitView)target;
                    (this.obj2).RegisterPropertyChangedCallback(global::CourseWork_2.SwipeableSplitViewControl.SwipeableSplitView.IsSwipeablePaneOpenProperty,
                                                                (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.ViewModel.IsSplitViewPaneOpen = (this.obj2).IsSwipeablePaneOpen;
                        }
                    });
                    break;

                case 3:
                    this.obj3 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                    break;

                case 4:
                    this.obj4 = (global::Windows.UI.Xaml.Controls.ProgressRing)target;
                    break;

                case 5:
                    this.obj5 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    break;

                case 6:
                    this.obj6 = (global::Windows.UI.Xaml.Controls.Button)target;
                    break;

                case 7:
                    this.obj7 = (global::Windows.UI.Xaml.Controls.Button)target;
                    break;

                case 8:
                    this.obj8 = (global::Windows.UI.Xaml.Controls.Button)target;
                    break;

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

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

                case 11:
                    this.obj11 = (global::Windows.UI.Xaml.Controls.ContentControl)target;
                    break;

                case 12:
                    this.obj12 = (global::Windows.UI.Xaml.Controls.ContentControl)target;
                    break;

                default:
                    break;
                }
            }
Пример #25
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2: // Pages\MySongPage.xaml line 56
            {
                this.MyMediaElement = (global::Windows.UI.Xaml.Controls.MediaElement)(target);
            }
            break;

            case 3: // Pages\MySongPage.xaml line 50
            {
                this.TimeStatus = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 4: // Pages\MySongPage.xaml line 51
            {
                this.TimeProgressBar = (global::Windows.UI.Xaml.Controls.ProgressBar)(target);
                ((global::Windows.UI.Xaml.Controls.ProgressBar) this.TimeProgressBar).ValueChanged        += this.TimeProgressBar_OnValueChanged;
                ((global::Windows.UI.Xaml.Controls.ProgressBar) this.TimeProgressBar).PointerWheelChanged += this.TimeProgressBar_OnPointerWheelChanged;
            }
            break;

            case 5: // Pages\MySongPage.xaml line 52
            {
                this.volumeSlider = (global::Windows.UI.Xaml.Controls.Slider)(target);
                ((global::Windows.UI.Xaml.Controls.Slider) this.volumeSlider).ValueChanged += this.VolumeSlider_OnValueChanged;
            }
            break;

            case 6: // Pages\MySongPage.xaml line 36
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element6 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element6).Click += this.Previous;
            }
            break;

            case 7: // Pages\MySongPage.xaml line 37
            {
                this.PlayAndPauseButton = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton) this.PlayAndPauseButton).Click += this.Play;
            }
            break;

            case 8: // Pages\MySongPage.xaml line 38
            {
                global::Windows.UI.Xaml.Controls.AppBarButton element8 = (global::Windows.UI.Xaml.Controls.AppBarButton)(target);
                ((global::Windows.UI.Xaml.Controls.AppBarButton)element8).Click += this.Next;
            }
            break;

            case 9: // Pages\MySongPage.xaml line 46
            {
                this.NowPlayingText = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 10: // Pages\MySongPage.xaml line 15
            {
                this.ListViewSong = (global::Windows.UI.Xaml.Controls.ListView)(target);
                ((global::Windows.UI.Xaml.Controls.ListView) this.ListViewSong).SelectionChanged += this.ListViewSong_OnSelectionChanged;
            }
            break;

            case 13: // Pages\MySongPage.xaml line 25
            {
                global::Windows.UI.Xaml.Controls.SymbolIcon element13 = (global::Windows.UI.Xaml.Controls.SymbolIcon)(target);
                ((global::Windows.UI.Xaml.Controls.SymbolIcon)element13).DoubleTapped += this.UIElement_OnDoubleTapped;
            }
            break;

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