public void SetState(WmdcState state) { Deployment.Current.Dispatcher.BeginInvoke(delegate() { State = state; } ); }