资源简介

因为是windows服务 所以最后要手动安装一下这个服务程序,在cmd窗口输入命令:InstallUnit BackupFileService.exe。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using FX.CADA.Common;
using System.Threading;
using System.Diagnostics;
using BackupFileConfig;
using System.ServiceProcess;

namespace BackupFile
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void btnCompleteConfig_Click(object sender EventArgs e)
        {
            if (!ValidateInput())
            {
                return;
            }
            //先保存界面上输入的配置参数
            ParameterConfig config = new ParameterConfig();
            config.ExcuteTime = Convert.

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4144  2013-11-05 16:21  自动备份服务工具\BackupFile\BackupFile\BackupFile.csproj

     文件         42  2013-11-04 16:48  自动备份服务工具\BackupFile\BackupFile\bin\Debug\backupDb.bat

     文件      22528  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\bin\Debug\BackupFile.exe

     文件      50688  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\bin\Debug\BackupFile.pdb

     文件      22984  2013-11-12 14:29  自动备份服务工具\BackupFile\BackupFile\bin\Debug\BackupFile.vshost.exe

     文件        490  2012-06-06 02:06  自动备份服务工具\BackupFile\BackupFile\bin\Debug\BackupFile.vshost.exe.manifest

     文件       8704  2013-11-12 12:36  自动备份服务工具\BackupFile\BackupFile\bin\Debug\BackupFileConfig.dll

     文件      19968  2013-11-12 12:36  自动备份服务工具\BackupFile\BackupFile\bin\Debug\BackupFileConfig.pdb

     文件        551  2013-11-08 17:51  自动备份服务工具\BackupFile\BackupFile\bin\Debug\ParameterConfig.xml

     文件      19286  2013-11-01 18:50  自动备份服务工具\BackupFile\BackupFile\bin\Debug\sqlnet.log

     文件       1953  2013-11-01 15:07  自动备份服务工具\BackupFile\BackupFile\Common\Connect.cs

     文件       4377  2013-11-02 14:34  自动备份服务工具\BackupFile\BackupFile\Common\CopyDirectoryHelper.cs

     文件       1313  2013-11-04 16:54  自动备份服务工具\BackupFile\BackupFile\Common\ExcuteProcess.cs

     文件       7521  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\FormBackup.cs

     文件      22116  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\FormBackup.Designer.cs

     文件       5817  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\FormBackup.resx

     文件       2191  2013-11-12 14:29  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.csproj.FileListAbsolute.txt

     文件        980  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.csproj.GenerateResource.Cache

     文件      12280  2013-11-12 12:36  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.csprojResolveAssemblyReference.cache

     文件      22528  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.exe

     文件        180  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.Form1.resources

     文件      50688  2013-11-12 15:07  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.pdb

     文件        180  2013-11-12 12:36  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\BackupFile.Properties.Resources.resources

     文件       2855  2013-11-12 12:37  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7297  2013-11-12 12:36  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        242  2013-11-08 09:27  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        584  2013-11-08 09:27  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\GenerateResource.write.1.tlog

     文件      10641  2013-11-08 09:27  自动备份服务工具\BackupFile\BackupFile\obj\x86\Debug\ResolveAssemblyReference.cache

     文件        792  2013-11-04 11:38  自动备份服务工具\BackupFile\BackupFile\Program.cs

     文件       1376  2013-11-01 14:35  自动备份服务工具\BackupFile\BackupFile\Properties\AssemblyInfo.cs

............此处省略89个文件信息

评论

共有 条评论