コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }