谁能帮我解决我的问题?
将变量声明为
public class SaveMypet
{
public ImageSource PetImage { get; set; }
}
在按钮上单击我的代码是
SaveMypet savepet = new SaveMypet();
savepet.PetImage = pet_image.Source;
将图像存储到类对象是否正确...??