void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target));
                return;

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

            case 3:
                this.RectBG = ((System.Windows.Shapes.Rectangle)(target));

            #line 18 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                this.RectBG.MouseEnter += new System.Windows.Input.MouseEventHandler(this.EnterMoveWindow);

            #line default
            #line hidden

            #line 18 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                this.RectBG.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ExitMoveWindow);

            #line default
            #line hidden

            #line 18 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                this.RectBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 4:
                this.X = ((System.Windows.Controls.Label)(target));

            #line 19 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowHide);

            #line default
            #line hidden
                return;

            case 5:

            #line 21 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                ((System.Windows.Controls.Label)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.EnterMoveWindow);

            #line default
            #line hidden

            #line 21 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.ExitMoveWindow);

            #line default
            #line hidden

            #line 21 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 6:
                this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target));
                return;

            case 7:
                this.GridVideoModeOutput = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.LabelResolution = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ITUGazeTracker = ((GazeTrackerUI.GazeTrackerUIMainWindow)(target));
     
     #line 12 "..\..\..\GazeTrackerUIMainWindow.xaml"
     this.ITUGazeTracker.Closing += new System.ComponentModel.CancelEventHandler(this.ITUGazeTracker_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GridMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.GridBase = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.GridTop = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.Title = ((System.Windows.Controls.Label)(target));
     
     #line 22 "..\..\..\GazeTrackerUIMainWindow.xaml"
     this.Title.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 34 "..\..\..\GazeTrackerUIMainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 8:
     this.GridCamerImage = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 10:
     this.GridVideoImage = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target));
     return;
     case 12:
     this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target));
     return;
     case 13:
     this.ProgressBarTrackingQuality = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 14:
     this.ExpanderVisualization = ((System.Windows.Controls.Expander)(target));
     return;
     case 15:
     this.X = ((System.Windows.Controls.Label)(target));
     
     #line 66 "..\..\..\GazeTrackerUIMainWindow.xaml"
     this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);
     
     #line default
     #line hidden
     return;
     case 16:
     this._ = ((System.Windows.Controls.Label)(target));
     
     #line 67 "..\..\..\GazeTrackerUIMainWindow.xaml"
     this._.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppMinimize);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ITUGazeTracker = ((GazeTrackerUI.GazeTrackerUIMainWindow)(target));

            #line 12 "..\..\..\GazeTrackerUIMainWindow.xaml"
                this.ITUGazeTracker.Closing += new System.ComponentModel.CancelEventHandler(this.ITUGazeTracker_Closing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.GridBase = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.GridTop = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.Title = ((System.Windows.Controls.Label)(target));

            #line 22 "..\..\..\GazeTrackerUIMainWindow.xaml"
                this.Title.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 7:

            #line 34 "..\..\..\GazeTrackerUIMainWindow.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 8:
                this.GridCamerImage = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 10:
                this.GridVideoImage = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target));
                return;

            case 12:
                this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target));
                return;

            case 13:
                this.ProgressBarTrackingQuality = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 14:
                this.ExpanderVisualization = ((System.Windows.Controls.Expander)(target));
                return;

            case 15:
                this.X = ((System.Windows.Controls.Label)(target));

            #line 66 "..\..\..\GazeTrackerUIMainWindow.xaml"
                this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);

            #line default
            #line hidden
                return;

            case 16:
                this._ = ((System.Windows.Controls.Label)(target));

            #line 67 "..\..\..\GazeTrackerUIMainWindow.xaml"
                this._.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppMinimize);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((GazeTrackerUI.MenubarIconsUserControl)(target));
                return;

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

            case 3:
                this.StackPanelIcons = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 14 "..\..\..\MenubarIconsUserControl.xaml"
                this.IconSettings.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Settings);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\MenubarIconsUserControl.xaml"
                this.IconAutotune.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Autotune);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\MenubarIconsUserControl.xaml"
                this.IconApplicationEF.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ApplicationEF);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\MenubarIconsUserControl.xaml"
                this.IconUDPClient.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.NetworkClient);

            #line default
            #line hidden
                return;

            case 8:
                this.IconTrackStats = ((System.Windows.Controls.Image)(target));

            #line 40 "..\..\..\MenubarIconsUserControl.xaml"
                this.IconTrackStats.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TrackStats);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\MenubarIconsUserControl.xaml"
                this.IconDetachVideo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DetachVideo);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ITUGazeTracker = ((GazeTrackerUI.GazeTrackerUIMainWindow)(target));
                return;

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

            case 3:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.GridBase = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.GridTop = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:

            #line 34 "..\..\GazeTrackerUIMainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 7:

            #line 46 "..\..\GazeTrackerUIMainWindow.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 8:
                this.GridCamerImage = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 10:
                this.GridVideoImage = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target));
                return;

            case 12:
                this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target));
                return;

            case 13:
                this.ProgressBarTrackingQuality = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 14:
                this.ExpanderVisualization = ((System.Windows.Controls.Expander)(target));
                return;

            case 15:
                this.GridButtons1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.rectangle1_Copy = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 17:
                this.WrapPanelButtons = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 18:
                this.BtnSetup = ((GazeGUIVelocity.Button)(target));

            #line 106 "..\..\GazeTrackerUIMainWindow.xaml"
                this.BtnSetup.Action += new System.Windows.RoutedEventHandler(this.ShowSetupWindow);

            #line default
            #line hidden
                return;

            case 19:
                this.BtnCalibrate = ((GazeGUIVelocity.Button)(target));

            #line 107 "..\..\GazeTrackerUIMainWindow.xaml"
                this.BtnCalibrate.Action += new System.Windows.RoutedEventHandler(this.Calibrate);

            #line default
            #line hidden
                return;

            case 20:
                this.BtnStartStop = ((GazeGUIVelocity.Button)(target));

            #line 108 "..\..\GazeTrackerUIMainWindow.xaml"
                this.BtnStartStop.Action += new System.Windows.RoutedEventHandler(this.StartStop);

            #line default
            #line hidden
                return;

            case 21:
                this.X = ((System.Windows.Controls.Label)(target));

            #line 114 "..\..\GazeTrackerUIMainWindow.xaml"
                this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);

            #line default
            #line hidden
                return;

            case 22:
                this._ = ((System.Windows.Controls.Label)(target));

            #line 115 "..\..\GazeTrackerUIMainWindow.xaml"
                this._.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppMinimize);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target));
     return;
     case 2:
     this.GridTop = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.RectBG = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 18 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     this.RectBG.MouseEnter += new System.Windows.Input.MouseEventHandler(this.EnterMoveWindow);
     
     #line default
     #line hidden
     
     #line 18 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     this.RectBG.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ExitMoveWindow);
     
     #line default
     #line hidden
     
     #line 18 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     this.RectBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 4:
     this.X = ((System.Windows.Controls.Label)(target));
     
     #line 19 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowHide);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 21 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     ((System.Windows.Controls.Label)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.EnterMoveWindow);
     
     #line default
     #line hidden
     
     #line 21 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     ((System.Windows.Controls.Label)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.ExitMoveWindow);
     
     #line default
     #line hidden
     
     #line 21 "..\..\..\..\TrackerViewer\VideoViewer.xaml"
     ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 6:
     this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target));
     return;
     case 7:
     this.GridVideoModeOutput = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.LabelResolution = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((GazeTrackerUI.MenubarIconsUserControl)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.StackPanelIcons = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.IconSettings = ((System.Windows.Controls.Image)(target));
     
     #line 14 "..\..\..\MenubarIconsUserControl.xaml"
     this.IconSettings.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Settings);
     
     #line default
     #line hidden
     return;
     case 5:
     this.IconAutotune = ((System.Windows.Controls.Image)(target));
     
     #line 20 "..\..\..\MenubarIconsUserControl.xaml"
     this.IconAutotune.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Autotune);
     
     #line default
     #line hidden
     return;
     case 6:
     this.IconUDPClient = ((System.Windows.Controls.Image)(target));
     
     #line 32 "..\..\..\MenubarIconsUserControl.xaml"
     this.IconUDPClient.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.NetworkClient);
     
     #line default
     #line hidden
     return;
     case 7:
     this.IconTrackStats = ((System.Windows.Controls.Image)(target));
     
     #line 38 "..\..\..\MenubarIconsUserControl.xaml"
     this.IconTrackStats.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TrackStats);
     
     #line default
     #line hidden
     return;
     case 8:
     this.IconDetachVideo = ((System.Windows.Controls.Image)(target));
     
     #line 44 "..\..\..\MenubarIconsUserControl.xaml"
     this.IconDetachVideo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DetachVideo);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }