开发者

initialising view model at runtime

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜