I'm working with silverlight 4 and I use MVVM design. I have created a b开发者_如何学Pythonusiness silverlight application and I want to change view model informations while authentifying I mean when a user is authentified the model view bring this user's informations from a database. I tried to do that using events but I couldn't can anyone help me?
You can just call wcf methods in viewmodel. in completed handler init your necessary fields
MVVMLight has a Messenger class, try that.
精彩评论