Пример #1
0
 /// <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);
 }
 /// <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);
 }