Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.IconButtonControl = ((ColorPicker2.IconButton)(target));

            #line 8 "..\..\IconButton.xaml"
                this.IconButtonControl.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.IconButtonControl_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

            case 6:
                this.IconRect = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((ColorPicker2.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.Main.Loaded += new System.Windows.RoutedEventHandler(this.Main_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.Main.KeyDown += new System.Windows.Input.KeyEventHandler(this.Main_KeyDown);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.Main.Activated += new System.EventHandler(this.Main_Activated);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.Main.Deactivated += new System.EventHandler(this.Main_Deactivated);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.Option_Close_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.Activated_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.Option_Over_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 7:
                this.Option_Leave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 8:
                this.Close_Leave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 9:
                this.InfoButton = ((ColorPicker2.IconButton)(target));
                return;

            case 10:
                this.HelpButton = ((ColorPicker2.IconButton)(target));
                return;

            case 11:
                this.SettingButton = ((ColorPicker2.IconButton)(target));
                return;

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

            case 13:
                this.Tag_White = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.Tag_Black = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 18:
                this.CopyShadow = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 19:
                this.CopyWhite = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 20:
                this.Copy = ((System.Windows.Shapes.Rectangle)(target));

            #line 762 "..\..\MainWindow.xaml"
                this.Copy.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Copy_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 21:
                this.Copied = ((System.Windows.Shapes.Rectangle)(target));

            #line 767 "..\..\MainWindow.xaml"
                this.Copied.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Copy_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            case 24:
                this.CloseRect_White = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 27:
                this.OptionRect_Back = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 28:
                this.OptionRect_White = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 29:
                this.OptionRect_Black = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 30:
                this.OptionBtn = ((System.Windows.Shapes.Rectangle)(target));

            #line 832 "..\..\MainWindow.xaml"
                this.OptionBtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OptionBtn_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.InitializeColorRect = ((System.Windows.Shapes.Rectangle)(target));

            #line 833 "..\..\MainWindow.xaml"
                this.InitializeColorRect.Loaded += new System.Windows.RoutedEventHandler(this.InitializeColorRect_Loaded);

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