private void autoCompleteBox1_CandidateSelected(object sender, CandidateSelectedEventArgs e) { // 選択された候補の値をテキストに表示する candidateSelectedValueChanging = true; textBox3.Text = e.SelectedText; candidateSelectedValueChanging = false; }
private void CustomAutoCompleteBox_CandidateSelected(object sender, CandidateSelectedEventArgs item) { Console.WriteLine("CustomAutoCompleteBox_CandidateSelected"); }
private void metTextBox1_CandidateSelected(object sender, CandidateSelectedEventArgs e) { var row = (DataRow)e.SelectedItem; MessageBox.Show(row["Column2"].ToString()); }