2
I am using a form in my application that needs to be loaded quickly, but when I close this form it always takes time to load, there is a way for me to close the form but it does not reload every time I open?
That way I close the form:
private void pbFechar_Click(object sender, EventArgs e)
{
this.Close();
}
This is not good, you would have to keep it in memory declaring a variable in the main form for example and instead of closing, hiding/ showing the same, imagine doing this with all the Foms of the application ?! There is certainly how to improve the loading of the form, but for this you have to show its code, mainly the constructor and the load event, and the functions that are executed within these
– Rovann Linhalis
Translate and read this: <a href="https://stackoverflow.com/questions/6885041/how-to-load-a-winforms-app-quickly"> Read </a> This will probably help you.
– Belarmino Vicenzo