Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.uc = ((CH10.UserControls.ColorPicker)(target));
         return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.picker = ((CH10.UserControls.ColorPicker)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.picker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.OnColorChanged);

            #line default
            #line hidden
                return;

            case 2:
                this._tbColor = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }