private void button3_Click(object sender, EventArgs e)
        {
            string[] path = { textBox2.Text, textBox2.Text, "/v" };

            if (textBox2.Text == string.Empty)
            {
                DialogResult dr = MessageBox.Show("请选择文件夹路径!", "错误!", MessageBoxButtons.OK, MessageBoxIcon.Question);
                if (dr == DialogResult.OK)
                {
                    textBox2.Text = string.Empty;
                    return;
                }
                return;
            }
            ExcelToTxt.RunConvertTool(path);
            DialogResult succeed = MessageBox.Show("Excel转换为.txt成功!" + textBox1.Text, "提示", MessageBoxButtons.OK, MessageBoxIcon.Question);

            if (succeed == DialogResult.OK)
            {
                textBox1.Text = string.Empty;
                return;
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            string[] path = { textBox1.Text, "ConvertResult", "/v" };
            string[] file = textBox1.Text.Split('.');
            Console.WriteLine("当前截取的片段--->{0}", file[file.Length - 1]);
            if (textBox1.Text == null || file[file.Length - 1] != "xlsx")
            {
                DialogResult dr = MessageBox.Show("请选择Excel文件", "错误!", MessageBoxButtons.OK, MessageBoxIcon.Question);
                if (dr == DialogResult.OK)
                {
                    textBox1.Text = string.Empty;
                    return;
                }
                return;
            }
            ExcelToTxt.RunConvertTool(path);
            DialogResult succeed = MessageBox.Show("Excel转换为.txt成功!" + textBox1.Text, "提示", MessageBoxButtons.OK, MessageBoxIcon.Question);

            if (succeed == DialogResult.OK)
            {
                textBox1.Text = string.Empty;
                return;
            }
        }