Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainView = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.gallery = ((DevExpress.Xpf.Bars.GalleryControl)(target));
                return;

            case 3:

            #line 18 "..\..\Gallery.xaml"
                ((DevExpress.Xpf.Bars.Gallery)(target)).ItemClick += new DevExpress.Xpf.Bars.GalleryItemEventHandler(this.Gallery_ItemClick);

            #line default
            #line hidden

            #line 18 "..\..\Gallery.xaml"
                ((DevExpress.Xpf.Bars.Gallery)(target)).AddHandler(System.Windows.Input.Keyboard.KeyDownEvent, new System.Windows.Input.KeyEventHandler(this.Gallery_KeyDown));

            #line default
            #line hidden
                return;

            case 4:
                this.group1 = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target));
                return;

            case 5:
                this.imageViewPopup = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\Gallery.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.imageViewer = ((DevExpress.Xpf.Editors.ImageEdit)(target));

            #line 33 "..\..\Gallery.xaml"
                this.imageViewer.AddHandler(System.Windows.Input.Keyboard.KeyDownEvent, new System.Windows.Input.KeyEventHandler(this.imageViewer_KeyDown));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainView = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.gallery = ((DevExpress.Xpf.Bars.GalleryControl)(target));
                return;

            case 3:

            #line 18 "..\..\frmGallery.xaml"
                ((DevExpress.Xpf.Bars.Gallery)(target)).ItemClick += new DevExpress.Xpf.Bars.GalleryItemEventHandler(this.Gallery_ItemClick);

            #line default
            #line hidden
                return;

            case 4:
                this.group1 = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target));
                return;

            case 5:
                this.imageViewPopup = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.btnYes = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\frmGallery.xaml"
                this.btnYes.Click += new System.Windows.RoutedEventHandler(this.btnYes_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\frmGallery.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnBack = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\frmGallery.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\frmGallery.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.imageViewer = ((DevExpress.Xpf.Editors.ImageEdit)(target));
                return;
            }
            this._contentLoaded = true;
        }