/// <summary> /// When soldier information is shown, reset login UI. /// This is in separate message since UI is slacking a little... /// </summary> private void SoldierVisibleMessageReceived(SoldierVisibleMessage message) { ((App)Application.Current).RootFrame.Dispatcher.BeginInvoke(() => StatusInformation = string.Empty); ((App)Application.Current).RootFrame.Dispatcher.BeginInvoke(() => UserInterfaceEnabled = true); }