//属于命令CloseWindowCommand private void CloseWindow(object obj) { dataService.SignOut(); this._closeWindow.Invoke(); Utilities.Messenger.Default.Send <Messages.ShutDownMessage>(new Messages.ShutDownMessage()); }