C# 클래스 CefSharp.WinForms.Example.ControlExtensions

파일 보기 프로젝트 열기: Secbyte/CefSharp.Net40

공개 메소드들

메소드 설명
InvokeOnUiThreadIfRequired ( Control control, Action action ) : void

Executes the Action asynchronously on the UI thread, does not block execution on the calling thread. No action will be performed if the control doesn't have a valid handle or the control is Disposed/Disposing.

메소드 상세

InvokeOnUiThreadIfRequired() 공개 정적인 메소드

Executes the Action asynchronously on the UI thread, does not block execution on the calling thread. No action will be performed if the control doesn't have a valid handle or the control is Disposed/Disposing.
public static InvokeOnUiThreadIfRequired ( Control control, Action action ) : void
control Control the control for which the update is required
action Action action to be performed on the control
리턴 void