void sWorkerDZBS_DoWork1(object sender, DoWorkEventArgs e) { string p_path = e.Argument as string; //保存当前项目 //先保存当前在Copy一份数据 _Export ex = new _Export(this.Current); //根据导出类型初始化选择 switch (p_OutType) { case "TBS": ex.ExportTBS(p_path); break; case "ZBS": ex.ExportZBS(p_path); break; case "BD": ex.ExportBD(p_path); break; default: break; } }
internal static _Export Export() { if (_ExportFunc == null) { _ExportFunc = (_Export)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnBanList_export"), typeof(_Export)); } return(_ExportFunc); }
internal static _Export Export() { if (_ExportFunc == null) { _ExportFunc = (_Export)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnBanList_export"), typeof(_Export)); } return(_ExportFunc); }