public UpdateBlockBotsRes()
 {
     UpdateProgress = new UpdateFileProgress
     {
         TotalSectionCount = 1
     };
 }
        public UpdateThumbs(string[] thumbConfigFiles)
        {
            mConfigFiles = thumbConfigFiles;

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

            UpdateProgress = new UpdateFileProgress
            {
                TotalSectionCount = mConfigFiles.Length
            };
        }
Example #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");
 }