ai图片随机作为sku图或者主图上传商品
This commit is contained in:
1 parent
0d3ab6321e
commit
ec8736b8f9
31 files changed
+3169
-75
No files matched your search
@@ -98,9 +98,16 @@ namespace TemuKJD.ToolForms
|
||||
sfd.Filter = "JPeg Image|*.jpg;*.jpeg";
|
||||
sfd.Title = "保存图片";
|
||||
sfd.FileName = fileName;
|
||||
if ( sfd.ShowDialog() ==DialogResult.OK)
|
||||
if (sfd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
pictureBox1.Image.Save(sfd.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
try
|
||||
{
|
||||
pictureBox1.Image.Save(sfd.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user