In my c# winform app I have a button which when clicked, it performs some calculations which can tke some time.
I also have a label.visible = false
which I would like to label.visible = true
right after the button click so that the user can see the app working away.
The thing is even when label.visible = true
is the first thing in the button1_Click(object sender, EventArgs e)
method, it only toggles to visible at the very end, after the calculation is performed.
How can I show the label right after the button_click?