Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\base\ContentItemBase.xaml"
                ((System.Windows.Controls.Grid)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Grid_DataContextChanged_1);

            #line default
            #line hidden
                return;

            case 2:
                this.ItemBorder = ((System.Windows.Controls.Border)(target));

            #line 15 "..\..\..\base\ContentItemBase.xaml"
                this.ItemBorder.Loaded += new System.Windows.RoutedEventHandler(this.ItemBorder_Loaded_1);

            #line default
            #line hidden
                return;

            case 3:
                this.ItemLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.ItemTextValue = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\..\base\ContentItemBase.xaml"
                this.ItemTextValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);

            #line default
            #line hidden

            #line 29 "..\..\..\base\ContentItemBase.xaml"
                this.ItemTextValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);

            #line default
            #line hidden
                return;

            case 5:
                this.ItemBoolValue = ((System.Windows.Controls.CheckBox)(target));

            #line 37 "..\..\..\base\ContentItemBase.xaml"
                this.ItemBoolValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);

            #line default
            #line hidden

            #line 38 "..\..\..\base\ContentItemBase.xaml"
                this.ItemBoolValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);

            #line default
            #line hidden
                return;

            case 6:
                this.ItemVector3Value = ((TableContent.ItemVector3Control)(target));
                return;

            case 7:
                this.ItemEnmuValue = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\..\base\ContentItemBase.xaml"
                this.ItemEnmuValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);

            #line default
            #line hidden

            #line 50 "..\..\..\base\ContentItemBase.xaml"
                this.ItemEnmuValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);

            #line default
            #line hidden

            #line 51 "..\..\..\base\ContentItemBase.xaml"
                this.ItemEnmuValue.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ItemEnmuValue_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 8:
                this.ItemIDSingleValue = ((System.Windows.Controls.ComboBox)(target));

            #line 61 "..\..\..\base\ContentItemBase.xaml"
                this.ItemIDSingleValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);

            #line default
            #line hidden

            #line 62 "..\..\..\base\ContentItemBase.xaml"
                this.ItemIDSingleValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);

            #line default
            #line hidden

            #line 63 "..\..\..\base\ContentItemBase.xaml"
                this.ItemIDSingleValue.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ItemIDSingleValue_MouseRightButtonDown_1);

            #line default
            #line hidden
                return;

            case 9:
                this.ItemIDMultiValue = ((TableContent.MultiTableControl)(target));
                return;

            case 10:
                this.errorBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.errorText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\..\base\ContentItemBase.xaml"
     ((System.Windows.Controls.Grid)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Grid_DataContextChanged_1);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ItemBorder = ((System.Windows.Controls.Border)(target));
     
     #line 15 "..\..\..\base\ContentItemBase.xaml"
     this.ItemBorder.Loaded += new System.Windows.RoutedEventHandler(this.ItemBorder_Loaded_1);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ItemLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.ItemTextValue = ((System.Windows.Controls.TextBox)(target));
     
     #line 28 "..\..\..\base\ContentItemBase.xaml"
     this.ItemTextValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);
     
     #line default
     #line hidden
     
     #line 29 "..\..\..\base\ContentItemBase.xaml"
     this.ItemTextValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ItemBoolValue = ((System.Windows.Controls.CheckBox)(target));
     
     #line 37 "..\..\..\base\ContentItemBase.xaml"
     this.ItemBoolValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);
     
     #line default
     #line hidden
     
     #line 38 "..\..\..\base\ContentItemBase.xaml"
     this.ItemBoolValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ItemVector3Value = ((TableContent.ItemVector3Control)(target));
     return;
     case 7:
     this.ItemEnmuValue = ((System.Windows.Controls.ComboBox)(target));
     
     #line 49 "..\..\..\base\ContentItemBase.xaml"
     this.ItemEnmuValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);
     
     #line default
     #line hidden
     
     #line 50 "..\..\..\base\ContentItemBase.xaml"
     this.ItemEnmuValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);
     
     #line default
     #line hidden
     
     #line 51 "..\..\..\base\ContentItemBase.xaml"
     this.ItemEnmuValue.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ItemEnmuValue_SelectionChanged_1);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ItemIDSingleValue = ((System.Windows.Controls.ComboBox)(target));
     
     #line 61 "..\..\..\base\ContentItemBase.xaml"
     this.ItemIDSingleValue.GotFocus += new System.Windows.RoutedEventHandler(this.Item_GotFocus_1);
     
     #line default
     #line hidden
     
     #line 62 "..\..\..\base\ContentItemBase.xaml"
     this.ItemIDSingleValue.LostFocus += new System.Windows.RoutedEventHandler(this.Item_LostFocus_1);
     
     #line default
     #line hidden
     
     #line 63 "..\..\..\base\ContentItemBase.xaml"
     this.ItemIDSingleValue.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ItemIDSingleValue_MouseRightButtonDown_1);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ItemIDMultiValue = ((TableContent.MultiTableControl)(target));
     return;
     case 10:
     this.errorBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 11:
     this.errorText = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }