I am calling a form from a function present in a class. The function is in a 'for' loop. The form does some functionality and on click of a button on the form, the control should get back to the function from where the form was called. Please help me to do this.

you need to call the function on button click.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.