System.Windows.Forms.MethodInvoker mi = new System.Windows.Forms.MethodInvoker(XlsExport); mi.BeginInvoke(null, null);