Pocket PC Windows App
I have a question related to the execution of CF .NET Win App code.
private void Form1_Load(object sender, System.EventArgs e)
{
label1.Text = "Waiting for connection...";
Connect(); // uninportant implementation
label1.Text = "Done.";
}
Connect() function is running in circle, until it doesn't get a connection. This could be from 5 seconds, till 5 hours. The problem(?) is, that until the function Connect() is running, my PDA is showing me the "loading circle".
How could I refresh the window, so that there would be a msg "Waiting for connection...", before the function Connect() would start.
Thanks in advance.

