小弟刚接触windows的应用程序编程,请问下面的代码怎么转换为windows应用程序下的,主要是windows应用程序里没有ListItemforeach(ListItem em in this.SendMSG_userlist.Items)
{
em.Selected = false;
} ListItem item = this.SendMSG_userlist.Items[this.SendMSG_userlist.SelectedIndex];
this.userlineList.Items.Add(item);
this.SendMSG_userlist.Items.RemoveAt(this.SendMSG_userlist.SelectedIndex);