看板 C_Sharp 關於我們 聯絡資訊
大家好 我在 windows form 中建立了一條 thread 可是原本的 UI thread 中有一段程式碼一定要先執行(下載一個檔案) 再從新的 thread 中開啟這個檔案 請問我要怎麼作才能夠保證這一段 critical section 按照我想要的順序執行 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.137.124.207
EricTsai:做完再建啊... 10/18 23:58
pyrochlore:檔案下載若是有類似download finished event 10/19 11:59
pyrochlore:可以把檔案開啟寫在event裡 10/19 12:00