Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UCParty = ((Emulate.views.usercontrols.usercontrolsAdmin.PartyUC)(target));
                return;

            case 2:
                this.LUCParty = ((Emulate.views.usercontrols.listusercontrols.ListPartyUserControl)(target));
                return;

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

            case 4:
                this.btnNew = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.btnDelete = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
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.UCListParty = ((Emulate.views.usercontrols.listusercontrols.ListPartyUserControl)(target));
                return;

            case 3:
                this.UCParty = ((Emulate.views.usercontrols.usercontrols.PartyUserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }