usingSystem;
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Text;
usingSystem.Windows.Forms;
usingSystem.IO;
usingExcel;
usingSystem.Reflection;
namespacejiangbt
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
//文件夹设置
private void button1_Click(object sender, EventArgs e)
{
FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)
{
txtFolderPath.Text = folderBrowserDialog1.SelectedPath;
retrieveFolder();
}
folderBrowserDialog1.Dispose();
}
private void retrieveFolder()