private void TextSet(string str) { if (this.InvokeRequired) { TextSetCallback d = new TextSetCallback(TextSet); this.Invoke(d, new object[] { str }); } else { textBox3.Text = str; } }
private void ComboSet(string str) { if (this.InvokeRequired) { TextSetCallback d = new TextSetCallback(ComboSet); this.Invoke(d, new object[] { str }); } else { comboBox1.SelectedItem = str; } }