1选品数据库及库存上传相关功能 2修复部分商品详情信息特殊符号导致无法上传问题
This commit is contained in:
1 parent
adf75f9fc1
commit
281cf2e338
38 files changed
+1496
-440
No files matched your search
@@ -26,7 +26,15 @@ namespace TemuKJD.KJDForms.BaseForms
|
||||
string title = string.IsNullOrEmpty(caption) ? "系统提示" : caption;
|
||||
BaseMsgForm msgBox = CreateMsgForm(msg, fl, title);
|
||||
msgBox.picTip.Image = global::TemuKJD.Properties.Resources.BaseMsgInfo;
|
||||
msgBox.ShowDialog();
|
||||
|
||||
if (MainForm.instance != null && MainForm.instance.InvokeRequired)
|
||||
MainForm.instance.Invoke(new Action(() =>
|
||||
{
|
||||
msgBox.ShowDialog();
|
||||
}));
|
||||
else
|
||||
msgBox.ShowDialog();
|
||||
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
@@ -48,7 +56,13 @@ namespace TemuKJD.KJDForms.BaseForms
|
||||
string title = string.IsNullOrEmpty(caption) ? "系统错误" : caption;
|
||||
BaseMsgForm msgBox = CreateMsgForm(msg, fl, title);
|
||||
msgBox.picTip.Image = global::TemuKJD.Properties.Resources.BaseMsgErr;
|
||||
msgBox.ShowDialog();
|
||||
if (MainForm.instance != null && MainForm.instance.InvokeRequired)
|
||||
MainForm.instance.Invoke(new Action(() =>
|
||||
{
|
||||
msgBox.ShowDialog();
|
||||
}));
|
||||
else
|
||||
msgBox.ShowDialog();
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
@@ -67,7 +81,13 @@ namespace TemuKJD.KJDForms.BaseForms
|
||||
{
|
||||
msgBox.Width = (int)FormLevel.LARGE;
|
||||
}
|
||||
msgBox.ShowDialog();
|
||||
if (MainForm.instance != null && MainForm.instance.InvokeRequired)
|
||||
MainForm.instance.Invoke(new Action(() =>
|
||||
{
|
||||
msgBox.ShowDialog();
|
||||
}));
|
||||
else
|
||||
msgBox.ShowDialog();
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user