The Basics
All view models should inherit from AgentOcal.WpfLib.
Property Setters can automatically invoke NotifyPropertyChanges by calling the SetValue function. "SetValue(ref _backingField, value);". SetValue will return "true" if the new value is different from the old value.
The Window Service
The WindowManagerService allows ViewModel classes to open other windows and dialogs.
To start the application the WindowManagerService, place code such as this in the application's startup event
ServiceManager.GetService<IWindowManagerService>() .DisplayWindowFor(new WindowVm());All ViewModels have access to the the service via the "WindowManager" property on the base class. Just pass it a ViewModel instance, it will infer the window type by taking the fully qualified namespace of the instance type and removing the "Vm" postfix. Custom mappings between ViewModels and Views can be registered on the service at startup.