private void SetInfo(RichTextBox richTextBox,string msg)
{
richTextBox.Invoke(new EventHandler(delegate
{
richTextBox.Text += DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "->" + msg + "\r\n";
}));
}
Invoke Winform中的使用
最新推荐文章于 2023-09-26 16:41:03 发布