void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((GazeTrackerClientUI.EventNotifierControl)(target));
                return;

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

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

            case 4:
                this.BtnClose = ((GazeGUIVelocity.Button)(target));

            #line 15 "..\..\EventNotifierControl.xaml"
                this.BtnClose.Action += new System.Windows.RoutedEventHandler(this.CloseIt);

            #line default
            #line hidden
                return;

            case 5:
                this.LabelCmd = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.LabelParameters = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GazeTrackerClientUI = ((GazeTrackerClientUI.ClientUI)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GridMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     
     #line 32 "..\..\ClientUI.xaml"
     ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 5:
     this.GridBase = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     
     #line 43 "..\..\ClientUI.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 7:
     this.GridButtons = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.BtnConfig = ((GazeGUIVelocity.Button)(target));
     
     #line 53 "..\..\ClientUI.xaml"
     this.BtnConfig.Action += new System.Windows.RoutedEventHandler(this.ShowConfig);
     
     #line default
     #line hidden
     return;
     case 9:
     this.BtnConnect = ((GazeGUIVelocity.Button)(target));
     
     #line 54 "..\..\ClientUI.xaml"
     this.BtnConnect.Action += new System.Windows.RoutedEventHandler(this.ConnectToTracker);
     
     #line default
     #line hidden
     return;
     case 10:
     this.GridDataView = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.TextBlockData = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.GridCommand = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.ComboBoxCommands = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 14:
     this.GridCommandHistory = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.TextBlockCommandLog = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.CheckBoxListenToEvents = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 17:
     this.GridConfig = ((System.Windows.Controls.Grid)(target));
     return;
     case 18:
     this.GridSettings = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.TextBoxIPAddress = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.TextBoxPortOut = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.TextBoxPortIn = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     
     #line 142 "..\..\ClientUI.xaml"
     ((GazeGUIVelocity.Button)(target)).Action += new System.Windows.RoutedEventHandler(this.SaveConfig);
     
     #line default
     #line hidden
     return;
     case 23:
     this.GridParameters = ((System.Windows.Controls.Grid)(target));
     return;
     case 24:
     this.TextBoxParameters = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.BtnSetParameters = ((GazeGUIVelocity.Button)(target));
     
     #line 163 "..\..\ClientUI.xaml"
     this.BtnSetParameters.Action += new System.Windows.RoutedEventHandler(this.SetParameters);
     
     #line default
     #line hidden
     return;
     case 26:
     this.eventNotifier = ((GazeTrackerClientUI.EventNotifierControl)(target));
     return;
     case 27:
     this._ = ((System.Windows.Controls.Label)(target));
     
     #line 173 "..\..\ClientUI.xaml"
     this._.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppMinimize);
     
     #line default
     #line hidden
     return;
     case 28:
     this.X = ((System.Windows.Controls.Label)(target));
     
     #line 174 "..\..\ClientUI.xaml"
     this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.componentPlacingWindow = ((GazeTrackerUI.SettingsUI.ComponentPlacingWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.LabelCloseX = ((System.Windows.Controls.Label)(target));
     
     #line 21 "..\..\..\..\Settings\ComponentPlacingWindow.xaml"
     this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HideWindow);
     
     #line default
     #line hidden
     return;
     case 4:
     this.GridLeftPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     
     #line 36 "..\..\..\..\Settings\ComponentPlacingWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 6:
     this.GridCanvas = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.GridDisplay = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.labelSelectIR = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.labelDrag = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.dragCanvas = ((GazeTrackerUI.Tools.DragCanvasControl)(target));
     return;
     case 11:
     this.GridBottomMenu = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.comboBoxNumberIR = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 13:
     this.BtnSave = ((GazeGUIVelocity.Button)(target));
     
     #line 124 "..\..\..\..\Settings\ComponentPlacingWindow.xaml"
     this.BtnSave.Action += new System.Windows.RoutedEventHandler(this.Save);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((GazeTrackerUI.MessageWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GridContent = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.RectBG2 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 18 "..\..\..\MessageWindow.xaml"
     this.RectBG2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 5:
     this.GridTop = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.LabelCloseX = ((System.Windows.Controls.Label)(target));
     
     #line 29 "..\..\..\MessageWindow.xaml"
     this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);
     
     #line default
     #line hidden
     return;
     case 7:
     this.LabelTitle = ((System.Windows.Controls.Label)(target));
     
     #line 30 "..\..\..\MessageWindow.xaml"
     this.LabelTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 8:
     this.GridMessage = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.TextBlockMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.BtnForum = ((GazeGUIVelocity.Button)(target));
     
     #line 43 "..\..\..\MessageWindow.xaml"
     this.BtnForum.Action += new System.Windows.RoutedEventHandler(this.VisitForum);
     
     #line default
     #line hidden
     return;
     case 11:
     this.BtnManual = ((GazeGUIVelocity.Button)(target));
     
     #line 44 "..\..\..\MessageWindow.xaml"
     this.BtnManual.Action += new System.Windows.RoutedEventHandler(this.ReadDocumentation);
     
     #line default
     #line hidden
     return;
     case 12:
     this.BtnVideoInstruction = ((GazeGUIVelocity.Button)(target));
     
     #line 45 "..\..\..\MessageWindow.xaml"
     this.BtnVideoInstruction.Action += new System.Windows.RoutedEventHandler(this.VideoInstructions);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GazeTrackerClientUI = ((GazeTrackerClientUI.ClientUI)(target));
                return;

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

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

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.BtnConfig = ((GazeGUIVelocity.Button)(target));

            #line 53 "..\..\ClientUI.xaml"
                this.BtnConfig.Action += new System.Windows.RoutedEventHandler(this.ShowConfig);

            #line default
            #line hidden
                return;

            case 9:
                this.BtnConnect = ((GazeGUIVelocity.Button)(target));

            #line 54 "..\..\ClientUI.xaml"
                this.BtnConnect.Action += new System.Windows.RoutedEventHandler(this.ConnectToTracker);

            #line default
            #line hidden
                return;

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

            case 11:
                this.TextBlockData = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.GridCommand = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.ComboBoxCommands = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.GridCommandHistory = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.TextBlockCommandLog = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.CheckBoxListenToEvents = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.GridConfig = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.GridSettings = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.TextBoxIPAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.TextBoxPortOut = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.TextBoxPortIn = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:

            #line 142 "..\..\ClientUI.xaml"
                ((GazeGUIVelocity.Button)(target)).Action += new System.Windows.RoutedEventHandler(this.SaveConfig);

            #line default
            #line hidden
                return;

            case 23:
                this.GridParameters = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.TextBoxParameters = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.BtnSetParameters = ((GazeGUIVelocity.Button)(target));

            #line 163 "..\..\ClientUI.xaml"
                this.BtnSetParameters.Action += new System.Windows.RoutedEventHandler(this.SetParameters);

            #line default
            #line hidden
                return;

            case 26:
                this.eventNotifier = ((GazeTrackerClientUI.EventNotifierControl)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
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;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.componentPlacingWindow = ((GazeTrackerUI.Settings.ComponentPlacingWindow)(target));
                return;

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

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

            #line 21 "..\..\..\Settings\ComponentPlacingWindow.xaml"
                this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HideWindow);

            #line default
            #line hidden
                return;

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

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.GridCanvas = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 8:
                this.labelSelectIR = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.labelDrag = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.dragCanvas = ((GazeTrackerUI.Tools.DragCanvasControl)(target));
                return;

            case 11:
                this.GridBottomMenu = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.comboBoxNumberIR = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.BtnSave = ((GazeGUIVelocity.Button)(target));

            #line 124 "..\..\..\Settings\ComponentPlacingWindow.xaml"
                this.BtnSave.Action += new System.Windows.RoutedEventHandler(this.Save);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.settingsWindow = ((GazeTrackerUI.SettingsUI.SettingsWindow)(target));
     
     #line 17 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.settingsWindow.Loaded += new System.Windows.RoutedEventHandler(this.OnLoad);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GridLeftPanel = ((System.Windows.Controls.Grid)(target));
     
     #line 37 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.GridLeftPanel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 4:
     this.TabControlMain = ((System.Windows.Controls.TabControl)(target));
     return;
     case 5:
     this.TabItemTracking = ((System.Windows.Controls.TabItem)(target));
     return;
     case 6:
     this.GridTrackerSetup = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.BtnTrackingMethodHeadmounted = ((GazeGUIVelocity.Button)(target));
     
     #line 50 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.BtnTrackingMethodHeadmounted.Action += new System.Windows.RoutedEventHandler(this.SetTrackingMethod);
     
     #line default
     #line hidden
     return;
     case 8:
     this.BtnTrackingMethodRemoteBinocular = ((GazeGUIVelocity.Button)(target));
     
     #line 51 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.BtnTrackingMethodRemoteBinocular.Action += new System.Windows.RoutedEventHandler(this.SetTrackingMethod);
     
     #line default
     #line hidden
     return;
     case 9:
     this.BtnTrackingMethodRemoteMonocular = ((GazeGUIVelocity.Button)(target));
     
     #line 52 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.BtnTrackingMethodRemoteMonocular.Action += new System.Windows.RoutedEventHandler(this.SetTrackingMethod);
     
     #line default
     #line hidden
     return;
     case 10:
     this.TabItemCalibration = ((System.Windows.Controls.TabItem)(target));
     return;
     case 11:
     this.GridCalibration = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.GridTrackingScreen = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.comboBoxTrackingMonitor = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 14:
     this.GridNumberOfPoints = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.Radio5Points = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 16:
     this.Radio9Points = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 17:
     this.Radio12Points = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 18:
     this.GridRandomPointOrder = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.CheckBoxRandomPointOrder = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     this.TabItemNetwork = ((System.Windows.Controls.TabItem)(target));
     return;
     case 21:
     this.GridNetwork = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this.CheckBoxTCPIPServerEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 23:
     this.CheckBoxUDPServer = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 24:
     this.CheckBoxUDPServerSendXML = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 25:
     this.CheckBoxUDPServerSendSmoothedData = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 26:
     this.TabItemCamera = ((System.Windows.Controls.TabItem)(target));
     return;
     case 27:
     this.GridCamera = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.GridSelectCamera = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     this.GridSelectDevice = ((System.Windows.Controls.Grid)(target));
     return;
     case 30:
     this.ComboBoxDevices = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 31:
     this.GridMode = ((System.Windows.Controls.Grid)(target));
     return;
     case 32:
     this.ComboBoxDeviceModes = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 33:
     this.GridFlip = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.CheckBoxFlipImage = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 35:
     this.TabItemOptions = ((System.Windows.Controls.TabItem)(target));
     return;
     case 36:
     this.GridOptions = ((System.Windows.Controls.Grid)(target));
     return;
     case 37:
     this.GridLogging = ((System.Windows.Controls.Grid)(target));
     return;
     case 38:
     this.CheckBoxLoggingEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 39:
     this.TextBoxLogFilePath = ((System.Windows.Controls.TextBox)(target));
     return;
     case 40:
     
     #line 154 "..\..\..\..\Settings\SettingsWindow.xaml"
     ((GazeGUI.ButtonGlass)(target)).ButtonAction += new System.Windows.RoutedEventHandler(this.OpenLogFileDialog);
     
     #line default
     #line hidden
     return;
     case 41:
     this.CheckBoxEyeMouseEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 42:
     this.LabelCloseX = ((System.Windows.Controls.Label)(target));
     
     #line 166 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HideWindow);
     
     #line default
     #line hidden
     return;
     case 43:
     this.ExpanderAdvanced = ((System.Windows.Controls.Expander)(target));
     return;
     case 44:
     this.GridAdvancedPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 45:
     this.GridAdvancedTracking = ((System.Windows.Controls.Grid)(target));
     return;
     case 46:
     this.GridSliders = ((System.Windows.Controls.Grid)(target));
     return;
     case 47:
     this.StackPanelLabels = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 48:
     this.StackPanelTracking = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 49:
     this.CheckBoxTrackingEye = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 50:
     this.CheckBoxTrackingPupil = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 51:
     this.CheckBoxTrackingGlints = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 52:
     this.StackPanelAuto = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 53:
     this.CheckBoxAutoEye = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 54:
     this.CheckBoxAutoPupil = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 55:
     this.CheckBoxAutoGlint = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 56:
     this.GridEyeSliders = ((System.Windows.Controls.Grid)(target));
     return;
     case 57:
     this.SliderEyeScale = ((System.Windows.Controls.Slider)(target));
     return;
     case 58:
     this.RangeSliderEyeSize = ((AC.AvalonControlsLibrary.Controls.RangeSlider)(target));
     return;
     case 59:
     this.EditSliderEyeMin = ((GazeTrackerUI.Tools.EditSlider)(target));
     return;
     case 60:
     this.EditSliderEyeMax = ((GazeTrackerUI.Tools.EditSlider)(target));
     return;
     case 61:
     this.GridPupilSliders = ((System.Windows.Controls.Grid)(target));
     return;
     case 62:
     this.SliderPupilThreshold = ((System.Windows.Controls.Slider)(target));
     return;
     case 63:
     this.RangeSliderPupilSize = ((AC.AvalonControlsLibrary.Controls.RangeSlider)(target));
     return;
     case 64:
     this.EditSliderPupilMin = ((GazeTrackerUI.Tools.EditSlider)(target));
     return;
     case 65:
     this.EditSliderPupilMax = ((GazeTrackerUI.Tools.EditSlider)(target));
     return;
     case 66:
     this.GridGlintSliders = ((System.Windows.Controls.Grid)(target));
     return;
     case 67:
     this.SliderGlintThreshold = ((System.Windows.Controls.Slider)(target));
     return;
     case 68:
     this.RangeSliderGlintSize = ((AC.AvalonControlsLibrary.Controls.RangeSlider)(target));
     return;
     case 69:
     this.EditSliderGlintMin = ((GazeTrackerUI.Tools.EditSlider)(target));
     return;
     case 70:
     this.EditSliderGlintMax = ((GazeTrackerUI.Tools.EditSlider)(target));
     return;
     case 71:
     this.GridIRPlacement = ((System.Windows.Controls.Grid)(target));
     return;
     case 72:
     this.comboboxIRPlacement = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 73:
     this.GridComponentPlacing = ((System.Windows.Controls.Grid)(target));
     return;
     case 74:
     this.labelComponentPlacing = ((System.Windows.Controls.Label)(target));
     return;
     case 75:
     this.GridAdvancedCalibration = ((System.Windows.Controls.Grid)(target));
     return;
     case 76:
     this.GridColors = ((System.Windows.Controls.Grid)(target));
     return;
     case 77:
     this.GridBackgroundColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 78:
     this.RectBackgroundColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 259 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.RectBackgroundColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPickerCalibration);
     
     #line default
     #line hidden
     return;
     case 79:
     this.GridPointColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 80:
     this.RectPointColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 263 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.RectPointColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPickerCalibration);
     
     #line default
     #line hidden
     return;
     case 81:
     this.GridColorPickerPoints = ((System.Windows.Controls.Grid)(target));
     return;
     case 82:
     this.colorPickerPoints = ((Dotway.WPF.Controls.ColorPicker)(target));
     return;
     case 83:
     this.BtnPoints = ((GazeGUI.ButtonGlass)(target));
     
     #line 270 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.BtnPoints.ButtonAction += new System.Windows.RoutedEventHandler(this.ColorSelected);
     
     #line default
     #line hidden
     return;
     case 84:
     this.GridColorPickerBackground = ((System.Windows.Controls.Grid)(target));
     return;
     case 85:
     this.colorPickerBackground = ((Dotway.WPF.Controls.ColorPicker)(target));
     return;
     case 86:
     this.BtnBackground = ((GazeGUI.ButtonGlass)(target));
     
     #line 275 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.BtnBackground.ButtonAction += new System.Windows.RoutedEventHandler(this.ColorSelected);
     
     #line default
     #line hidden
     return;
     case 87:
     this.GridCalibrationSize = ((System.Windows.Controls.Grid)(target));
     return;
     case 88:
     this.TextBoxCalibrationWidth = ((System.Windows.Controls.TextBox)(target));
     return;
     case 89:
     this.TextBoxCalibrationHeight = ((System.Windows.Controls.TextBox)(target));
     return;
     case 90:
     this.GridCalibrationSpeed = ((System.Windows.Controls.Grid)(target));
     return;
     case 91:
     this.SliderCalibrationSpeed = ((System.Windows.Controls.Slider)(target));
     return;
     case 92:
     this.GridUseInfantGraphics = ((System.Windows.Controls.Grid)(target));
     return;
     case 93:
     this.CheckBoxUseInfantGraphics = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 94:
     this.GridCalinbrationAlignment = ((System.Windows.Controls.Grid)(target));
     return;
     case 95:
     this.comboBoxCalibrationAlignment = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 96:
     this.GridAdvancedNetwork = ((System.Windows.Controls.Grid)(target));
     return;
     case 97:
     this.GridTCPIPServer = ((System.Windows.Controls.Grid)(target));
     return;
     case 98:
     this.ComboBoxTCPIPServerIPAddress = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 99:
     this.TextBoxTCPIPPort = ((System.Windows.Controls.TextBox)(target));
     return;
     case 100:
     this.GridUDPServer = ((System.Windows.Controls.Grid)(target));
     return;
     case 101:
     this.ComboBoxUDPServerIPAddress = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 102:
     this.TextBoxUDPPort = ((System.Windows.Controls.TextBox)(target));
     return;
     case 103:
     this.GridAdvancedCamera = ((System.Windows.Controls.Grid)(target));
     return;
     case 104:
     this.GridSlidersVideoProcAmp = ((System.Windows.Controls.Grid)(target));
     return;
     case 105:
     this.GridBrightness = ((System.Windows.Controls.Grid)(target));
     return;
     case 106:
     this.SliderBrightness = ((System.Windows.Controls.Slider)(target));
     return;
     case 107:
     this.GridContrast = ((System.Windows.Controls.Grid)(target));
     return;
     case 108:
     this.SliderContrast = ((System.Windows.Controls.Slider)(target));
     return;
     case 109:
     this.GridSaturation = ((System.Windows.Controls.Grid)(target));
     return;
     case 110:
     this.SliderSaturation = ((System.Windows.Controls.Slider)(target));
     return;
     case 111:
     this.GridSharpness = ((System.Windows.Controls.Grid)(target));
     return;
     case 112:
     this.SliderSharpness = ((System.Windows.Controls.Slider)(target));
     return;
     case 113:
     this.GridSlidersCamControl = ((System.Windows.Controls.Grid)(target));
     return;
     case 114:
     this.GridZoom = ((System.Windows.Controls.Grid)(target));
     return;
     case 115:
     this.SliderZoom = ((System.Windows.Controls.Slider)(target));
     return;
     case 116:
     this.GridFocus = ((System.Windows.Controls.Grid)(target));
     return;
     case 117:
     this.SliderFocus = ((System.Windows.Controls.Slider)(target));
     return;
     case 118:
     this.GridExposure = ((System.Windows.Controls.Grid)(target));
     return;
     case 119:
     this.SliderExposure = ((System.Windows.Controls.Slider)(target));
     return;
     case 120:
     this.GridAdvancedOptions = ((System.Windows.Controls.Grid)(target));
     return;
     case 121:
     this.GridConfName = ((System.Windows.Controls.Grid)(target));
     return;
     case 122:
     this.TextBoxSettingsName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 123:
     this.GridLoadConf = ((System.Windows.Controls.Grid)(target));
     return;
     case 124:
     this.LabelLoadConfiguration = ((System.Windows.Controls.Label)(target));
     return;
     case 125:
     this.ComboBoxSettingsFiles = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 126:
     this.GridVisualFeedback = ((System.Windows.Controls.Grid)(target));
     return;
     case 127:
     this.CheckBoxEyeMouseSmooth = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 128:
     this.SliderSmoothLevel = ((System.Windows.Controls.Slider)(target));
     return;
     case 129:
     this.CheckBoxEyeMouseHideCursor = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 130:
     this.CheckBoxCrosshairEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 131:
     this.ExpanderColors = ((System.Windows.Controls.Expander)(target));
     return;
     case 132:
     this.TabControlColors = ((System.Windows.Controls.TabControl)(target));
     return;
     case 133:
     this.TabItemPupil = ((System.Windows.Controls.TabItem)(target));
     return;
     case 134:
     this.GridPupil = ((System.Windows.Controls.Grid)(target));
     return;
     case 135:
     this.WrapPanelPupilColor = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 136:
     this.GridPupilThresholdColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 137:
     this.PupilThresholdColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 492 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.PupilThresholdColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 138:
     this.GridPupilCrossColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 139:
     this.PupilCrossColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 496 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.PupilCrossColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 140:
     this.GridPupilMinColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 141:
     this.PupilMinColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 500 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.PupilMinColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 142:
     this.GridPupilMaxColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 143:
     this.PupilMaxColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 504 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.PupilMaxColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 144:
     this.GridPupilGray = ((System.Windows.Controls.Grid)(target));
     return;
     case 145:
     this.WrapPanelPupilGray = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 146:
     this.GridPupilCrossGraySlider = ((System.Windows.Controls.Grid)(target));
     return;
     case 147:
     this.SliderPupilCrossGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 148:
     this.GridPupilMinGraySlider = ((System.Windows.Controls.Grid)(target));
     return;
     case 149:
     this.SliderPupilMinGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 150:
     this.GridPupilMaxGraySlider = ((System.Windows.Controls.Grid)(target));
     return;
     case 151:
     this.SliderPupilMaxGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 152:
     this.TabItemGlint = ((System.Windows.Controls.TabItem)(target));
     return;
     case 153:
     this.GridGlint = ((System.Windows.Controls.Grid)(target));
     return;
     case 154:
     this.WrapPanelGlintColor = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 155:
     this.GridGlintThreshold = ((System.Windows.Controls.Grid)(target));
     return;
     case 156:
     this.GlintThresholdColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 537 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.GlintThresholdColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 157:
     this.GridGlintCross = ((System.Windows.Controls.Grid)(target));
     return;
     case 158:
     this.GlintCrossColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 541 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.GlintCrossColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 159:
     this.GridGlintMin = ((System.Windows.Controls.Grid)(target));
     return;
     case 160:
     this.GlintMinColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 545 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.GlintMinColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 161:
     this.GridGlintMax = ((System.Windows.Controls.Grid)(target));
     return;
     case 162:
     this.GlintMaxColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 549 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.GlintMaxColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 163:
     this.GridGlintGray = ((System.Windows.Controls.Grid)(target));
     return;
     case 164:
     this.WrapPanelGlintGraySliders = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 165:
     this.GridGlintCrossGraySlider = ((System.Windows.Controls.Grid)(target));
     return;
     case 166:
     this.SliderGlintCrossGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 167:
     this.GridGlintMinGraySlider = ((System.Windows.Controls.Grid)(target));
     return;
     case 168:
     this.SliderGlintMinGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 169:
     this.GridGlintMaxGraySlider = ((System.Windows.Controls.Grid)(target));
     return;
     case 170:
     this.SliderGlintMaxGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 171:
     this.TabItemEye = ((System.Windows.Controls.TabItem)(target));
     return;
     case 172:
     this.GridEye = ((System.Windows.Controls.Grid)(target));
     return;
     case 173:
     this.WrapPanelEyeColor = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 174:
     this.GridBoxColor = ((System.Windows.Controls.Grid)(target));
     return;
     case 175:
     this.EyeROIColor = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 578 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.EyeROIColor.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowColorPicker);
     
     #line default
     #line hidden
     return;
     case 176:
     this.GridEyeGray = ((System.Windows.Controls.Grid)(target));
     return;
     case 177:
     this.WrapPanelEyeGray = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 178:
     this.SliderEyeBoxGray = ((System.Windows.Controls.Slider)(target));
     return;
     case 179:
     this.GridColorPicker = ((System.Windows.Controls.Grid)(target));
     return;
     case 180:
     this.LabelCloseColorPickerX = ((System.Windows.Controls.Label)(target));
     
     #line 596 "..\..\..\..\Settings\SettingsWindow.xaml"
     this.LabelCloseColorPickerX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HideColorPicker);
     
     #line default
     #line hidden
     return;
     case 181:
     this.colorPickerUC = ((GazeTrackerUI.Tools.ColorPickerUserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((GazeTrackerUI.MessageWindow)(target));
                return;

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

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

            case 4:
                this.RectBG2 = ((System.Windows.Shapes.Rectangle)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\..\MessageWindow.xaml"
                this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);

            #line default
            #line hidden
                return;

            case 7:
                this.LabelTitle = ((System.Windows.Controls.Label)(target));

            #line 30 "..\..\..\MessageWindow.xaml"
                this.LabelTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

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

            case 9:
                this.TextBlockMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.BtnForum = ((GazeGUIVelocity.Button)(target));

            #line 43 "..\..\..\MessageWindow.xaml"
                this.BtnForum.Action += new System.Windows.RoutedEventHandler(this.VisitForum);

            #line default
            #line hidden
                return;

            case 11:
                this.BtnManual = ((GazeGUIVelocity.Button)(target));

            #line 44 "..\..\..\MessageWindow.xaml"
                this.BtnManual.Action += new System.Windows.RoutedEventHandler(this.ReadDocumentation);

            #line default
            #line hidden
                return;

            case 12:
                this.BtnVideoInstruction = ((GazeGUIVelocity.Button)(target));

            #line 45 "..\..\..\MessageWindow.xaml"
                this.BtnVideoInstruction.Action += new System.Windows.RoutedEventHandler(this.VideoInstructions);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((GazeTrackerClientUI.EventNotifierControl)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GridEventNotifier = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.BtnClose = ((GazeGUIVelocity.Button)(target));
     
     #line 15 "..\..\EventNotifierControl.xaml"
     this.BtnClose.Action += new System.Windows.RoutedEventHandler(this.CloseIt);
     
     #line default
     #line hidden
     return;
     case 5:
     this.LabelCmd = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.LabelParameters = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }