private void CreateLights() { Lights = new TrafficLight[2]; for (int i = 0; i < Lights.Length; i++) { Lights[i] = new TrafficLight(this); Lights[i].BringToFront(); } Lights[0].setColour("Red"); Lights[1].setColour("Green"); Lights[0].Rotate(); Lights[0].Location = new Point(Roads[1].Location.X - Lights[0].Width - 20, Roads[0].Location.Y - Lights[0].Height - 20); Lights[1].Location = new Point(Roads[1].Location.X - Lights[0].Width - 20, Roads[0].Location.Y + Roads[0].Height + 20); ActiveLight = 1; }