WinForm线程问题

public Form1()

{
    InitializeComponent();

    CheckForIllegalCrossThreadCalls = false;
}

或者
public Form1()

{
    InitializeComponent();

    TextBox.CheckForIllegalCrossThreadCalls = false;
}

posted @ 2018-05-02 14:00  X_A_M  阅读(108)  评论(0)    收藏  举报