for (int i = 0; i < Application.OpenForms.Count; ++i)
{
if (Application.OpenForms[i].GetType() == typeof(Form1))
{
Application.OpenForms[i].Text = "Hello.";
break;
}
}
should always refer to your first opened form, the applicaiton window. That will change the title to "Hello."
Good luck :)
-w00te