private void bwExport_DoWork(object sender, DoWorkEventArgs e) { string kit_no = ((string[])e.Argument)[0]; string filename = ((string[])e.Argument)[1]; int option = int.Parse(((string[])e.Argument)[2]); // GGKUtilLib.exportKit(kit_no, filename, option); }