Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewModel = ((MVVMContacts.MainViewModel)(target));
                return;

            case 2:
                this.contactView = ((MVVMContacts.ContactView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.viewModel = ((MVVMContacts.MainViewModel)(target));
     return;
     case 2:
     this.contactView = ((MVVMContacts.ContactView)(target));
     return;
     }
     this._contentLoaded = true;
 }