private void DelegATE(int f) { ComboBox_kv.Items.Clear(); dbCon.eventDysplay2 += delegate(string[] a) { for (int i = 0; i < f; i++) { if (Array.IndexOf(a, i.ToString()) < 0) { ComboBox_kv.Items.Add(i.ToString()); } } }; dbCon.Display("SELECT number_f FROM flat"); }