public void WorkDone()
{
Dispatcher.Invoke(new Action(delegate()
{
UserViewModel usr = new UserViewModel() { UserName = this.UserName, Password = this.Password };
ChangeView(this, new ActionsEventArgs(Actions.Statuses, usr));
}), System.Windows.Threading.DispatcherPriority.Normal);
}