private void OnMouseCheckFileDetail(object sender, MouseButtonEventArgs e) { TextBlock tb = sender as TextBlock; List <TaskFileDetailInfo> list = new List <TaskFileDetailInfo>(); string str = tb.Tag.ToString(); NetInterface.GetPushFilesDetailInfo(Convert.ToUInt64(str), ref list); TransFromDetailInfoWid.Show(this, Convert.ToUInt64(str), list); }
//传输详情 private void OnMouseCheckFileDetail(object sender, MouseButtonEventArgs e) { TextBlock tb = sender as TextBlock; List <TaskFileDetailInfo> list = new List <TaskFileDetailInfo>(); string str = tb.Tag.ToString(); int retval = NetInterface.NetGetPushFilesDetailInfo(Convert.ToUInt64(str), ref list); if (retval < 0) { NotifyMessageEx.ShowNotify(Tool.MainWindow.This, "获取文件详情失败!", "错误"); return; } TransFromDetailInfoWid.Show(this, Convert.ToUInt64(str), list); }