Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\ControlView\StickersForm.xaml"
                ((JPTLaserMarkWPF.ControlView.StickersForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden
                return;

            case 2:
                this.StickerGalleryCtrl = ((JPTLaserMarkWPF.CustomControl.ImageGalleryControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ImgGalleryCtrl = ((JPTLaserMarkWPF.CustomControl.ImageGalleryControl)(target));
                return;

            case 2:
                this.OKImgBtn = ((System.Windows.Controls.Image)(target));

            #line 12 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.OKImgBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OKImgBtn_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.ServerImgBtn = ((System.Windows.Controls.Image)(target));

            #line 13 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.ServerImgBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ServerImgBtn_MouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.StickerImgBtn = ((System.Windows.Controls.Image)(target));

            #line 14 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.StickerImgBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StickerImgBtn_MouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.OKImgBtn_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.OpenImgBtn = ((System.Windows.Controls.Image)(target));

            #line 16 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.OpenImgBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OpenImgBtn_MouseDown);

            #line default
            #line hidden

            #line 16 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.OpenImgBtn.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.OpenImgBtn_TouchDown);

            #line default
            #line hidden

            #line 16 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.OpenImgBtn.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OpenImgBtn_MouseUp);

            #line default
            #line hidden

            #line 16 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.OpenImgBtn.LostFocus += new System.Windows.RoutedEventHandler(this.OpenImgBtn_LostFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.AddImgBtn = ((System.Windows.Controls.Image)(target));

            #line 17 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.AddImgBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AddImgBtn_MouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.StickerGalleryCtrl = ((JPTLaserMarkWPF.CustomControl.ImageGalleryControl)(target));
                return;

            case 9:
                this.AddStickerImgBtn = ((System.Windows.Controls.Image)(target));

            #line 19 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.AddStickerImgBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AddStickerImgBtn_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.AlignImageBtn = ((System.Windows.Controls.Image)(target));

            #line 20 "..\..\..\ControlView\PaintPhotoMenu.xaml"
                this.AlignImageBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AlignImageBtn_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }