修复窗体输出弹幕跨线程引用报错的问题;
This commit is contained in:
@@ -180,13 +180,13 @@ namespace BarrageGrab
|
|||||||
this.rich_output.SelectionColor = color;
|
this.rich_output.SelectionColor = color;
|
||||||
this.rich_output.AppendText(msg + "\n");
|
this.rich_output.AppendText(msg + "\n");
|
||||||
this.rich_output.ScrollToCaret();
|
this.rich_output.ScrollToCaret();
|
||||||
}));
|
|
||||||
|
|
||||||
if (++printCount > 10000)
|
if (++printCount > 10000)
|
||||||
{
|
{
|
||||||
this.rich_output.Clear();
|
this.rich_output.Clear();
|
||||||
printCount = 0;
|
printCount = 0;
|
||||||
}
|
}
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cbx_enableProxy_CheckedChanged(object sender, EventArgs e)
|
private void cbx_enableProxy_CheckedChanged(object sender, EventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user