protected override void OnWindowCreated(WindowCreatedEventArgs args) { ViewModelLocator.AttachSharingService(); base.OnWindowCreated(args); }