public void Architect_Warning(IArchitect architect, ArchitectWarningEventArgs e) { textBox2.Dispatcher.BeginInvoke(new AddArchitectNoticeDelegate(AddArchitectMessage), System.Windows.Threading.DispatcherPriority.Send, e.message); }