5
System.Windows.Forms.Application.Run()
다른 스레드에서 호출하여 발급 된 메시지 루프를 완전히 종료하는 방법이 있습니까?C# - 종료 Application.Run()
Thread messageLoop = new Thread(() => Application.Run());
messageLoop.SetApartmentState(ApartmentState.STA);
messageLoop.Start();
//How to terminate thread like on Application.ExitThread() without calling Thread.Abort()?
미리 감사드립니다.
이길 때까지 1 초! ;-) –
Hehe, 예제 코드를 테스트하는 데 1 초 이상 걸렸습니다. –
험프, 테스트 schmesting! –