private void btnDown_Click(object sender, EventArgs e)
        {
            Bestway.Windows.Forms.ProgressBarDialog prog = new Bestway.Windows.Forms.ProgressBarDialog();
            try
            {
                if (NewFormMain.LoadBox(Global.Params.BoxIP))
                {
                    ftp.FindFtpFileList("");
                    int i = 0;
                    foreach (FtpFileInfo info in ftp.lstftpfile)
                    {
                        prog.Show(Bestway.Windows.Forms.EnumDisplayType.Custom, "正在备份文件:" + info.FileName);
                        i++;
                        ftp.Download(info.FileFullName, Global.Params.FILE_PATH_BOXCONFIG); //"F:\\xiazai");
                    }
                    string mes = "硬件配置备份成功\r\n";
                    DbOper dboper = new DbOper();
                    prog.Show(Bestway.Windows.Forms.EnumDisplayType.Custom, "正在备份数据库...");
                    if (dboper.DbBackup(Global.Params.FILE_PATH_BOXCONFIG_DB))
                    {
                        mes += "数据库备份成功";
                    }
                    else
                    {
                        mes += "数据库备份失败!" +dboper.errorMes;
                    }
                    prog.Hide();
                    CommControl.MessageBoxEx.MessageBoxEx.Show(mes, "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }

            }
            catch(Exception ex)
            {
                CommControl.MessageBoxEx.MessageBoxEx.Show(ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            finally
            {
                prog.Dispose();
            }
        }