private static void OnOrientationChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                control.OnOrientationChanged((Orientation)e.OldValue, (Orientation)e.NewValue);
            }
        }
        private static void OnMaximumChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                control.OnMaximumChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
        private static object OnCoerceMaximum(DependencyObject o, object value)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                return(control.OnCoerceMaximum((double)value));
            }
            else
            {
                return(value);
            }
        }
 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;
 }