private void AddTrace(object sender, string messagetext)
 {
     AllMessages.AddTrace(messagetext);
 }
 public void AddTrace(string format, params object[] args)
 {
     AllMessages.AddTrace(string.Format(format, args));
 }