static void Main(string[] args)
 {
     Thepath = @"C:\Users\J\Desktop\TestingFolder\";
     string[] files = Directory.GetFiles(Thepath);
     TheFirstFile = files[0];
     ExcelEngine.CombineWorkBooks(Thepath, "*.xls", Thepath, false, TheFirstFile);
 }
 private void combineButton_Click(object sender, EventArgs e)
 {
     ExcelEngine.CombineWorkBooks(Thepath, "*.xls", Thepath, false, TheFirstFile);
 }