private void FrmMain_Load(object sender, EventArgs e) { ResetFilePropertiesList(); ProcessorsHandler.PopulateProcessorsList(); SetDefaultPathForFileSearch(); FilesHandler.ListFilesInSelectedDir(); }
public FrmMain() { InitializeComponent(); Singleton = this; FilesHandler = new FilesHandler(this); ProcessorsHandler = new ProcessorsHandler(this); }
private void cbBrowse_Click(object sender, EventArgs e) { FolderBrowserDialog.Description = "Choose root of savegames folder"; FolderBrowserDialog.SelectedPath = tbSaveDir.Text; FolderBrowserDialog.ShowDialog(); tbSaveDir.Text = FolderBrowserDialog.SelectedPath; FrmMain.AddLogEntry($"cd '{tbSaveDir.Text}'"); int nbFilesFound = FilesHandler.ListFilesInSelectedDir(); FrmMain.AddLogEntry($" - Found {nbFilesFound} save files"); }
private void cbListFiles_Click(object sender, EventArgs e) { FilesHandler.ListFilesInSelectedDir(); }
private void cbLoadFiles_Click(object sender, EventArgs e) { FilesHandler.LoadSelectedFileParallel(); }