I am creating a Waiting Dialog in C# that looks like this:

Code:
WaitingDialog wait = new WaitingDialog();
wait.Show();
//do heavy computation here
wait.Close();
My waiting dialog never fully shows. The dialog appears but the message in the window doesn't fully paint because the computation is taking up all the resources and never allows the window to show fully.

How do I get around this...