NetBlog主题

Dictionary绑定到ComboBox显示值,实际值
WinForm技巧

Dictionary绑定到ComboBox显示值,实际值

1970 0

private void TestAndSetForm_Load(object sender, EventArgs e){Dictionary<string, string> dic = new Dictionary<string, string>();BindingSource bs = new BindingSource();dic["广东省"] = "http://mk.gd.soa.csg.cn";dic["云南省…