void SendMyMessage() { _chatServiceClient.SendMessage(new MessageData() { NickName = _loginRegisterUser.GetCurrentUser(), Message = MessageText, MessageTime = DateTime.Now.ToString() }); }
public void LoadUser() { _currentUser = loginRegister.GetCurrentUser(); UserName = _currentUser.Login; AddImage(); }