摘要: private void Button1_Click(object sender, RoutedEventArgs e) { var curItem = ((ListBoxItem)lvQueue.ContainerFromElement((Button)sender)).Content; DataRowView drv = curItem as DataRowView; MessageBox.Show(drv[0].ToString()); } 阅读全文
posted @ 2011-09-20 22:35 dinid 阅读(2791) 评论(0) 推荐(1) 编辑