public Form1()
{
    InitializeComponent();
    Thread t = new Thread(ThreadWorker);
    t.Start();
}

private void ThreadWorker(object obj)
{
    this.BeginInvoke((Action)(() =>
    {
        this.Text = "这是标题";
    }));
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2021-12-15
  • 2021-07-31
  • 2021-10-16
猜你喜欢
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
相关资源
相似解决方案