InvokeEvent: Invoke or BeginInvoke cannot be called on a control until the window handle has been created
<pre><code>private void manager_OnWebSiteVisited(object source, WebSiteVisitedEventArgs args)
        {
            if (InvokeRequired)
                txtStatus.BeginInvoke(new WebSiteVisitedCallback(WebSiteVisited), new object[] { args });
            else
                txtStatus.Invoke(new WebSiteVisitedCallback(WebSiteVisited), new object[] { args });
        }
</code></pre>

<p>InvokeEvent: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.</p>

<p>i can use if (IsHandleCreated) but i do not know what to do if is not created. How to create it?</p>
