static void _Client_OnBoardInfoUpdated(object sender, StateEventArgs e) { Deployment.Current.Dispatcher.BeginInvoke(new Action(delegate { ViewModel.FromRussia = e.FromRussia; ViewModel.ToRussia = e.ToRussia; ViewModel.IsUpdating = false; })); }
private void RaiseOnStateUpdated(StateEventArgs args) { if (OnBoardInfoUpdated != null) { OnBoardInfoUpdated(this, args); } }