I created a loadForm with only a progress bar with the marquee type. In my mainForm, I'm trying to do this:
loadingForm lf = new loadingForm();
lf.Show();
lf.Close();
A download file was displayed, but the progress bar did not appear, and the form looked as if it was a failure. after the download was complete, loadForm was closed and my application continued to work normally. In loadForm, I only have:
void loadingForm_Load(object sender, EventArgs e)
{
progressbar1.visible = true;
}
I already set the progressbar1 style to highlight in loadForm.design. How to fix it? Thanks for your help in advance.
source
share