Controlling the User Interface through Scripts 9. public partial class UIBuilderForm1 { 10. 11. public AceServer ace; 12. 13. private void UIBuilderForm1_Load(System.Object sender, System.EventArgs e) { 14. Trace.WriteLine("UIBuilderForm1.Load Event Handler"); 15. // Set the background color of the base form to red 16. this.BackColor = System.Drawing.Color.Red; 17. } 18. 19. } 20. } 4. On the UI Form designer toolbar, click the Compile and Run ( ) icon to preview the form. The form will load with a red background, as shown in the following figure. User Interface Form with Red Background ACE User's Guide, 3.6.x 18316-000 Rev A Page 1088