示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\..\MainWindow.xaml"
     ((UbiDisplays.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Handle_WindowResize);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\MainWindow.xaml"
     ((UbiDisplays.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 11 "..\..\..\MainWindow.xaml"
     ((UbiDisplays.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this._Wrapper = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this._FPSLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     
     #line 21 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_LoadClick);
     
     #line default
     #line hidden
     
     #line 21 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Drop += new System.Windows.DragEventHandler(this.LoadButton_Drop);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 27 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SaveClick);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 33 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SaveAsClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this._TopLogText = ((System.Windows.Controls.TextBlock)(target));
     
     #line 43 "..\..\..\MainWindow.xaml"
     this._TopLogText.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this._TopLogText_MouseUp);
     
     #line default
     #line hidden
     return;
     case 8:
     this.topBar = ((System.Windows.Controls.TabControl)(target));
     return;
     case 9:
     this.tabProjector = ((System.Windows.Controls.TabItem)(target));
     return;
     case 10:
     this._Step1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this._Monitors = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     
     #line 75 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.RefreshMonitorSelection);
     
     #line default
     #line hidden
     return;
     case 13:
     this._Kinects = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     
     #line 90 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.RefreshKinectSelection);
     
     #line default
     #line hidden
     return;
     case 15:
     this.tabSettings = ((System.Windows.Controls.TabItem)(target));
     return;
     case 16:
     this._Step2 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 17:
     
     #line 116 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleResetCalibrationZoom_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 125 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleDiscardArea_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 132 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleAcceptArea_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 139 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleClearSelectionArea_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 146 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleToggleBackground_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this._imgWhiteout = ((System.Windows.Controls.Image)(target));
     return;
     case 23:
     this._lblWhiteout = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     
     #line 155 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleCalibrate_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this._pzCalibration = ((UbiDisplays.Interface.Controls.PanZoom)(target));
     return;
     case 26:
     this._vidCalibration = ((System.Windows.Controls.Image)(target));
     return;
     case 27:
     this.tabDisplayControl = ((System.Windows.Controls.TabItem)(target));
     return;
     case 28:
     this._Step3 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 29:
     
     #line 191 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleResetManagmentZoom);
     
     #line default
     #line hidden
     return;
     case 30:
     
     #line 200 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleDrawSurface);
     
     #line default
     #line hidden
     return;
     case 31:
     
     #line 207 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleReloadDisplaysAndSurfaces);
     
     #line default
     #line hidden
     return;
     case 32:
     this._SurfaceList = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 33:
     this._pzManage = ((UbiDisplays.Interface.Controls.PanZoom)(target));
     return;
     case 34:
     this._vidManage = ((System.Windows.Controls.Image)(target));
     
     #line 226 "..\..\..\MainWindow.xaml"
     this._vidManage.MouseMove += new System.Windows.Input.MouseEventHandler(this.Handle_DisplayManagmentVideoMouseMove);
     
     #line default
     #line hidden
     
     #line 227 "..\..\..\MainWindow.xaml"
     this._vidManage.Drop += new System.Windows.DragEventHandler(this.HandleDisplay_Drop);
     
     #line default
     #line hidden
     
     #line 227 "..\..\..\MainWindow.xaml"
     this._vidManage.DragEnter += new System.Windows.DragEventHandler(this.HandleDisplay_DragEnter);
     
     #line default
     #line hidden
     
     #line 227 "..\..\..\MainWindow.xaml"
     this._vidManage.DragLeave += new System.Windows.DragEventHandler(this.HandleDisplay_DragLeave);
     
     #line default
     #line hidden
     
     #line 227 "..\..\..\MainWindow.xaml"
     this._vidManage.DragOver += new System.Windows.DragEventHandler(this.HandleDisplay_DragOver);
     
     #line default
     #line hidden
     return;
     case 35:
     this._vidManageDebug = ((System.Windows.Controls.Image)(target));
     return;
     case 36:
     this.tabDebugging = ((System.Windows.Controls.TabItem)(target));
     return;
     case 37:
     this._DebugPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 38:
     
     #line 256 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_LaunchChromeInspector);
     
     #line default
     #line hidden
     return;
     case 39:
     this.tabResearch = ((System.Windows.Controls.TabItem)(target));
     return;
     case 40:
     
     #line 298 "..\..\..\MainWindow.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this._NoneCommercial = ((System.Windows.Controls.Grid)(target));
     return;
     case 42:
     
     #line 311 "..\..\..\MainWindow.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     
     #line 312 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_NonCommercialClick);
     
     #line default
     #line hidden
     return;
     case 44:
     
     #line 313 "..\..\..\MainWindow.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((UbiDisplays.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Handle_WindowResize);

            #line default
            #line hidden

            #line 10 "..\..\..\MainWindow.xaml"
                ((UbiDisplays.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                ((UbiDisplays.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this._Wrapper = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this._FPSLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:

            #line 21 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_LoadClick);

            #line default
            #line hidden

            #line 21 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Drop += new System.Windows.DragEventHandler(this.LoadButton_Drop);

            #line default
            #line hidden
                return;

            case 5:

            #line 27 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SaveClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 33 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SaveAsClick);

            #line default
            #line hidden
                return;

            case 7:
                this._TopLogText = ((System.Windows.Controls.TextBlock)(target));

            #line 43 "..\..\..\MainWindow.xaml"
                this._TopLogText.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this._TopLogText_MouseUp);

            #line default
            #line hidden
                return;

            case 8:
                this.topBar = ((System.Windows.Controls.TabControl)(target));
                return;

            case 9:
                this.tabProjector = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this._Step1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this._Monitors = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:

            #line 75 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.RefreshMonitorSelection);

            #line default
            #line hidden
                return;

            case 13:
                this._Kinects = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:

            #line 90 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.RefreshKinectSelection);

            #line default
            #line hidden
                return;

            case 15:
                this.tabSettings = ((System.Windows.Controls.TabItem)(target));
                return;

            case 16:
                this._Step2 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 17:

            #line 116 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleResetCalibrationZoom_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 125 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleDiscardArea_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 132 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleAcceptArea_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 139 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleClearSelectionArea_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 146 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleToggleBackground_Click);

            #line default
            #line hidden
                return;

            case 22:
                this._imgWhiteout = ((System.Windows.Controls.Image)(target));
                return;

            case 23:
                this._lblWhiteout = ((System.Windows.Controls.Label)(target));
                return;

            case 24:

            #line 155 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleCalibrate_Click);

            #line default
            #line hidden
                return;

            case 25:
                this._pzCalibration = ((UbiDisplays.Interface.Controls.PanZoom)(target));
                return;

            case 26:
                this._vidCalibration = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.tabDisplayControl = ((System.Windows.Controls.TabItem)(target));
                return;

            case 28:
                this._Step3 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 29:

            #line 191 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleResetManagmentZoom);

            #line default
            #line hidden
                return;

            case 30:

            #line 200 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleDrawSurface);

            #line default
            #line hidden
                return;

            case 31:

            #line 207 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleReloadDisplaysAndSurfaces);

            #line default
            #line hidden
                return;

            case 32:
                this._SurfaceList = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 33:
                this._pzManage = ((UbiDisplays.Interface.Controls.PanZoom)(target));
                return;

            case 34:
                this._vidManage = ((System.Windows.Controls.Image)(target));

            #line 226 "..\..\..\MainWindow.xaml"
                this._vidManage.MouseMove += new System.Windows.Input.MouseEventHandler(this.Handle_DisplayManagmentVideoMouseMove);

            #line default
            #line hidden

            #line 227 "..\..\..\MainWindow.xaml"
                this._vidManage.Drop += new System.Windows.DragEventHandler(this.HandleDisplay_Drop);

            #line default
            #line hidden

            #line 227 "..\..\..\MainWindow.xaml"
                this._vidManage.DragEnter += new System.Windows.DragEventHandler(this.HandleDisplay_DragEnter);

            #line default
            #line hidden

            #line 227 "..\..\..\MainWindow.xaml"
                this._vidManage.DragLeave += new System.Windows.DragEventHandler(this.HandleDisplay_DragLeave);

            #line default
            #line hidden

            #line 227 "..\..\..\MainWindow.xaml"
                this._vidManage.DragOver += new System.Windows.DragEventHandler(this.HandleDisplay_DragOver);

            #line default
            #line hidden
                return;

            case 35:
                this._vidManageDebug = ((System.Windows.Controls.Image)(target));
                return;

            case 36:
                this.tabDebugging = ((System.Windows.Controls.TabItem)(target));
                return;

            case 37:
                this._DebugPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 38:

            #line 256 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_LaunchChromeInspector);

            #line default
            #line hidden
                return;

            case 39:
                this.tabResearch = ((System.Windows.Controls.TabItem)(target));
                return;

            case 40:

            #line 298 "..\..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

            #line default
            #line hidden
                return;

            case 41:
                this._NoneCommercial = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:

            #line 311 "..\..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

            #line default
            #line hidden
                return;

            case 43:

            #line 312 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_NonCommercialClick);

            #line default
            #line hidden
                return;

            case 44:

            #line 313 "..\..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

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