begin<br> Application.Initialize;<br> if xx then<br> begin <br> Application.CreateForm(Tform1, form1);<br> end else<br> Application.CreateForm(Tform2, form2);<br> Application.Run;<br>end.