辞書をリストボックスにバインドしようとすると、ArgumentException が発生します。新しい値メンバーにバインドできません。
次のコードを使用します。誰が何が間違っているのか教えてもらえますか。辞書に i 行を入力すると、正常に機能するため...
this.contactpersonenListBox = new Dictionary<int, string>();
lsContactpersonen.DataSource = new BindingSource(this.contactpersonenListBox, null);
lsContactpersonen.DisplayMember = "Value";
lsContactpersonen.ValueMember = "Key";