public void SendMessageToClientReturned(String senderName, String text) { try { clientForm.sHTML = text + clientForm.sHTML; clientForm.webBrowser1.Document.OpenNew(true); clientForm.webBrowser1.Document.Write(clientForm.sHead + clientForm.sHTML + clientForm.sBottom); clientForm.Opacity = 1; clientForm.menuItemClear.Enabled = true; if (clientForm.Visible == false) { clientForm.Visible = true; clientForm.Activate(); } NotifySound(); } catch { } }