protected virtual void OnChatSendEvent(ChatSendEventArgs e)
 {
     ChatSendEvent (this, e);
 }
 /// <summary>
 /// Sends message to server
 /// </summary>
 private void chatPanel_ChatSendEvent(object sender, ChatSendEventArgs e)
 {
     if (IsConnected)
         Connection.SendChatMessage (e.Content);
 }