private void buttonAutoParts_Click(object sender, EventArgs e) { var result = _fb.ShowDialog(); if (result != DialogResult.OK) return; var pf = new PartsFinder(); textBoxParts.Text = pf.FindPartsString(_fb.SelectedPath); }
private void ButtonModFolderClick(object sender, EventArgs e) { var result = _fb.ShowDialog(); if (result != DialogResult.OK) return; var pf = new PartsFinder(); ModFolder = _fb.SelectedPath; progressBar.Value = 0; progressBar.Maximum = pf.FilesCount(ModFolder); pf.Progress += FileProgress; ModParts = pf.FindPartsString(ModFolder); textBoxParts.Text = ModParts; }