1
在C#.NET Windows應用程序(的WinForms)我複選框的可見性設置爲false:線程:設置複選框的知名度
checkBoxLaunch.Visible = true;
我開始一個線程。
Thread th = new Thread(new ThreadStart(PerformAction));
th.IsBackground = true;
th.Start();
的線程執行一些東西,並設置能見度爲true:線程完成其任務
private void PerformAction()
{
/*
.
.// some actions.
*/
checkBoxLaunch.Visible = true;
}
後,該複選框對我來說並不可見。
我錯過了什麼?
「...我將複選框的可見性設置爲false:」...但是您的錯誤讀取像真^^ – tanascius 2010-03-24 10:17:23