Beispiel #1
0
 private void FrmMain_Load(object sender, EventArgs e)
 {
     ResetFilePropertiesList();
     ProcessorsHandler.PopulateProcessorsList();
     SetDefaultPathForFileSearch();
     FilesHandler.ListFilesInSelectedDir();
 }
Beispiel #2
0
        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");
        }
Beispiel #3
0
 private void cbListFiles_Click(object sender, EventArgs e)
 {
     FilesHandler.ListFilesInSelectedDir();
 }