コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pickerPane = ((Epxoxy.Controls.ColorPickerPane)(target));
                return;

            case 2:

            #line 24 "..\..\..\..\Controls\Dialog\ColorPickerContentDialog.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.BasicModeCheck);

            #line default
            #line hidden
                return;

            case 3:

            #line 26 "..\..\..\..\Controls\Dialog\ColorPickerContentDialog.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.CustomModeCheck);

            #line default
            #line hidden
                return;

            case 4:

            #line 29 "..\..\..\..\Controls\Dialog\ColorPickerContentDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 28 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDownDragMove);

            #line default
            #line hidden
                return;

            case 2:

            #line 35 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDownDragMove);

            #line default
            #line hidden
                return;

            case 3:
                this.pickerPane = ((Epxoxy.Controls.ColorPickerPane)(target));
                return;

            case 4:

            #line 43 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.BasicModeCheck);

            #line default
            #line hidden
                return;

            case 5:

            #line 45 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.CustomModeCheck);

            #line default
            #line hidden
                return;

            case 6:
                this.ClearBtn = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                this.ClearBtn.Click += new System.Windows.RoutedEventHandler(this.ClearBtn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.OKBtn = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                this.OKBtn.Click += new System.Windows.RoutedEventHandler(this.OKBtnClick);

            #line default
            #line hidden
                return;

            case 8:
                this.CalcelBtn = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\..\..\Controls\Dialog\ColorPickerDialog.xaml"
                this.CalcelBtn.Click += new System.Windows.RoutedEventHandler(this.CancelBtnClick);

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