I am developing a program in C# Visual Studio and I have a form that is created when a button is clicked on another form. This new form comes up and immediately, a function is called and executed from the load function. After the function is done, the form is closed. I have a 'Cancel' button on the form so the user can have the option cancel the function, but the button can't be clicked while the form is visible. How can I fix this problem?
Can't click button on form during function call in C#
Collapse
X
Comment