public virtual void SetComboBoxSelectedIndex(ComboBox Object, Int32 Value) { if (this.InvokeRequired) { SetComboBoxSelectedIndexDelegate dele = new SetComboBoxSelectedIndexDelegate(SetComboBoxSelectedIndex2); this.Invoke(dele, new object[] { Object, Value }); } else { SetComboBoxSelectedIndex2(Object, Value); } }