摘要:
子页面向父页面传值。子页面代码: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. 阅读全文