Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FullScreenImageControl = ((RMP.UserControls.FullScreenImage)(target));
                return;

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

            #line 16 "..\..\..\UserControls\FullScreenImage.xaml"
                this.imageViewer.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.imageViewer_MouseWheel);

            #line default
            #line hidden
                return;

            case 3:

            #line 24 "..\..\..\UserControls\FullScreenImage.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownFullScreen);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.fullImage = ((RMP.UserControls.FullScreenImage)(target));
         return;
     }
     this._contentLoaded = true;
 }