日期:2014-05-17 浏览次数:20879 次
/// 自定义控件comobx的listitme /// </summary> public class ListItem { private string key; /// <summary> /// key 键 /// </summary> public string Key { get { return key; } set { key = value; } } private string value; public string Value { get { return this.value; } set { this.value = value; } } /// <summary> /// key键,value:值 /// </summary> /// <param name="mvalue">ValueMember</param> /// <param name="mkey">DisplayMember</param> public ListItem(string mvalue, string mkey) { this.Key = mkey; this.Value = mvalue; } }