Exemple #1
0
 public virtual void SetComboBoxSelectedItem(ComboBox Object, Object Value)
 {
     if (this.InvokeRequired)
     {
         SetComboBoxSelectedItemDelegate dele = new SetComboBoxSelectedItemDelegate(SetComboBoxSelectedItem2);
         this.Invoke(dele, new object[] { Object, Value });
     }
     else
     {
         SetComboBoxSelectedItem2(Object, Value);
     }
 }
Exemple #2
0
 public virtual void SetComboBoxSelectedItem(ComboBox Object, Object Value)
 {
     if (this.InvokeRequired)
     {
         SetComboBoxSelectedItemDelegate dele = new SetComboBoxSelectedItemDelegate(SetComboBoxSelectedItem2);
         this.Invoke(dele, new object[] { Object, Value });
     }
     else
     {
         SetComboBoxSelectedItem2(Object, Value);
     }
 }