예제 #1
0
 public UpdateBlockBotsRes()
 {
     UpdateProgress = new UpdateFileProgress
     {
         TotalSectionCount = 1
     };
 }
예제 #2
0
        public UpdateThumbs(string[] thumbConfigFiles)
        {
            mConfigFiles = thumbConfigFiles;

            UpdateProgress = new UpdateFileProgress
            {
                TotalSectionCount = mConfigFiles.Length
            };
        }
예제 #3
0
        public UpdateModelRes(string modelResConfigFile, bool isSku)
        {
            this.mIsSukMode = isSku;
            mConfigFiles    = new[] { modelResConfigFile };

            UpdateProgress = new UpdateFileProgress
            {
                TotalSectionCount = mConfigFiles.Length
            };
        }
예제 #4
0
 public frmBackup()
 {
     log.Info("Entry");
     InitializeComponent();
     //this.conf = new ConfigManager(conf);
     this.conf  = ConfigManager.GetInstance();
     this.Text += String.Format(" {0} -> {1}\\{2}.zip", this.conf.BackupSettings.source,
                                this.conf.BackupSettings.destination, Helper.Placeholder.replace(this.conf.BackupSettings.schema, this.conf.BackupSettings.source));
     updateFileProgress = UpdateProgress;
     updateStatusCount  = UpdatelblStatusCount;
     updateFile         = UpdatelblActualFile;
     updateTextBox      = UpdatetbHistory;
     log.Info("Exit");
 }