Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmNewGame = ((Memory_Game.NewGame)(target));
                return;

            case 2:
                this.lblGrille = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.lblTheme = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblDebutePartie = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.cbxGrilleItem8x8 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.cbxGrilleItem9x9 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 22 "..\..\NewGame.xaml"
                this.cbxNbrJoueurs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxNbrJoueurs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.cbxNbrJoueurItem1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.cbxNbrJoueurItem2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.cbxTheme = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.cbxThemeItemFruits = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 14:
                this.cbxThemeItemVoitures = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 15:
                this.cbxDebutePartie = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.cbxDebutePartieItemJoueur1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 17:
                this.cbxDebutePartieItemJoueur2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 18:
                this.cbxDebutePartieItemOrdinateur = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.btnStart = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 22:
                this.txtbNomJoueur1 = ((System.Windows.Controls.TextBox)(target));

            #line 38 "..\..\NewGame.xaml"
                this.txtbNomJoueur1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtbNomJoueur1_TextChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.txtbNomJoueur2 = ((System.Windows.Controls.TextBox)(target));

            #line 39 "..\..\NewGame.xaml"
                this.txtbNomJoueur2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtbNomJoueur2_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.frmNewGame = ((Memory_Game.NewGame)(target));
     return;
     case 2:
     this.lblGrille = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.lblNbrJoueur = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.lblTheme = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.lblDebutePartie = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.cbxGrile = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.cbxGrilleItem8x8 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 8:
     this.cbxGrilleItem9x9 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 9:
     this.cbxNbrJoueurs = ((System.Windows.Controls.ComboBox)(target));
     
     #line 22 "..\..\NewGame.xaml"
     this.cbxNbrJoueurs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxNbrJoueurs_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.cbxNbrJoueurItem1 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 11:
     this.cbxNbrJoueurItem2 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 12:
     this.cbxTheme = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 13:
     this.cbxThemeItemFruits = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 14:
     this.cbxThemeItemVoitures = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 15:
     this.cbxDebutePartie = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 16:
     this.cbxDebutePartieItemJoueur1 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 17:
     this.cbxDebutePartieItemJoueur2 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 18:
     this.cbxDebutePartieItemOrdinateur = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 19:
     this.btnStart = ((System.Windows.Controls.Button)(target));
     return;
     case 20:
     this.lblNomJoueur1 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.lblNomJoueur2 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.txtbNomJoueur1 = ((System.Windows.Controls.TextBox)(target));
     
     #line 38 "..\..\NewGame.xaml"
     this.txtbNomJoueur1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtbNomJoueur1_TextChanged);
     
     #line default
     #line hidden
     return;
     case 23:
     this.txtbNomJoueur2 = ((System.Windows.Controls.TextBox)(target));
     
     #line 39 "..\..\NewGame.xaml"
     this.txtbNomJoueur2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtbNomJoueur2_TextChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }