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

            #line 8 "..\..\..\OknoTaktyka.xaml"
                ((Football_Manager.OknoTaktyka)(target)).IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.gbDruzyna = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.Powrot = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\OknoTaktyka.xaml"
                this.Powrot.Click += new System.Windows.RoutedEventHandler(this.Powrot_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.cbFormacja = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\..\OknoTaktyka.xaml"
                this.cbFormacja.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFormacja_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.cbUstawienie = ((System.Windows.Controls.ComboBox)(target));

            #line 52 "..\..\..\OknoTaktyka.xaml"
                this.cbUstawienie.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbUstawienie_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.cbPressing = ((System.Windows.Controls.ComboBox)(target));

            #line 63 "..\..\..\OknoTaktyka.xaml"
                this.cbPressing.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbPressing_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\OknoTaktyka.xaml"
                this.cbAgresja.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAgresja_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\OknoTaktyka.xaml"
                this.cbKapitan.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbKapitan_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.cbStaleFragmentyGry = ((System.Windows.Controls.ComboBox)(target));

            #line 96 "..\..\..\OknoTaktyka.xaml"
                this.cbStaleFragmentyGry.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbStaleFragmentyGry_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 8 "..\..\..\OknoSklad.xaml"
                ((Football_Manager.OknoSklad)(target)).IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Powrot = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\..\OknoSklad.xaml"
                this.Powrot.Click += new System.Windows.RoutedEventHandler(this.Powrot_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.gbDruzyna = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 35 "..\..\..\OknoSklad.xaml"
                this.listaPilkarzy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listaPilkarzy_SelectionChanged);

            #line default
            #line hidden

            #line 35 "..\..\..\OknoSklad.xaml"
                this.listaPilkarzy.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listaPilkarzy_MouseDoubleClick);

            #line default
            #line hidden

            #line 35 "..\..\..\OknoSklad.xaml"
                this.listaPilkarzy.KeyDown += new System.Windows.Input.KeyEventHandler(this.listaPilkarzy_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.gbPilkarz = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 8:
                this.umiejetnosci = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.umBramkarskie = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 10:
                this.defensywa = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 11:
                this.rozgrywanie = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 12:
                this.skutecznosc = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 13:
                this.kondycja = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 14:
                this.przywodztwo = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 15:
                this.lPoziom = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lUmBramkarskie = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lDefensywa = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lRozgrywanie = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lStrzaly = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lKondycja = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lPrzywodztwo = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.boisko = ((Football_Manager.Boisko)(target));
                return;
            }
            this._contentLoaded = true;
        }