프로그래밍언어/VB.NET 138

멀티쓰레드 활용간 오류시 임시처방 CheckForIllegalCrossThreadCalls = False

스레드로 사용할 함수내에 다음과같이 입력함. CheckForIllegalCrossThreadCalls = False 예제 Imports System.Threading Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("This is the main thread") End Sub Private Sub ThreadTask() CheckForIllegalCrossThreadCalls = False D..