摘要: 子页面向父页面传值。子页面代码:public delegate void DeleteSelected(string id); public event DeleteSelected DoDelete; private void image1_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { if (DoDelete != null) { Image img=sender as Image; DoDelete(img.Tag.ToString().Trim()); } }父页面代码:{GetTradeControl getT. 阅读全文
posted @ 2013-08-05 15:22 碧落京豪 阅读(175) 评论(0) 推荐(0) 编辑