Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ComboItems = ((System.Windows.Controls.ComboBox)(target));

            #line 26 "..\..\EditWindow.xaml"
                this.ComboItems.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboItems_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 27 "..\..\EditWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.ListItemsJedi = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.ListItemsStade = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.ListItemsMatch = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.ctrlJedi = ((JediTournamentWPF.CtrlJedi)(target));
                return;

            case 7:
                this.ctrlStade = ((JediTournamentWPF.CtrlStade)(target));
                return;

            case 8:
                this.ctrlMatch = ((JediTournamentWPF.CtrlMatch)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ComboItems = ((System.Windows.Controls.ComboBox)(target));
     
     #line 26 "..\..\EditWindow.xaml"
     this.ComboItems.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboItems_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 27 "..\..\EditWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ListItemsJedi = ((System.Windows.Controls.ListView)(target));
     return;
     case 4:
     this.ListItemsStade = ((System.Windows.Controls.ListView)(target));
     return;
     case 5:
     this.ListItemsMatch = ((System.Windows.Controls.ListView)(target));
     return;
     case 6:
     this.ctrlJedi = ((JediTournamentWPF.CtrlJedi)(target));
     return;
     case 7:
     this.ctrlStade = ((JediTournamentWPF.CtrlStade)(target));
     return;
     case 8:
     this.ctrlMatch = ((JediTournamentWPF.CtrlMatch)(target));
     return;
     }
     this._contentLoaded = true;
 }