I am writing an application where I want to use a form as a message box that will be displayed while another form is loading. Since it takes several seconds for the form to load I want to tell the user what is going on. I am passing the message text to a method in the form called ShowMessage. The form will then be opened while the form is loading and closed aftger it is open.
The problem is that the text in the label on the form will not show. When the form opens, the space where the label is is transparent. If I open the form as a dialog the text shows as it's supposed to.
Thank you in advance for your help.
The problem is that the text in the label on the form will not show. When the form opens, the space where the label is is transparent. If I open the form as a dialog the text shows as it's supposed to.
Thank you in advance for your help.