public RestoreProgramHandler(Archive archive, ALocationsHandler loc) : base(loc) { this._program_title = Strings.GetLabelString("IsRestoring", this._program_title.ToString()); this.archive = archive; }
public MainProgramHandler(ALocationsHandler loc) : base(loc) { string mode; if (AllUsersMode) { mode = Strings.GetSourceString("AllUsersMode"); } else { mode = Strings.GetSourceString("SingleUserMode"); } _program_title = Strings.GetLabelString("MASGAUWindowTitle", Core.version.ToString(), mode); }
public AProgramHandler(ALocationsHandler locations) : base() { if (!Core.Ready) return; if (Core.Mode >= Config.ConfigMode.Portable) _program_title = Strings.GetLabelString("PortableMode", _program_title); if (Core.locations == null) { Core.locations = locations; } worker.DoWork += new DoWorkEventHandler(doWork); worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(workCompleted); }
public BackupProgramHandler(ALocationsHandler loc) : base(loc) { worker.DoWork += new DoWorkEventHandler(BackupProgramHandler_DoWork); worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(BackupProgramHandler_RunWorkerCompleted); }
public BackupProgramHandler(GameEntry this_game, List <DetectedFile> only_these, string archive_name, ALocationsHandler loc) : this(loc) { back_these_up = new List <GameEntry>(); back_these_up.Add(this_game); if (only_these != null) { only_these_files = only_these; } archive_name_override = archive_name; }
public BackupProgramHandler(List <GameEntry> backup_list, ALocationsHandler loc) : this(loc) { back_these_up = backup_list; }