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

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

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

            case 4:
                this.UCListDonjon = ((Emulate.views.usercontrols.listusercontrols.ListDonjonUserControl)(target));
                return;

            case 5:
                this.UCPersonnage = ((Emulate.views.usercontrols.usercontrols.PersonnageUserControl)(target));
                return;

            case 6:
                this.UCListLootSac = ((Emulate.views.usercontrols.listusercontrols.ListItemsBagUserControl)(target));
                return;

            case 7:
                this.UCListPersonnage = ((Emulate.views.usercontrols.listusercontrols.ListPersonnageUserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.LUCChar = ((Emulate.views.usercontrols.listusercontrols.ListPersonnageUserControl)(target));
                return;

            case 4:
                this.UCChar = ((Emulate.views.usercontrols.usercontrolsAdmin.CharUC)(target));
                return;

            case 5:
                this.btnNouveau = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btnMettreAjour = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnSupprimer = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }