private void FormLoad(object sender, EventArgs e) { string a = Environment.CurrentDirectory + "libcocos2d.dll"; a = "libcocos2d.dll"; mDll.Open(a); mDll.Invoke <MInitializeApplication, bool>(mEditorPanel.Handle.ToInt32()); UpdateUI(); }