Implemented OnStatusMessage and event for WPF and WinForms.