C# Класс CefSharp.WinForms.Example.ControlExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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