private void VBACsEXWB_WBDocHostShowUIShowMessage(object sender, csExWB.DocHostShowUIShowMessageEventArgs e)
 {
     //To stop messageboxs
     e.handled = true;
     //Default
     e.result = (int)DialogResult.Cancel;
 }
 private void WebBrower_WBDocHostShowUIShowMessage(object sender, DocHostShowUIShowMessageEventArgs e)
 {
     //To stop messageboxs
     e.handled = true;
     //Default
     e.result = (int)DialogResult.Cancel;
     Logger.Log(string.Format("WBDocHostShowUIShowMessage,Caption:{0},Helpfile:{1},Text:{2},Type:{3}", e.caption, e.helpfile, e.text, e.type));
 }