修复窗体输出弹幕跨线程引用报错的问题;

This commit is contained in:
Muihd
2024-05-16 19:49:56 +08:00
parent 4f58fc5e49
commit 09dcfc4281
+6 -6
View File
@@ -180,13 +180,13 @@ namespace BarrageGrab
this.rich_output.SelectionColor = color;
this.rich_output.AppendText(msg + "\n");
this.rich_output.ScrollToCaret();
}));
if (++printCount > 10000)
{
this.rich_output.Clear();
printCount = 0;
}
if (++printCount > 10000)
{
this.rich_output.Clear();
printCount = 0;
}
}));
}
private void cbx_enableProxy_CheckedChanged(object sender, EventArgs e)