How to reset form?

  • Thread starter Thread starter milan.letic
  • Start date Start date
M

milan.letic

What code to put in button click in order to reset all values on form
to values that appear when you run it for the first time?

It is search form with many criteria. I need something like clear all!

If it is not possible to reset it, is it possible to restart it?
 
What code to put in button click in order to reset all values on form
to values that appear when you run it for the first time?

Clear the form's 'Controls' collection and call its 'InitializeComponent'
method.
 
Back
Top