void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ItemAttrPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.ItemCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.typePanel = ((TableConstruct.TypePanel)(target));
                return;

            case 5:
                this.ItemDefault = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.ItemRepeat = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ItemAttrPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.ItemCode = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.typePanel = ((TableConstruct.TypePanel)(target));
     return;
     case 5:
     this.ItemDefault = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.ItemRepeat = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_NewInfo);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Save);

            #line default
            #line hidden
                return;

            case 3:

            #line 14 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_NewItem);

            #line default
            #line hidden
                return;

            case 4:
                this.InfoList = ((System.Windows.Controls.ListBox)(target));

            #line 18 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
                this.InfoList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.EnumList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:

            #line 27 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Remove);

            #line default
            #line hidden
                return;

            case 6:

            #line 28 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Rename);

            #line default
            #line hidden
                return;

            case 7:
                this.TabContent = ((UITemplate.Controls.TabContentFrame)(target));
                return;

            case 8:
                this.ItemAttrPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.ItemName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.ItemCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.typePanel = ((TableConstruct.TypePanel)(target));
                return;

            case 12:
                this.ItemDefault = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ItemRepeat = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_NewInfo);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 13 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Save);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 14 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_NewItem);
     
     #line default
     #line hidden
     return;
     case 4:
     this.InfoList = ((System.Windows.Controls.ListBox)(target));
     
     #line 18 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
     this.InfoList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.EnumList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 27 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Remove);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 28 "..\..\..\..\InnerStruct\Pages\InnerStructInfos.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Rename);
     
     #line default
     #line hidden
     return;
     case 7:
     this.TabContent = ((UITemplate.Controls.TabContentFrame)(target));
     return;
     case 8:
     this.ItemAttrPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.ItemName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.ItemCode = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.typePanel = ((TableConstruct.TypePanel)(target));
     return;
     case 12:
     this.ItemDefault = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.ItemRepeat = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }