public void HTMLWindow_Create(string ID) { if (this.label_target_name.InvokeRequired) { HTMLWindow_Create_Callback d = new HTMLWindow_Create_Callback(HTMLWindow_Create); label_target_name.Invoke(d, new object[] { ID }); return; } ScriptWindows.Add(ID, new ScriptWindow_HTML()); }