adding "Plase Wait" form to child control

  • Thread starter Thread starter VMI
  • Start date Start date
V

VMI

How can I add a small "Please wait..." form to a child form so that when I
minimize the child form, the "Please Wait..." form will also disappear? This
form will be displayed when the child form is running a lengthy process or
when the child form is displayed. Once the child form finishes the process,
or it's minimized, the "wait" form will also disappear.

Thanks.
 
Why not add a progress bar to the child form? Also, you have a ref to the
wait form from the child (creator) form, so in the minimize event of child,
also minimize the wait form. A dialog for the wait would probably be
better with no min or max button on it with and using the Form.ShowDialog()
method in the child. Then just hide it as needed, etc. until you need to
close it.
 
Back
Top