I'm building a winform in C# with various elements in a panel that start out either invisible, disabled, or set to null (labels, combo boxes, grids, etc.). As the user goes through and makes choices, these elements are populated, selected, etc.
The idea is to upload files, read them, and process entries to a database. Once the processing for this directory has completed, I'd like to be able to have the user select another directory without exiting and restarting the winform app, by pressing a button that becomes visible when the process has completed.
Is there an easy call to reset the application (or the panel that contains the elements), similar to when a webform is refreshed, or do I have to write a function that "resets" all of those elements one at a time?
EDIT: As the result of a development meeting, my project has changed direction. I thank the two of you who helped with answers, and am going to close the question.