public Form1() { InitializeComponent(); m_machineConfig = getMachineConfig(); m_machineConfig.GetClient(ref exePath, ref runLine, ref exeFlags); initializeGrids(); ArrayList menuItems = new ArrayList(); menuItems.Add(string.Empty); addLocalSims(ref menuItems); foreach (Grid grid in m_grids) { menuItems.Add(grid.Name + " - " + grid.URL); } comboBox1.DataSource = menuItems; }