« first day (2436 days earlier)      last day (1713 days later) » 

6:47 AM
Hi Good Morning Every one
Actually, I decided to write the initial structure for a WPFin MVVM. like Different Themes and Different languages and some other thing which is required when we are starting a project
so i wrote it
Now I know it's not the best so im looking for some suggestions
where it can be improved did I do any mistakes.
if u guys can take a look once that will so great thatnks
 
 
6 hours later…
12:22 PM
@AvinashReddy It looks pretty good. There's a couple of minor changes I might make. One of the key points we try to make is the the ViewModel shouldn't know about the View. This usually means abstracting the creation of windows and dialogs to a service, if they're used at all. I know we have quite a few single-window-app advocates here (And I'm not one of them)
I say all this, to point at the ShowDialogWindow method in MainWindowViewModel - We'd suggest you new up the dialog VM first, and then pass that to a service which handles creating a window (or dialog, or pushing the view to some other component which will display it) - usually, we'd also have the view class written into a DataTemplate keyed to the VM type. You can see this in action a bit in our ContextDrivenViews example
Though that example changes views in a single window, a similar concept applies.
 
1:03 PM
@Zarenor Thank you very much for that. i will check example you provided and make changes
 
 
3 hours later…
3:34 PM
morning all
 
Hey Bradley
 
 
2 hours later…
5:11 PM
hiya Bradley
 

« first day (2436 days earlier)      last day (1713 days later) »