There is a listbox that contains images, and canvas as a drag box, explain to me how to add drag and drop for images to place them on the canvas and make one image of them at the touch of a button. program window Fill listbox:

CClothContext db = new CClothContext(); var ClList = db.Clothe.ToList(); foreach (var num in ClList) { Image img = new Image(); img.Source = byteArrayToImage(num.Cloth_img).Source; ClothList.Items.Add(img); } 
  • This is a difficult task. Look here: stackoverflow.com/q/591337/10105. You have a lot of work, congratulations. - VladD
  • And there is no way without mvvm? - alexander
  • Yes, but without MVVM more difficult. - VladD
  • Just no more time to transfer the entire application to mvvm - alexander
  • Well, without experience, to complete this task quickly still will not work. So if there is really no time, run away from this task. - VladD

0