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