0
我厌倦了在DragDrop中将产品投入到产品中,产品类型是EntityFrameWork类型,请帮助我应该怎么做? 我的代码看起来像:无法投入“System.Windows.DataObject”类型的对象来键入“产品”
void IDroppingTarget.Drop(GAMA.gpf.Utils.DragDrop.IDropInformation dropInfo)
{
// ...
Product t = (Product)dropInfo.Data; // Data is containign the product that
// draged from the sourcecollection
// ...
}
}