private void RefreshItems() { this.domainUpDown.Items.Clear(); foreach (string item in this.Items) this.domainUpDown.Items.Add(item); }