示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.objCon = ((TouchFramework.ControlHandlers.Contacts.ContactsObject)(target));
                return;

            case 2:
                this.bt_contactsObj = ((System.Windows.Controls.Image)(target));
                return;

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

            case 4:
                this.TextName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.TextNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.img_send = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.bt_close = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.objCon = ((TouchFramework.ControlHandlers.Contacts.ContactsObject)(target));
     return;
     case 2:
     this.bt_contactsObj = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.bt_img = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.TextName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.TextNumber = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.img_send = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.bt_close = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }