示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((PosControls.BrushSelectBox)(target));

            #line 8 "..\..\BrushSelectBox.xaml"
                this.userControl.Loaded += new System.Windows.RoutedEventHandler(this.userControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 4:
                this.borderSwatch = ((System.Windows.Controls.Border)(target));

            #line 35 "..\..\BrushSelectBox.xaml"
                this.borderSwatch.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.borderSwatch_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:
                this.colorSelectBoxApplicationForeground = ((PosControls.BrushSelectBox)(target));

            #line 79 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxApplicationForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.colorSelectBoxBorder = ((PosControls.BrushSelectBox)(target));

            #line 80 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxBorder.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.colorSelectBoxDisabledBorder = ((PosControls.BrushSelectBox)(target));

            #line 81 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledBorder.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.colorSelectBoxButtonForeground = ((PosControls.BrushSelectBox)(target));

            #line 82 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxButtonForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.colorSelectBoxDisabledButtonForeground = ((PosControls.BrushSelectBox)(target));

            #line 83 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledButtonForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.colorSelectBoxEnabledSelectedButtonForeground = ((PosControls.BrushSelectBox)(target));

            #line 84 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledSelectedButtonForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.colorSelectBoxDisabledSelectedButtonForeground = ((PosControls.BrushSelectBox)(target));

            #line 85 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedButtonForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.colorSelectBoxCaret = ((PosControls.BrushSelectBox)(target));

            #line 86 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxCaret.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.colorSelectBoxEnabledComboBoxForeground = ((PosControls.BrushSelectBox)(target));

            #line 87 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledComboBoxForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.colorSelectBoxDisabledComboBoxForeground = ((PosControls.BrushSelectBox)(target));

            #line 88 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledComboBoxForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.colorSelectBoxLabelForeground = ((PosControls.BrushSelectBox)(target));

            #line 89 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxLabelForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.colorSelectBoxDisabledLabelForeground = ((PosControls.BrushSelectBox)(target));

            #line 90 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledLabelForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.colorSelectBoxEnabledListItemForeground = ((PosControls.BrushSelectBox)(target));

            #line 91 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledListItemForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.colorSelectBoxDisabledListItemForeground = ((PosControls.BrushSelectBox)(target));

            #line 92 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledListItemForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.colorSelectBoxEnabledSelectedListItemForeground = ((PosControls.BrushSelectBox)(target));

            #line 93 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledSelectedListItemForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.colorSelectBoxDisabledSelectedListItemForeground = ((PosControls.BrushSelectBox)(target));

            #line 94 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedListItemForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.colorSelectBoxEnabledTabForeground = ((PosControls.BrushSelectBox)(target));

            #line 95 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledTabForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.colorSelectBoxDisabledTabForeground = ((PosControls.BrushSelectBox)(target));

            #line 96 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledTabForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.colorSelectBoxEnabledSelectedTabForeground = ((PosControls.BrushSelectBox)(target));

            #line 97 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledSelectedTabForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.colorSelectBoxDisabledSelectedTabForeground = ((PosControls.BrushSelectBox)(target));

            #line 98 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedTabForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.colorSelectBoxTextboxForeground = ((PosControls.BrushSelectBox)(target));

            #line 99 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxTextboxForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.colorSelectBoxDisabledTextboxForeground = ((PosControls.BrushSelectBox)(target));

            #line 100 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledTextboxForeground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.colorSelectBoxApplicationBackground = ((PosControls.BrushSelectBox)(target));

            #line 169 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxApplicationBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.colorSelectBoxButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 170 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.colorSelectBoxDisabledButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 171 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.colorSelectBoxSelectedButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 172 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxSelectedButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.colorSelectBoxDisabledSelectedButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 173 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.colorSelectBoxEnabledCheckBox = ((PosControls.BrushSelectBox)(target));

            #line 174 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledCheckBox.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.colorSelectBoxDisabledCheckBox = ((PosControls.BrushSelectBox)(target));

            #line 175 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledCheckBox.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.colorSelectBoxEnabledSelectedCheckBox = ((PosControls.BrushSelectBox)(target));

            #line 176 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledSelectedCheckBox.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.colorSelectBoxDisabledSelectedCheckBox = ((PosControls.BrushSelectBox)(target));

            #line 177 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedCheckBox.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.colorSelectBoxEnabledComboBoxBackground = ((PosControls.BrushSelectBox)(target));

            #line 178 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledComboBoxBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.colorSelectBoxDisabledComboBoxBackground = ((PosControls.BrushSelectBox)(target));

            #line 179 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledComboBoxBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.colorSelectBoxEnabledListItemBackground = ((PosControls.BrushSelectBox)(target));

            #line 180 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledListItemBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.colorSelectBoxDisabledListItemBackground = ((PosControls.BrushSelectBox)(target));

            #line 181 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledListItemBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.colorSelectBoxSelectedEnabledListItemBackground = ((PosControls.BrushSelectBox)(target));

            #line 182 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxSelectedEnabledListItemBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 39:
                this.colorSelectBoxSelectedDisabledListItemBackground = ((PosControls.BrushSelectBox)(target));

            #line 183 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxSelectedDisabledListItemBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.colorSelectBoxEnabledRadioButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 184 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledRadioButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.colorSelectBoxDisabledRadioButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 185 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledRadioButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.colorSelectBoxEnabledSelectedRadioButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 186 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledSelectedRadioButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.colorSelectBoxDisabledSelectedRadioButtonBackground = ((PosControls.BrushSelectBox)(target));

            #line 187 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedRadioButtonBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.colorSelectBoxEnabledTabBackground = ((PosControls.BrushSelectBox)(target));

            #line 188 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledTabBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 45:
                this.colorSelectBoxDisabledTabBackground = ((PosControls.BrushSelectBox)(target));

            #line 189 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledTabBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.colorSelectBoxEnabledSelectedTabBackground = ((PosControls.BrushSelectBox)(target));

            #line 190 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxEnabledSelectedTabBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 47:
                this.colorSelectBoxDisabledSelectedTabBackground = ((PosControls.BrushSelectBox)(target));

            #line 191 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledSelectedTabBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.colorSelectBoxTextboxBackground = ((PosControls.BrushSelectBox)(target));

            #line 192 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxTextboxBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.colorSelectBoxDisabledTextboxBackground = ((PosControls.BrushSelectBox)(target));

            #line 193 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxDisabledTextboxBackground.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.colorSelectBoxWindowTitleBar = ((PosControls.BrushSelectBox)(target));

            #line 194 "..\..\..\GeneralSettingsBrushSetupControl.xaml"
                this.colorSelectBoxWindowTitleBar.SelectedBrushChanged += new System.EventHandler(this.colorSelectBox_SelectedBrushChanged);

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