コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\..\Interface\Controls\Projector.xaml"
                ((UbiDisplays.Interface.Controls.Projector)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 7 "..\..\..\..\..\Interface\Controls\Projector.xaml"
                ((UbiDisplays.Interface.Controls.Projector)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);

            #line default
            #line hidden

            #line 8 "..\..\..\..\..\Interface\Controls\Projector.xaml"
                ((UbiDisplays.Interface.Controls.Projector)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 2:
                this.Renderer = ((UbiDisplays.Interface.Controls.Renderer)(target));
                return;

            case 3:
                this.uctlFollow = ((System.Windows.Controls.Canvas)(target));

            #line 15 "..\..\..\..\..\Interface\Controls\Projector.xaml"
                this.uctlFollow.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.HandleCalibrationMouseUp);

            #line default
            #line hidden

            #line 15 "..\..\..\..\..\Interface\Controls\Projector.xaml"
                this.uctlFollow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HandleCalibrationMouseDown);

            #line default
            #line hidden

            #line 15 "..\..\..\..\..\Interface\Controls\Projector.xaml"
                this.uctlFollow.MouseMove += new System.Windows.Input.MouseEventHandler(this.HandleCalibrationMouseMove);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Projector.g.cs プロジェクト: iNabarawy/ubidisplays
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\..\..\Interface\Controls\Projector.xaml"
     ((UbiDisplays.Interface.Controls.Projector)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\..\..\Interface\Controls\Projector.xaml"
     ((UbiDisplays.Interface.Controls.Projector)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\..\..\Interface\Controls\Projector.xaml"
     ((UbiDisplays.Interface.Controls.Projector)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Renderer = ((UbiDisplays.Interface.Controls.Renderer)(target));
     return;
     case 3:
     this.uctlFollow = ((System.Windows.Controls.Canvas)(target));
     
     #line 15 "..\..\..\..\..\Interface\Controls\Projector.xaml"
     this.uctlFollow.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.HandleCalibrationMouseUp);
     
     #line default
     #line hidden
     
     #line 15 "..\..\..\..\..\Interface\Controls\Projector.xaml"
     this.uctlFollow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HandleCalibrationMouseDown);
     
     #line default
     #line hidden
     
     #line 15 "..\..\..\..\..\Interface\Controls\Projector.xaml"
     this.uctlFollow.MouseMove += new System.Windows.Input.MouseEventHandler(this.HandleCalibrationMouseMove);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }