private void CheckRename(object state) { ThreadPriority oldprio = Thread.CurrentThread.Priority; Thread.CurrentThread.Priority = ThreadPriority.Lowest; RenameMgr.Do(); }
private void Rename_Click(object sender, EventArgs e) { string path = FolderPath.Text; string preffix = Preffix.Text; string suffix = Suffix.Text; RenameMgr renameMgr = new RenameMgr(); renameMgr.DirSearch(path, preffix, suffix); }