private void Error(string msg, Exception exc = null)
 {
     //added 2018-03-28 to protect against crash
     msg += " | Type=" + typeof(TControl).ToString();
     CKernelTerminal.ErrorStatic(msg, exc);
 }
 public void Error(string msg, Exception e = null)
 {
     CKernelTerminal.ErrorStatic(msg, e);
     //_alarmer.Error(msg, e);
 }