public frmServices2(frmServices.ServicesUIText uiText, RegistryKey key) { InitializeComponent(); this.serviceText = uiText; serviceRegKey = key; this.Text = uiText.ConfigText; this.labelServiceList.Text = uiText.MyServicesText; this.lblAddService.Text = uiText.AddServiceText; this.lblExample.Text = uiText.ExampleText; // Add all of the existing service hosts - lower case (case insensitive) string[] serviceHosts = serviceRegKey.GetValueNames(); currentServices = new ArrayList(); foreach (string host in serviceHosts) { string lowerHost = host.ToLower(); currentServices.Add(lowerHost); listBoxServices.Items.Add(lowerHost); } }