コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ContactsCon = ((TouchFramework.ControlHandlers.Contacts.ContactsBox)(target));
                return;

            case 2:
                this.ContactslistBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.bt_close = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ContactsCon = ((TouchFramework.ControlHandlers.Contacts.ContactsBox)(target));
     return;
     case 2:
     this.ContactslistBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 3:
     this.bt_close = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }