ATML1671Translator.controls.ControlExtensions.UIThread C# (CSharp) 메소드

UIThread() 공개 정적인 메소드

public static UIThread ( this control, System.Action code ) : void
control this
code System.Action
리턴 void
        public static void UIThread(this Control control, Action code)
        {
            if (control.InvokeRequired)
            {
                control.BeginInvoke(code);
                return;
            }
            code.Invoke();
        }