Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ActionIndicatorControl = ((ColorPicker2.ActionIndicator)(target));
                return;

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

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

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

            case 5:
                this.IconRect = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((ColorPicker2.HelpWindow)(target));

            #line 8 "..\..\HelpWindow.xaml"
                this.Window.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 8 "..\..\HelpWindow.xaml"
                this.Window.KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden

            #line 8 "..\..\HelpWindow.xaml"
                this.Window.Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 8 "..\..\HelpWindow.xaml"
                this.Window.Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.XKeyIndicator = ((ColorPicker2.ActionIndicator)(target));
                return;

            case 5:
                this.CKeyIndicator = ((ColorPicker2.ActionIndicator)(target));
                return;

            case 6:
                this.XKeyIndicator0 = ((ColorPicker2.ActionIndicator)(target));
                return;

            case 7:
                this.MouseIndicator = ((ColorPicker2.ActionIndicator)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.CloseGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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