In WinForms, I created a form to display the version number of the application.
It only contains labels, and a timer to close it.
I have an hesitation about this.
If showed modal, it works very good; but of course, it delays the rest of the application, if I want to let time to read a description.
If showed not modal, it displays its background, and nothing else.
I am thinking about a way to stimulate the loading of the texts, without refraining the execution of the application.
The project targets .Net 6.0, is developed on Windows 11, and will be used on Windows 10.
The main part of the application is executed in command line mode.
To open the form:
frmVersion frm = new frmVersion();
// perhaps should I insert something here?
#if option1
frm.ShowDialog(); //works good; retains the application for a few seconds
#ELSE
frm.Show(); //let the following of the code be executed, but does not display the text.
#ENDIF