teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

修正

2018/03/14 13:47

投稿

Zuishin
Zuishin

スコア28675

answer CHANGED
@@ -15,6 +15,10 @@
15
15
  bindingSource1.DataSource = comboList;
16
16
  comboBox1.DataSource = bindingSource1;
17
17
  textBox1.DataBindings.Add("Text", bindingSource1, null);
18
+ textBox1.DataBindings["Text"].Format += (sender, args) =>
19
+ {
20
+ args.Value += "が選択中";
21
+ };
18
22
  }
19
23
 
20
24
  List<string> comboList = new List<string>()