void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ImageRadioButtonControl = ((ColorPicker2.ImageRadioButton)(target));

            #line 8 "..\..\ImageRadioButton.xaml"
                this.ImageRadioButtonControl.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageRadioButtonControl_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.MouseEnter_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.MouseLeave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

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

            case 5:
                this.ActiveBackRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.DeactivateRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.ActivateRect = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Close_Leave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 2:
                this.BackRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 68 "..\..\SettingWindow.xaml"
                this.DragRect.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragRect_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 5:
                this.CloseRect_Black = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.CloseBtn = ((System.Windows.Shapes.Rectangle)(target));

            #line 75 "..\..\SettingWindow.xaml"
                this.CloseBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CloseBtn_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.AutoCopyToggle = ((ColorPicker2.ToggleButton)(target));
                return;

            case 8:
                this.HideCopyToggle = ((ColorPicker2.ToggleButton)(target));
                return;

            case 9:
                this.HexRadioButton = ((ColorPicker2.ImageRadioButton)(target));
                return;

            case 10:
                this.RGBRadioButton = ((ColorPicker2.ImageRadioButton)(target));
                return;

            case 11:
                this.HSVRadioButton = ((ColorPicker2.ImageRadioButton)(target));
                return;

            case 12:
                this.HSLRadioButton = ((ColorPicker2.ImageRadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }