优化微信图片不能显示的问题
This commit is contained in:
1 parent
9e71c54414
commit
57e9190241
9 files changed
+126
-56
No files matched your search
@@ -35,7 +35,13 @@ namespace TemuKJD.KJDForms.ProductSelectForms
|
||||
txtProductName.Text = dbProd.product_name;
|
||||
txtSkcId.Text = dbProd.skc_id;
|
||||
txtSpuId.Text = dbProd.spu_id;
|
||||
this.pictureBox1.ImageLocation = dbProd.main_img.Replace("https", "http");
|
||||
if (dbProd.main_img.Contains("wxapp"))
|
||||
{
|
||||
string getImgError = "";
|
||||
this.pictureBox1.Image = ImageBuild.LoadBitmapLoadBitmipImageFromUrl(dbProd.main_img, out getImgError);
|
||||
}
|
||||
else
|
||||
this.pictureBox1.ImageLocation = dbProd.main_img.Replace("https", "http");
|
||||
this.txtNotes.Text = dbProd.notes;
|
||||
this.txtGroup.Text = dbProd.group;
|
||||
this.txtExtCode.Text = dbProd.ext_code;
|
||||
|
||||
Reference in new issue
Block a user