订单功能服务端新增 商品编辑功能优化等
This commit is contained in:
1 parent
33eafd6781
commit
f2534535f7
22 files changed
+911
-98
No files matched your search
@@ -17,12 +17,10 @@ namespace TemuKJD.ToolForms
|
||||
string currentImgUrl = null;
|
||||
Dictionary<string, string> imgDic = new Dictionary<string, string>();
|
||||
|
||||
public ShowImgForm(string picUrl, Dictionary<string, string> picDic = null)
|
||||
public ShowImgForm(string picUrl)
|
||||
{
|
||||
InitializeComponent();
|
||||
currentImgUrl = picUrl;
|
||||
if (picDic != null)
|
||||
imgDic = picDic;
|
||||
|
||||
if (!string.IsNullOrEmpty(currentImgUrl))
|
||||
{
|
||||
@@ -37,6 +35,20 @@ namespace TemuKJD.ToolForms
|
||||
}
|
||||
}
|
||||
|
||||
public ShowImgForm(string picUrl, Dictionary<string, string> picDic)
|
||||
{
|
||||
InitializeComponent();
|
||||
currentImgUrl = picUrl;
|
||||
if (picDic != null)
|
||||
imgDic = picDic;
|
||||
|
||||
if (!string.IsNullOrEmpty(currentImgUrl))
|
||||
{
|
||||
if (picDic != null)
|
||||
this.pictureBox1.ImageLocation = currentImgUrl.Replace("https", "http");
|
||||
}
|
||||
}
|
||||
|
||||
public ShowImgForm(Image img)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Reference in new issue
Block a user