void Instance_OnTexOutput(object sender, TexCompiler.CompileEventArgs e) { //this.BeginInvoke(new InvokeDelegate(() => //{ txtTexOutput.AppendText(e.Message + Environment.NewLine); //})); }
void Instance_OnCompileEvent(object sender, TexCompiler.CompileEventArgs e) { AddStatusLine(e.Message, e.Type == TexCompiler.CompileEventType.Error); if (e.Type == TexCompiler.CompileEventType.Start) { txtTexOutput.Clear(); } }