diff --git a/TEMUKJD/BLL/ShopBLL.cs b/TEMUKJD/BLL/ShopBLL.cs
index 57be754..8dc1127 100644
--- a/TEMUKJD/BLL/ShopBLL.cs
+++ b/TEMUKJD/BLL/ShopBLL.cs
@@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.BLL
diff --git a/TEMUKJD/KJDForms/BaseForms/BaseForm.Designer.cs b/TEMUKJD/BaseForms/BaseForm.Designer.cs
similarity index 97%
rename from TEMUKJD/KJDForms/BaseForms/BaseForm.Designer.cs
rename to TEMUKJD/BaseForms/BaseForm.Designer.cs
index e4b3fbf..18bf747 100644
--- a/TEMUKJD/KJDForms/BaseForms/BaseForm.Designer.cs
+++ b/TEMUKJD/BaseForms/BaseForm.Designer.cs
@@ -1,5 +1,5 @@
-namespace TemuKJD.KJDForms.BaseForms
+namespace TemuKJD.BaseForms
{
partial class BaseForm
{
diff --git a/TEMUKJD/KJDForms/BaseForms/BaseForm.cs b/TEMUKJD/BaseForms/BaseForm.cs
similarity index 98%
rename from TEMUKJD/KJDForms/BaseForms/BaseForm.cs
rename to TEMUKJD/BaseForms/BaseForm.cs
index caa1dfd..adf66a7 100644
--- a/TEMUKJD/KJDForms/BaseForms/BaseForm.cs
+++ b/TEMUKJD/BaseForms/BaseForm.cs
@@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-namespace TemuKJD.KJDForms.BaseForms
+namespace TemuKJD.BaseForms
{
public partial class BaseForm : Form
{
diff --git a/TEMUKJD/KJDForms/BaseForms/BaseForm.resx b/TEMUKJD/BaseForms/BaseForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/BaseForms/BaseForm.resx
rename to TEMUKJD/BaseForms/BaseForm.resx
diff --git a/TEMUKJD/KJDForms/BaseForms/BaseMsgForm.cs b/TEMUKJD/BaseForms/BaseMsgForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/BaseForms/BaseMsgForm.cs
rename to TEMUKJD/BaseForms/BaseMsgForm.cs
index 680f5e4..fae9852 100644
--- a/TEMUKJD/KJDForms/BaseForms/BaseMsgForm.cs
+++ b/TEMUKJD/BaseForms/BaseMsgForm.cs
@@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-namespace TemuKJD.KJDForms.BaseForms
+namespace TemuKJD.BaseForms
{
public partial class BaseMsgForm : LRBaseForm
{
diff --git a/TEMUKJD/KJDForms/BaseForms/BaseMsgForm.designer.cs b/TEMUKJD/BaseForms/BaseMsgForm.designer.cs
similarity index 99%
rename from TEMUKJD/KJDForms/BaseForms/BaseMsgForm.designer.cs
rename to TEMUKJD/BaseForms/BaseMsgForm.designer.cs
index af9cbd7..3847f09 100644
--- a/TEMUKJD/KJDForms/BaseForms/BaseMsgForm.designer.cs
+++ b/TEMUKJD/BaseForms/BaseMsgForm.designer.cs
@@ -1,4 +1,4 @@
-namespace TemuKJD.KJDForms.BaseForms
+namespace TemuKJD.BaseForms
{
partial class BaseMsgForm
{
diff --git a/TEMUKJD/KJDForms/BaseForms/BaseMsgForm.resx b/TEMUKJD/BaseForms/BaseMsgForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/BaseForms/BaseMsgForm.resx
rename to TEMUKJD/BaseForms/BaseMsgForm.resx
diff --git a/TEMUKJD/KJDForms/BaseForms/LRBaseForm.cs b/TEMUKJD/BaseForms/LRBaseForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/BaseForms/LRBaseForm.cs
rename to TEMUKJD/BaseForms/LRBaseForm.cs
index 99f1b8f..4e62dae 100644
--- a/TEMUKJD/KJDForms/BaseForms/LRBaseForm.cs
+++ b/TEMUKJD/BaseForms/LRBaseForm.cs
@@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-namespace TemuKJD.KJDForms.BaseForms
+namespace TemuKJD.BaseForms
{
public partial class LRBaseForm : BaseForm
{
diff --git a/TEMUKJD/KJDForms/BaseForms/LRBaseForm.designer.cs b/TEMUKJD/BaseForms/LRBaseForm.designer.cs
similarity index 99%
rename from TEMUKJD/KJDForms/BaseForms/LRBaseForm.designer.cs
rename to TEMUKJD/BaseForms/LRBaseForm.designer.cs
index a3e2a51..ff32c41 100644
--- a/TEMUKJD/KJDForms/BaseForms/LRBaseForm.designer.cs
+++ b/TEMUKJD/BaseForms/LRBaseForm.designer.cs
@@ -1,4 +1,4 @@
-namespace TemuKJD.KJDForms.BaseForms
+namespace TemuKJD.BaseForms
{
partial class LRBaseForm
{
diff --git a/TEMUKJD/KJDForms/BaseForms/LRBaseForm.resx b/TEMUKJD/BaseForms/LRBaseForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/BaseForms/LRBaseForm.resx
rename to TEMUKJD/BaseForms/LRBaseForm.resx
diff --git a/TEMUKJD/ChangeForm.cs b/TEMUKJD/ChangeForm.cs
index 596bd55..ec583a6 100644
--- a/TEMUKJD/ChangeForm.cs
+++ b/TEMUKJD/ChangeForm.cs
@@ -11,7 +11,7 @@ using System.Windows.Forms;
using AllBase;
//using TemuKJD.ChatForms;
//using TemuKJD.DashBoardForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD
diff --git a/TEMUKJD/Helper/LifeSpanHandlerLocal.cs b/TEMUKJD/Helper/LifeSpanHandlerLocal.cs
index 188c9b0..3d9b5a1 100644
--- a/TEMUKJD/Helper/LifeSpanHandlerLocal.cs
+++ b/TEMUKJD/Helper/LifeSpanHandlerLocal.cs
@@ -1,6 +1,6 @@
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.KJDForms.ToolForms;
+using TemuKJD.ToolForms;
using NaiBa.CefHelper;
using System;
using System.Collections.Generic;
diff --git a/TEMUKJD/InitForm.cs b/TEMUKJD/InitForm.cs
index 5b40dbd..c8b4830 100644
--- a/TEMUKJD/InitForm.cs
+++ b/TEMUKJD/InitForm.cs
@@ -1,4 +1,4 @@
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj
index 6745477..bbe021f 100644
--- a/TEMUKJD/KJD.csproj
+++ b/TEMUKJD/KJD.csproj
@@ -189,22 +189,22 @@
AdminShopLoginForm.cs
-
+
Form
-
+
BaseForm.cs
-
+
Form
-
+
BaseMsgForm.cs
-
+
Form
-
+
LRBaseForm.cs
@@ -418,70 +418,70 @@
SystemRemoveRestrictionsForm.cs
-
+
Form
-
+
CefForm.cs
-
+
Form
-
+
ChangeIPForm.cs
-
+
Form
-
+
IeForm.cs
-
+
Form
-
+
CollectVerifyForm.cs
-
+
Form
-
+
KeywordsCatchFrom.cs
-
+
Form
-
+
MeituMessageDialog.cs
-
+
Form
-
+
PinDuoDuoCaptchaForm.cs
-
+
Form
-
+
PinDuoDuoLoginForm.cs
-
+
Form
-
+
ProxyForm.cs
-
+
Form
-
+
TextForm.cs
-
+
Form
-
+
TokenNewForm.cs
@@ -490,17 +490,47 @@
MainForm.cs
+
+ Form
+
+
+ PDDAdminAccountForm.cs
+
+
+ Form
+
+
+ PDDAdminForm.cs
+
+
+ Form
+
+
+ PDDAdminShopAddSubSaForm.cs
+
+
+ Form
+
+
+ PDDAdminShopListForm.cs
+
+
+ Form
+
+
+ PDDAdminShopLoginForm.cs
+
Form
PDDShopAddEditForm.cs
-
+
Form
-
- MPddShopForm.cs
+
+ A_PddShopForm.cs
Form
@@ -533,7 +563,7 @@
PDDSubAccountShopEditForm.cs
-
+
UserControl
@@ -554,10 +584,10 @@
TaobaoLoginForm.cs
-
+
Form
-
+
ShowImgForm.cs
@@ -691,13 +721,13 @@
AdminShopLoginForm.cs
-
+
BaseForm.cs
-
+
BaseMsgForm.cs
-
+
LRBaseForm.cs
@@ -805,47 +835,62 @@
SystemRemoveRestrictionsForm.cs
-
+
CefForm.cs
-
+
ChangeIPForm.cs
-
+
IeForm.cs
-
+
CollectVerifyForm.cs
-
+
KeywordsCatchFrom.cs
-
+
MeituMessageDialog.cs
-
+
PinDuoDuoCaptchaForm.cs
-
+
PinDuoDuoLoginForm.cs
-
+
ProxyForm.cs
-
+
TextForm.cs
-
+
TokenNewForm.cs
MainForm.cs
+
+ PDDAdminAccountForm.cs
+
+
+ PDDAdminForm.cs
+
+
+ PDDAdminShopAddSubSaForm.cs
+
+
+ PDDAdminShopListForm.cs
+
+
+ PDDAdminShopLoginForm.cs
+
PDDShopAddEditForm.cs
-
- MPddShopForm.cs
+
+ A_PddShopForm.cs
PDDShopListForm.cs
@@ -873,7 +918,7 @@
TaobaoLoginForm.cs
-
+
ShowImgForm.cs
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminAccountForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminAccountForm.cs
index dc65acc..940cf11 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminAccountForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminAccountForm.cs
@@ -9,7 +9,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.AdminForms
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminForm.cs
index a58a053..80e4c42 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminForm.cs
@@ -10,7 +10,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.KJDForms.AdminForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductSelectForms;
using TemuKJD.KJDForms.ProductThirdSelectForms;
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminProductPriceCheckForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminProductPriceCheckForm.cs
index 032ba6c..bf46110 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminProductPriceCheckForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminProductPriceCheckForm.cs
@@ -15,9 +15,9 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.BLL;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
+using TemuKJD.ToolForms;
using TemuKJD.KJDForms.ShopForms;
-using TemuKJD.KJDForms.ToolForms;
using Work;
namespace TemuKJD.KJDForms.AdminForms
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminShopAddSubSaForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminShopAddSubSaForm.cs
index 5b8e59f..b79010e 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminShopAddSubSaForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminShopAddSubSaForm.cs
@@ -10,7 +10,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.AdminForms
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminShopListForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminShopListForm.cs
index 6dcc8d1..8b0a7f0 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminShopListForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminShopListForm.cs
@@ -17,7 +17,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.BLL;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
using Work;
diff --git a/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs b/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs
index 96e429e..cfabb23 100644
--- a/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs
+++ b/TEMUKJD/KJDForms/AdminForms/AdminShopLoginForm.cs
@@ -5,7 +5,7 @@ using CefSharp;
using CefSharp.WinForms;
//using TemuKJD.DashBoardForms;
using TemuKJD.Helper;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Microsoft.Win32;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
@@ -24,8 +24,8 @@ using System.Windows.Forms;
using Work;
using Work.BLL.Tools;
using TemuKJD.KJDForms.ShopForms;
-using TemuKJD.KJDForms.ToolForms;
using TemuKJD.BLL;
+using TemuKJD.ToolForms;
namespace TemuKJD.KJDForms.AdminForms
{
diff --git a/TEMUKJD/KJDForms/AdminForms/ShopBrowserObject.cs b/TEMUKJD/KJDForms/AdminForms/ShopBrowserObject.cs
index 2e68a3f..9680d0a 100644
--- a/TEMUKJD/KJDForms/AdminForms/ShopBrowserObject.cs
+++ b/TEMUKJD/KJDForms/AdminForms/ShopBrowserObject.cs
@@ -9,7 +9,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductThirdSelectForms;
using TemuKJD.KJDForms.ShopForms;
using Work;
diff --git a/TEMUKJD/KJDForms/OrderForms/OrderForm.cs b/TEMUKJD/KJDForms/OrderForms/OrderForm.cs
index 3f5026e..ee8406d 100644
--- a/TEMUKJD/KJDForms/OrderForms/OrderForm.cs
+++ b/TEMUKJD/KJDForms/OrderForms/OrderForm.cs
@@ -7,7 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.OrderForms
{
diff --git a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/Fission.cs b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/Fission.cs
index bcedf2f..ebf6cd3 100644
--- a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/Fission.cs
+++ b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/Fission.cs
@@ -17,7 +17,7 @@ using System.Text;
using AllBase.Helper;
using NaiBa.Util.Extension;
using Work.CollectClass;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using AllBase.Model.Param.FissionManage;
using Work;
using Work.Api;
diff --git a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionBrowserObject.cs b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionBrowserObject.cs
index 62e95c3..f431643 100644
--- a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionBrowserObject.cs
+++ b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionBrowserObject.cs
@@ -1,6 +1,6 @@
using AllBase;
using AllBase.Model.Param.FissionManage;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ToolForms;
using NaiBa.Util;
using System;
diff --git a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionDataBaseForm.cs b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionDataBaseForm.cs
index fa86f36..60b2910 100644
--- a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionDataBaseForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionDataBaseForm.cs
@@ -3,7 +3,7 @@ using AllBase.Helper;
using AllBase.Model.Param.FissionManage;
using AllBase.Model.Result;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
diff --git a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionShowBigImgForm.cs b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionShowBigImgForm.cs
index 59ecc54..faf16c8 100644
--- a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionShowBigImgForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/FissionShowBigImgForm.cs
@@ -1,5 +1,5 @@
using CefSharp;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcCategoryProp.cs b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcCategoryProp.cs
index 2d37ff5..453db18 100644
--- a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcCategoryProp.cs
+++ b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcCategoryProp.cs
@@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AllBase.Helper;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.ProductForms.FissionUserControl
{
diff --git a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcQualifiaction.cs b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcQualifiaction.cs
index f5471ed..df320aa 100644
--- a/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcQualifiaction.cs
+++ b/TEMUKJD/KJDForms/ProductForms/FissionUserControl/UcQualifiaction.cs
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using AllBase.Model.Param.ProductManage;
using AllBase;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductForms;
namespace TemuKJD.KJDForms.ProductForms.FissionUserControl
diff --git a/TEMUKJD/KJDForms/ProductForms/PriceManageForm.cs b/TEMUKJD/KJDForms/ProductForms/PriceManageForm.cs
index 919e775..8bd4fab 100644
--- a/TEMUKJD/KJDForms/ProductForms/PriceManageForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/PriceManageForm.cs
@@ -15,7 +15,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
namespace TemuKJD.KJDForms.ProductForms
diff --git a/TEMUKJD/KJDForms/ProductForms/ProductForm.cs b/TEMUKJD/KJDForms/ProductForms/ProductForm.cs
index 26b70f1..b4b9b57 100644
--- a/TEMUKJD/KJDForms/ProductForms/ProductForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/ProductForm.cs
@@ -11,7 +11,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.KJDForms.ProductSelectForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductThirdSelectForms;
using AllBase;
diff --git a/TEMUKJD/KJDForms/ProductForms/PurchasePriceForm.cs b/TEMUKJD/KJDForms/ProductForms/PurchasePriceForm.cs
index a94fed7..9b8a69a 100644
--- a/TEMUKJD/KJDForms/ProductForms/PurchasePriceForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/PurchasePriceForm.cs
@@ -14,7 +14,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
using Work;
diff --git a/TEMUKJD/KJDForms/ProductForms/SaleStockUpForm.cs b/TEMUKJD/KJDForms/ProductForms/SaleStockUpForm.cs
index 0624d5f..3e7665d 100644
--- a/TEMUKJD/KJDForms/ProductForms/SaleStockUpForm.cs
+++ b/TEMUKJD/KJDForms/ProductForms/SaleStockUpForm.cs
@@ -17,7 +17,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
namespace TemuKJD.KJDForms.ProductForms
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductCategorySearch.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductCategorySearch.cs
index be2d335..261c0da 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductCategorySearch.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductCategorySearch.cs
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductEditNotesForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductEditNotesForm.cs
index af0c71d..ec5eaa0 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductEditNotesForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductEditNotesForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductListForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductListForm.cs
index 64ba50e..d868e76 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductListForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductListForm.cs
@@ -15,8 +15,9 @@ using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ToolForms;
+using TemuKJD.ToolForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectEditNotesForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectEditNotesForm.cs
index c179cf8..aaef91d 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectEditNotesForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectEditNotesForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectListManageForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectListManageForm.cs
index 8a45025..f2b221b 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectListManageForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectListManageForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -25,6 +25,7 @@ using System.Globalization;
using TemuKJD.KJDForms.ToolForms;
using System.Text.RegularExpressions;
using TemuKJD.BLL;
+using TemuKJD.ToolForms;
namespace TemuKJD.KJDForms.ProductSelectForms
{
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectSetSubSaForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectSetSubSaForm.cs
index d50e0e4..b22f8b8 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectSetSubSaForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductSelectSetSubSaForm.cs
@@ -10,7 +10,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectEditNotesForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectEditNotesForm.cs
index 6fe233b..5a0bad3 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectEditNotesForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectEditNotesForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectForm.cs
index 04eba06..a9b8ce2 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/DbProductUserSelectForm.cs
@@ -17,9 +17,10 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
using TemuKJD.KJDForms.ToolForms;
+using TemuKJD.ToolForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/Price/DbPriceEditForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/Price/DbPriceEditForm.cs
index 6540bb9..1fb5108 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/Price/DbPriceEditForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/Price/DbPriceEditForm.cs
@@ -10,7 +10,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
diff --git a/TEMUKJD/KJDForms/ProductSelectForms/Price/DbProductPriceMarkUpForm.cs b/TEMUKJD/KJDForms/ProductSelectForms/Price/DbProductPriceMarkUpForm.cs
index 6d326dd..a13ecc4 100644
--- a/TEMUKJD/KJDForms/ProductSelectForms/Price/DbProductPriceMarkUpForm.cs
+++ b/TEMUKJD/KJDForms/ProductSelectForms/Price/DbProductPriceMarkUpForm.cs
@@ -14,7 +14,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
diff --git a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectAddShopForm.cs b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectAddShopForm.cs
index 3e63650..e30e70b 100644
--- a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectAddShopForm.cs
+++ b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectAddShopForm.cs
@@ -10,7 +10,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
using Work;
diff --git a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectListManageForm.cs b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectListManageForm.cs
index 1897e72..7ad75ae 100644
--- a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectListManageForm.cs
+++ b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdSelectListManageForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -26,6 +26,7 @@ using System.Text.RegularExpressions;
using System.Globalization;
using TemuKJD.KJDForms.ToolForms;
using TemuKJD.BLL;
+using TemuKJD.ToolForms;
namespace TemuKJD.KJDForms.ProductThirdSelectForms
{
diff --git a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdTitleForm.cs b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdTitleForm.cs
index 20d5a19..112a8ba 100644
--- a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdTitleForm.cs
+++ b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdTitleForm.cs
@@ -8,7 +8,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.ProductThirdSelectForms
{
diff --git a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdUserSelectForm.cs b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdUserSelectForm.cs
index 718b7ad..39021f7 100644
--- a/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdUserSelectForm.cs
+++ b/TEMUKJD/KJDForms/ProductThirdSelectForms/ProductThirdUserSelectForm.cs
@@ -16,10 +16,11 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductSelectForms;
using TemuKJD.KJDForms.ShopForms;
using TemuKJD.KJDForms.ToolForms;
+using TemuKJD.ToolForms;
using Work;
namespace TemuKJD.KJDForms.ProductThirdSelectForms
diff --git a/TEMUKJD/KJDForms/SalesCenterForms/MarketingActivityForm.cs b/TEMUKJD/KJDForms/SalesCenterForms/MarketingActivityForm.cs
index c2c51a8..cd419fa 100644
--- a/TEMUKJD/KJDForms/SalesCenterForms/MarketingActivityForm.cs
+++ b/TEMUKJD/KJDForms/SalesCenterForms/MarketingActivityForm.cs
@@ -15,7 +15,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ShopForms;
namespace TemuKJD.KJDForms.SalesCenterForms
diff --git a/TEMUKJD/KJDForms/SalesCenterForms/SalesCenterForm.cs b/TEMUKJD/KJDForms/SalesCenterForms/SalesCenterForm.cs
index 5a1edc8..f27efeb 100644
--- a/TEMUKJD/KJDForms/SalesCenterForms/SalesCenterForm.cs
+++ b/TEMUKJD/KJDForms/SalesCenterForms/SalesCenterForm.cs
@@ -8,7 +8,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
diff --git a/TEMUKJD/KJDForms/ShopForms/ReturnPackageDetailForm.cs b/TEMUKJD/KJDForms/ShopForms/ReturnPackageDetailForm.cs
index 5cb63fd..6f08916 100644
--- a/TEMUKJD/KJDForms/ShopForms/ReturnPackageDetailForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ReturnPackageDetailForm.cs
@@ -14,7 +14,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.ShopForms
{
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopAddEditForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopAddEditForm.cs
index e46a16f..337f112 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopAddEditForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopAddEditForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopForm.cs
index 1db5e3e..bd10dd0 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopForm.cs
@@ -10,7 +10,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.KJDForms.AdminForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductSelectForms;
using TemuKJD.KJDForms.ProductThirdSelectForms;
using TemuKJD.KJDForms.ShopForms.Statistics;
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs
index b0cc590..b3623c4 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopListForm.cs
@@ -2,7 +2,7 @@
using AllBase.Helper;
using AllBase.Model.Result;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs
index 08e328b..737dba9 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopLoginForm.cs
@@ -5,7 +5,7 @@ using CefSharp;
using CefSharp.WinForms;
//using TemuKJD.DashBoardForms;
using TemuKJD.Helper;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Microsoft.Win32;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
diff --git a/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs b/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs
index 0ef780b..c21c8b9 100644
--- a/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/ShopUpdateCookieForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsDetailForm.cs b/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsDetailForm.cs
index 3ee22f0..65303bd 100644
--- a/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsDetailForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsDetailForm.cs
@@ -10,8 +10,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ToolForms;
+using TemuKJD.ToolForms;
namespace TemuKJD.KJDForms.ShopForms.Statistics
{
diff --git a/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsForm.cs b/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsForm.cs
index 98ea8f8..83b1a44 100644
--- a/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/Statistics/ShopOrderStatisticsForm.cs
@@ -14,7 +14,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.UserComponent;
using Work;
diff --git a/TEMUKJD/KJDForms/ShopForms/Statistics/ShopSetPurchasePriceForm.cs b/TEMUKJD/KJDForms/ShopForms/Statistics/ShopSetPurchasePriceForm.cs
index 6a09f73..f31d5c3 100644
--- a/TEMUKJD/KJDForms/ShopForms/Statistics/ShopSetPurchasePriceForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/Statistics/ShopSetPurchasePriceForm.cs
@@ -10,7 +10,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.KJDForms.ShopForms.Statistics
diff --git a/TEMUKJD/KJDForms/ShopForms/SubAccountListForm.cs b/TEMUKJD/KJDForms/ShopForms/SubAccountListForm.cs
index 17817af..c550ec3 100644
--- a/TEMUKJD/KJDForms/ShopForms/SubAccountListForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/SubAccountListForm.cs
@@ -1,6 +1,6 @@
using AllBase;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ShopForms/SubAccountShopEditForm.cs b/TEMUKJD/KJDForms/ShopForms/SubAccountShopEditForm.cs
index e6f19d3..a91a9b2 100644
--- a/TEMUKJD/KJDForms/ShopForms/SubAccountShopEditForm.cs
+++ b/TEMUKJD/KJDForms/ShopForms/SubAccountShopEditForm.cs
@@ -1,6 +1,6 @@
using AllBase;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/SystemForms/SystemForm.cs b/TEMUKJD/KJDForms/SystemForms/SystemForm.cs
index 0be107b..4f406b3 100644
--- a/TEMUKJD/KJDForms/SystemForms/SystemForm.cs
+++ b/TEMUKJD/KJDForms/SystemForms/SystemForm.cs
@@ -8,7 +8,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.SystemForms
{
diff --git a/TEMUKJD/KJDForms/SystemForms/SystemRemoveRestrictionsForm.cs b/TEMUKJD/KJDForms/SystemForms/SystemRemoveRestrictionsForm.cs
index f88b0d6..0b762a1 100644
--- a/TEMUKJD/KJDForms/SystemForms/SystemRemoveRestrictionsForm.cs
+++ b/TEMUKJD/KJDForms/SystemForms/SystemRemoveRestrictionsForm.cs
@@ -8,7 +8,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
namespace TemuKJD.KJDForms.SystemForms
{
diff --git a/TEMUKJD/MainForm.cs b/TEMUKJD/MainForm.cs
index 979867a..818441a 100644
--- a/TEMUKJD/MainForm.cs
+++ b/TEMUKJD/MainForm.cs
@@ -13,7 +13,7 @@ using DevComponents.DotNetBar;
using AllBase;
using Work;
using TemuKJD.UserForm;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ToolForms;
using System.Reflection;
using System.Net;
@@ -650,9 +650,9 @@ namespace TemuKJD
{
if (shopForm == null)
{
- shopForm = new MPddShopForm();
+ shopForm = new A_PddShopForm();
}
- ShowMainPanel(shopForm as MPddShopForm, sender as Panel);
+ ShowMainPanel(shopForm as A_PddShopForm, sender as Panel);
}
}
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.Designer.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.Designer.cs
new file mode 100644
index 0000000..162f580
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.Designer.cs
@@ -0,0 +1,661 @@
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ partial class PDDAdminAccountForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.splitContainer5 = new System.Windows.Forms.SplitContainer();
+ this.cmbSaLevel = new System.Windows.Forms.ComboBox();
+ this.label6 = new System.Windows.Forms.Label();
+ this.lblWatermark = new System.Windows.Forms.Label();
+ this.cmbSearchGroup = new System.Windows.Forms.ComboBox();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.txtSearch = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.txtCompany = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btnRefresh = new TemuKJD.UserControls.ButtonEx();
+ this.btnCancel = new TemuKJD.UserControls.ButtonEx();
+ this.btnOpUser = new TemuKJD.UserControls.ButtonEx();
+ this.label30 = new System.Windows.Forms.Label();
+ this.label31 = new System.Windows.Forms.Label();
+ this.txtRePass = new System.Windows.Forms.TextBox();
+ this.label32 = new System.Windows.Forms.Label();
+ this.label33 = new System.Windows.Forms.Label();
+ this.label34 = new System.Windows.Forms.Label();
+ this.label35 = new System.Windows.Forms.Label();
+ this.label36 = new System.Windows.Forms.Label();
+ this.cmbGroup = new System.Windows.Forms.ComboBox();
+ this.label37 = new System.Windows.Forms.Label();
+ this.txtPassword = new System.Windows.Forms.TextBox();
+ this.label38 = new System.Windows.Forms.Label();
+ this.txtMobile = new System.Windows.Forms.TextBox();
+ this.label39 = new System.Windows.Forms.Label();
+ this.txtNickName = new System.Windows.Forms.TextBox();
+ this.label40 = new System.Windows.Forms.Label();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.dgvUser = new TemuKJD.UserComponent.DataGridViewEx();
+ this.UserIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.UserNickNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.mobileColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.groupIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.groupNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colCompany = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.shopCountColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSaLevel = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSaLevelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.editColumn = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.deleteColumn = new System.Windows.Forms.DataGridViewLinkColumn();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
+ this.splitContainer5.Panel1.SuspendLayout();
+ this.splitContainer5.Panel2.SuspendLayout();
+ this.splitContainer5.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).BeginInit();
+ this.SuspendLayout();
+ //
+ // splitContainer5
+ //
+ this.splitContainer5.BackColor = System.Drawing.Color.Transparent;
+ this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer5.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer5.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer5.Name = "splitContainer5";
+ //
+ // splitContainer5.Panel1
+ //
+ this.splitContainer5.Panel1.Controls.Add(this.cmbSaLevel);
+ this.splitContainer5.Panel1.Controls.Add(this.label6);
+ this.splitContainer5.Panel1.Controls.Add(this.lblWatermark);
+ this.splitContainer5.Panel1.Controls.Add(this.cmbSearchGroup);
+ this.splitContainer5.Panel1.Controls.Add(this.label5);
+ this.splitContainer5.Panel1.Controls.Add(this.label4);
+ this.splitContainer5.Panel1.Controls.Add(this.txtSearch);
+ this.splitContainer5.Panel1.Controls.Add(this.label3);
+ this.splitContainer5.Panel1.Controls.Add(this.txtCompany);
+ this.splitContainer5.Panel1.Controls.Add(this.label2);
+ this.splitContainer5.Panel1.Controls.Add(this.label1);
+ this.splitContainer5.Panel1.Controls.Add(this.btnRefresh);
+ this.splitContainer5.Panel1.Controls.Add(this.btnCancel);
+ this.splitContainer5.Panel1.Controls.Add(this.btnOpUser);
+ this.splitContainer5.Panel1.Controls.Add(this.label30);
+ this.splitContainer5.Panel1.Controls.Add(this.label31);
+ this.splitContainer5.Panel1.Controls.Add(this.txtRePass);
+ this.splitContainer5.Panel1.Controls.Add(this.label32);
+ this.splitContainer5.Panel1.Controls.Add(this.label33);
+ this.splitContainer5.Panel1.Controls.Add(this.label34);
+ this.splitContainer5.Panel1.Controls.Add(this.label35);
+ this.splitContainer5.Panel1.Controls.Add(this.label36);
+ this.splitContainer5.Panel1.Controls.Add(this.cmbGroup);
+ this.splitContainer5.Panel1.Controls.Add(this.label37);
+ this.splitContainer5.Panel1.Controls.Add(this.txtPassword);
+ this.splitContainer5.Panel1.Controls.Add(this.label38);
+ this.splitContainer5.Panel1.Controls.Add(this.txtMobile);
+ this.splitContainer5.Panel1.Controls.Add(this.label39);
+ this.splitContainer5.Panel1.Controls.Add(this.txtNickName);
+ this.splitContainer5.Panel1.Controls.Add(this.label40);
+ //
+ // splitContainer5.Panel2
+ //
+ this.splitContainer5.Panel2.Controls.Add(this.splitContainer1);
+ this.splitContainer5.Panel2.Padding = new System.Windows.Forms.Padding(0, 5, 5, 5);
+ this.splitContainer5.Size = new System.Drawing.Size(800, 527);
+ this.splitContainer5.SplitterDistance = 357;
+ this.splitContainer5.SplitterWidth = 1;
+ this.splitContainer5.TabIndex = 3;
+ //
+ // cmbSaLevel
+ //
+ this.cmbSaLevel.FormattingEnabled = true;
+ this.cmbSaLevel.Items.AddRange(new object[] {
+ "普通用户",
+ "一级超管",
+ "二级超管"});
+ this.cmbSaLevel.Location = new System.Drawing.Point(112, 388);
+ this.cmbSaLevel.Name = "cmbSaLevel";
+ this.cmbSaLevel.Size = new System.Drawing.Size(148, 25);
+ this.cmbSaLevel.TabIndex = 48;
+ this.cmbSaLevel.Text = "普通用户";
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label6.Location = new System.Drawing.Point(27, 390);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(79, 20);
+ this.label6.TabIndex = 47;
+ this.label6.Text = "超管等级:";
+ //
+ // lblWatermark
+ //
+ this.lblWatermark.AutoSize = true;
+ this.lblWatermark.BackColor = System.Drawing.Color.White;
+ this.lblWatermark.ForeColor = System.Drawing.SystemColors.ButtonShadow;
+ this.lblWatermark.Location = new System.Drawing.Point(113, 9);
+ this.lblWatermark.Name = "lblWatermark";
+ this.lblWatermark.Size = new System.Drawing.Size(140, 17);
+ this.lblWatermark.TabIndex = 45;
+ this.lblWatermark.Text = "查询用户名、昵称或公司";
+ this.lblWatermark.Click += new System.EventHandler(this.lblWatermark_Click);
+ //
+ // cmbSearchGroup
+ //
+ this.cmbSearchGroup.FormattingEnabled = true;
+ this.cmbSearchGroup.Items.AddRange(new object[] {
+ "客服",
+ "采购",
+ "上货",
+ "数据",
+ "登录"});
+ this.cmbSearchGroup.Location = new System.Drawing.Point(112, 35);
+ this.cmbSearchGroup.Name = "cmbSearchGroup";
+ this.cmbSearchGroup.Size = new System.Drawing.Size(148, 25);
+ this.cmbSearchGroup.TabIndex = 44;
+ this.cmbSearchGroup.Text = "主账户";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label5.Location = new System.Drawing.Point(27, 35);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(79, 20);
+ this.label5.TabIndex = 43;
+ this.label5.Text = "搜索分组:";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(27, 6);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(79, 20);
+ this.label4.TabIndex = 42;
+ this.label4.Text = "搜索条件:";
+ //
+ // txtSearch
+ //
+ this.txtSearch.Location = new System.Drawing.Point(112, 6);
+ this.txtSearch.Name = "txtSearch";
+ this.txtSearch.Size = new System.Drawing.Size(148, 23);
+ this.txtSearch.TabIndex = 41;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label3.Location = new System.Drawing.Point(55, 348);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(51, 20);
+ this.label3.TabIndex = 40;
+ this.label3.Text = "公司:";
+ //
+ // txtCompany
+ //
+ this.txtCompany.Location = new System.Drawing.Point(112, 347);
+ this.txtCompany.Name = "txtCompany";
+ this.txtCompany.Size = new System.Drawing.Size(148, 23);
+ this.txtCompany.TabIndex = 39;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label2.ForeColor = System.Drawing.SystemColors.ButtonShadow;
+ this.label2.Location = new System.Drawing.Point(117, 98);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(135, 20);
+ this.label2.TabIndex = 38;
+ this.label2.Text = "添加或编辑用户账户";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
+ this.label1.Location = new System.Drawing.Point(56, 475);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(212, 17);
+ this.label1.TabIndex = 37;
+ this.label1.Text = "编辑时,密码为空表示不更改原密码。";
+ //
+ // btnRefresh
+ //
+ this.btnRefresh.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnRefresh.ForeColor = System.Drawing.Color.White;
+ this.btnRefresh.Location = new System.Drawing.Point(267, 5);
+ this.btnRefresh.Name = "btnRefresh";
+ this.btnRefresh.Size = new System.Drawing.Size(86, 25);
+ this.btnRefresh.TabIndex = 36;
+ this.btnRefresh.Text = "刷新列表";
+ this.btnRefresh.UseVisualStyleBackColor = false;
+ this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
+ //
+ // btnCancel
+ //
+ this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnCancel.ForeColor = System.Drawing.Color.White;
+ this.btnCancel.Location = new System.Drawing.Point(59, 431);
+ this.btnCancel.Name = "btnCancel";
+ this.btnCancel.Size = new System.Drawing.Size(86, 25);
+ this.btnCancel.TabIndex = 35;
+ this.btnCancel.Text = "取消编辑";
+ this.btnCancel.UseVisualStyleBackColor = false;
+ this.btnCancel.Visible = false;
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
+ //
+ // btnOpUser
+ //
+ this.btnOpUser.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btnOpUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnOpUser.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnOpUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnOpUser.ForeColor = System.Drawing.Color.White;
+ this.btnOpUser.Location = new System.Drawing.Point(174, 431);
+ this.btnOpUser.Name = "btnOpUser";
+ this.btnOpUser.Size = new System.Drawing.Size(86, 25);
+ this.btnOpUser.TabIndex = 34;
+ this.btnOpUser.Text = "添加用户";
+ this.btnOpUser.UseVisualStyleBackColor = false;
+ this.btnOpUser.Click += new System.EventHandler(this.btnOpUser_Click);
+ //
+ // label30
+ //
+ this.label30.AutoSize = true;
+ this.label30.ForeColor = System.Drawing.SystemColors.ButtonShadow;
+ this.label30.Location = new System.Drawing.Point(282, 180);
+ this.label30.Name = "label30";
+ this.label30.Size = new System.Drawing.Size(56, 17);
+ this.label30.TabIndex = 33;
+ this.label30.Text = "登录使用";
+ //
+ // label31
+ //
+ this.label31.AutoSize = true;
+ this.label31.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
+ this.label31.Location = new System.Drawing.Point(266, 264);
+ this.label31.Name = "label31";
+ this.label31.Size = new System.Drawing.Size(13, 17);
+ this.label31.TabIndex = 32;
+ this.label31.Text = "*";
+ //
+ // txtRePass
+ //
+ this.txtRePass.Location = new System.Drawing.Point(112, 261);
+ this.txtRePass.Name = "txtRePass";
+ this.txtRePass.PasswordChar = '*';
+ this.txtRePass.Size = new System.Drawing.Size(148, 23);
+ this.txtRePass.TabIndex = 24;
+ //
+ // label32
+ //
+ this.label32.AutoSize = true;
+ this.label32.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label32.Location = new System.Drawing.Point(27, 262);
+ this.label32.Name = "label32";
+ this.label32.Size = new System.Drawing.Size(79, 20);
+ this.label32.TabIndex = 31;
+ this.label32.Text = "重复密码:";
+ //
+ // label33
+ //
+ this.label33.AutoSize = true;
+ this.label33.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
+ this.label33.Location = new System.Drawing.Point(266, 306);
+ this.label33.Name = "label33";
+ this.label33.Size = new System.Drawing.Size(13, 17);
+ this.label33.TabIndex = 30;
+ this.label33.Text = "*";
+ //
+ // label34
+ //
+ this.label34.AutoSize = true;
+ this.label34.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
+ this.label34.Location = new System.Drawing.Point(266, 222);
+ this.label34.Name = "label34";
+ this.label34.Size = new System.Drawing.Size(13, 17);
+ this.label34.TabIndex = 29;
+ this.label34.Text = "*";
+ //
+ // label35
+ //
+ this.label35.AutoSize = true;
+ this.label35.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
+ this.label35.Location = new System.Drawing.Point(266, 180);
+ this.label35.Name = "label35";
+ this.label35.Size = new System.Drawing.Size(13, 17);
+ this.label35.TabIndex = 28;
+ this.label35.Text = "*";
+ //
+ // label36
+ //
+ this.label36.AutoSize = true;
+ this.label36.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
+ this.label36.Location = new System.Drawing.Point(266, 138);
+ this.label36.Name = "label36";
+ this.label36.Size = new System.Drawing.Size(13, 17);
+ this.label36.TabIndex = 27;
+ this.label36.Text = "*";
+ //
+ // cmbGroup
+ //
+ this.cmbGroup.FormattingEnabled = true;
+ this.cmbGroup.Items.AddRange(new object[] {
+ "客服",
+ "采购",
+ "上货",
+ "数据",
+ "登录"});
+ this.cmbGroup.Location = new System.Drawing.Point(112, 303);
+ this.cmbGroup.Name = "cmbGroup";
+ this.cmbGroup.Size = new System.Drawing.Size(148, 25);
+ this.cmbGroup.TabIndex = 26;
+ this.cmbGroup.Text = "主账户";
+ //
+ // label37
+ //
+ this.label37.AutoSize = true;
+ this.label37.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label37.Location = new System.Drawing.Point(55, 304);
+ this.label37.Name = "label37";
+ this.label37.Size = new System.Drawing.Size(51, 20);
+ this.label37.TabIndex = 25;
+ this.label37.Text = "分组:";
+ //
+ // txtPassword
+ //
+ this.txtPassword.Location = new System.Drawing.Point(112, 219);
+ this.txtPassword.Name = "txtPassword";
+ this.txtPassword.PasswordChar = '*';
+ this.txtPassword.Size = new System.Drawing.Size(148, 23);
+ this.txtPassword.TabIndex = 23;
+ //
+ // label38
+ //
+ this.label38.AutoSize = true;
+ this.label38.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label38.Location = new System.Drawing.Point(55, 220);
+ this.label38.Name = "label38";
+ this.label38.Size = new System.Drawing.Size(51, 20);
+ this.label38.TabIndex = 22;
+ this.label38.Text = "密码:";
+ //
+ // txtMobile
+ //
+ this.txtMobile.Location = new System.Drawing.Point(112, 177);
+ this.txtMobile.Name = "txtMobile";
+ this.txtMobile.Size = new System.Drawing.Size(148, 23);
+ this.txtMobile.TabIndex = 21;
+ //
+ // label39
+ //
+ this.label39.AutoSize = true;
+ this.label39.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label39.Location = new System.Drawing.Point(41, 178);
+ this.label39.Name = "label39";
+ this.label39.Size = new System.Drawing.Size(65, 20);
+ this.label39.TabIndex = 20;
+ this.label39.Text = "手机号:";
+ //
+ // txtNickName
+ //
+ this.txtNickName.Location = new System.Drawing.Point(112, 135);
+ this.txtNickName.Name = "txtNickName";
+ this.txtNickName.Size = new System.Drawing.Size(148, 23);
+ this.txtNickName.TabIndex = 19;
+ //
+ // label40
+ //
+ this.label40.AutoSize = true;
+ this.label40.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label40.Location = new System.Drawing.Point(55, 136);
+ this.label40.Name = "label40";
+ this.label40.Size = new System.Drawing.Size(51, 20);
+ this.label40.TabIndex = 18;
+ this.label40.Text = "昵称:";
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 5);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.dgvUser);
+ this.splitContainer1.Size = new System.Drawing.Size(437, 517);
+ this.splitContainer1.SplitterDistance = 486;
+ this.splitContainer1.TabIndex = 2;
+ //
+ // dgvUser
+ //
+ this.dgvUser.AllowUserToAddRows = false;
+ this.dgvUser.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
+ this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+ this.dgvUser.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+ this.dgvUser.BackgroundColor = System.Drawing.Color.White;
+ this.dgvUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+ this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.UserIdColumn,
+ this.UserNickNameColumn,
+ this.mobileColumn,
+ this.groupIdColumn,
+ this.groupNameColumn,
+ this.colCompany,
+ this.shopCountColumn,
+ this.colSaLevel,
+ this.colSaLevelName,
+ this.editColumn,
+ this.deleteColumn});
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvUser.DefaultCellStyle = dataGridViewCellStyle3;
+ this.dgvUser.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvUser.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
+ this.dgvUser.Location = new System.Drawing.Point(0, 0);
+ this.dgvUser.Name = "dgvUser";
+ this.dgvUser.ReadOnly = true;
+ this.dgvUser.RowTemplate.Height = 23;
+ this.dgvUser.Size = new System.Drawing.Size(437, 486);
+ this.dgvUser.TabIndex = 1;
+ this.dgvUser.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvUser_CellContentClick);
+ //
+ // UserIdColumn
+ //
+ this.UserIdColumn.HeaderText = "id";
+ this.UserIdColumn.Name = "UserIdColumn";
+ this.UserIdColumn.ReadOnly = true;
+ this.UserIdColumn.Visible = false;
+ //
+ // UserNickNameColumn
+ //
+ this.UserNickNameColumn.HeaderText = "用户昵称";
+ this.UserNickNameColumn.Name = "UserNickNameColumn";
+ this.UserNickNameColumn.ReadOnly = true;
+ //
+ // mobileColumn
+ //
+ this.mobileColumn.HeaderText = "手机(登录账号)";
+ this.mobileColumn.Name = "mobileColumn";
+ this.mobileColumn.ReadOnly = true;
+ //
+ // groupIdColumn
+ //
+ this.groupIdColumn.HeaderText = "groupId";
+ this.groupIdColumn.Name = "groupIdColumn";
+ this.groupIdColumn.ReadOnly = true;
+ this.groupIdColumn.Visible = false;
+ //
+ // groupNameColumn
+ //
+ this.groupNameColumn.HeaderText = "分组";
+ this.groupNameColumn.Name = "groupNameColumn";
+ this.groupNameColumn.ReadOnly = true;
+ //
+ // colCompany
+ //
+ this.colCompany.HeaderText = "公司";
+ this.colCompany.Name = "colCompany";
+ this.colCompany.ReadOnly = true;
+ //
+ // shopCountColumn
+ //
+ this.shopCountColumn.HeaderText = "店铺数";
+ this.shopCountColumn.Name = "shopCountColumn";
+ this.shopCountColumn.ReadOnly = true;
+ this.shopCountColumn.Visible = false;
+ //
+ // colSaLevel
+ //
+ this.colSaLevel.HeaderText = "saLevel";
+ this.colSaLevel.Name = "colSaLevel";
+ this.colSaLevel.ReadOnly = true;
+ this.colSaLevel.Visible = false;
+ //
+ // colSaLevelName
+ //
+ this.colSaLevelName.HeaderText = "账户类型";
+ this.colSaLevelName.Name = "colSaLevelName";
+ this.colSaLevelName.ReadOnly = true;
+ //
+ // editColumn
+ //
+ this.editColumn.HeaderText = "编辑";
+ this.editColumn.Name = "editColumn";
+ this.editColumn.ReadOnly = true;
+ this.editColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.editColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ //
+ // deleteColumn
+ //
+ this.deleteColumn.HeaderText = "删除";
+ this.deleteColumn.Name = "deleteColumn";
+ this.deleteColumn.ReadOnly = true;
+ //
+ // AdminAccountForm
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(800, 527);
+ this.Controls.Add(this.splitContainer5);
+ this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.Name = "AdminAccountForm";
+ this.Text = "AccountForm";
+ this.Load += new System.EventHandler(this.MainAccountForm_Load);
+ this.VisibleChanged += new System.EventHandler(this.MainAccountForm_VisibleChanged);
+ this.splitContainer5.Panel1.ResumeLayout(false);
+ this.splitContainer5.Panel1.PerformLayout();
+ this.splitContainer5.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
+ this.splitContainer5.ResumeLayout(false);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvUser)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.SplitContainer splitContainer5;
+ private System.Windows.Forms.Label label1;
+ private UserControls.ButtonEx btnRefresh;
+ private UserControls.ButtonEx btnCancel;
+ private UserControls.ButtonEx btnOpUser;
+ private System.Windows.Forms.Label label30;
+ private System.Windows.Forms.Label label31;
+ private System.Windows.Forms.TextBox txtRePass;
+ private System.Windows.Forms.Label label32;
+ private System.Windows.Forms.Label label33;
+ private System.Windows.Forms.Label label34;
+ private System.Windows.Forms.Label label35;
+ private System.Windows.Forms.Label label36;
+ private System.Windows.Forms.ComboBox cmbGroup;
+ private System.Windows.Forms.Label label37;
+ private System.Windows.Forms.TextBox txtPassword;
+ private System.Windows.Forms.Label label38;
+ private System.Windows.Forms.TextBox txtMobile;
+ private System.Windows.Forms.Label label39;
+ private System.Windows.Forms.TextBox txtNickName;
+ private System.Windows.Forms.Label label40;
+ private UserComponent.DataGridViewEx dgvUser;
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox txtCompany;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.TextBox txtSearch;
+ private System.Windows.Forms.ComboBox cmbSearchGroup;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label lblWatermark;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.ComboBox cmbSaLevel;
+ private System.Windows.Forms.DataGridViewTextBoxColumn UserIdColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn UserNickNameColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn mobileColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn groupIdColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn groupNameColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colCompany;
+ private System.Windows.Forms.DataGridViewTextBoxColumn shopCountColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSaLevel;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSaLevelName;
+ private System.Windows.Forms.DataGridViewLinkColumn editColumn;
+ private System.Windows.Forms.DataGridViewLinkColumn deleteColumn;
+ }
+}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.cs
new file mode 100644
index 0000000..ae6c7ef
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.cs
@@ -0,0 +1,277 @@
+using AllBase;
+using AllBase.Model.Result;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using TemuKJD.BaseForms;
+using Work;
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ public partial class PDDAdminAccountForm
+ : BaseForm
+ {
+ public static List AllUsers { get; set; } = new List();
+ public MainForm Mf { get; set; } = null;
+ public string Uid { get; set; } = "";
+
+ public PDDAdminAccountForm()
+ {
+ InitializeComponent();
+ }
+
+ private void btnOpUser_Click(object sender, EventArgs e)
+ {
+ if (txtPassword.Text != txtRePass.Text)
+ {
+ BaseMsgForm.ShowInfo("两次密码不正确", "提示");
+ return;
+ }
+ if (btnOpUser.Text == "添加用户" && txtPassword.Text.Length < 6)
+ {
+ BaseMsgForm.ShowInfo("密码最少6位", "提示");
+ return;
+ }
+ if (string.IsNullOrEmpty(txtNickName.Text) || string.IsNullOrEmpty(txtMobile.Text) ||
+ txtMobile.Text.Length != 11)
+ {
+ BaseMsgForm.ShowInfo("信息不正确", "提示");
+ return;
+ }
+
+ StringBuilder data = new StringBuilder();
+ data.Append(UserLogin.GetSignaturex());
+ data.Append("&add_nick_name=" + GetHtml.UrlEncodeUtf8(txtNickName.Text));
+ data.Append("&add_user_name=" + GetHtml.UrlEncodeUtf8(txtMobile.Text));
+ data.Append("&add_mobile=" + GetHtml.UrlEncodeUtf8(txtMobile.Text));
+ data.Append("&add_company=" + GetHtml.UrlEncodeUtf8(txtCompany.Text));
+ data.Append("&card_id=");
+ if (cmbGroup.Text == "主账户")
+ {
+ data.Append("&group_id=3");
+ }
+ else if(cmbGroup.Text == "客服")
+ {
+ data.Append("&group_id=4");
+ }
+ else
+ {
+ BaseMsgForm.ShowInfo("分组不正确", "提示");
+ return;
+ }
+ if (!string.IsNullOrEmpty(txtPassword.Text))
+ data.Append("&add_password=" + Md5Base.GetMd5(txtPassword.Text).ToLower());
+ if (cmbSaLevel.Text=="一级超管")
+ data.Append("&sa_level=1");
+ else if (cmbSaLevel.Text == "二级超管")
+ data.Append("&sa_level=2");
+ else
+ data.Append("&sa_level=0");
+ string url = BaseClass.BuildObjString("user/add_user");
+ if (btnOpUser.Text != "添加用户" && !string.IsNullOrEmpty(Uid))
+ {
+ data.Append("&id=" + Uid);
+ url = BaseClass.BuildObjString("user/update_user");
+ }
+ string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
+
+ if (!string.IsNullOrEmpty(html))
+ {
+ if (html.Contains("\"code\":200"))
+ {
+ btnOpUser.Text = "添加用户";
+ EmptyInput();
+ btnCancel.Visible = false;
+ GetUser();
+ return;
+ }
+ var msg = BaseRegex.GetStringJson(ref html, "msg");
+ if (string.IsNullOrEmpty(msg))
+ msg = html;
+ BaseMsgForm.ShowError(msg, "错误");
+ return;
+ }
+ BaseMsgForm.ShowError("出现异常,添加失败", "错误");
+ }
+
+ private void GetUser()
+ {
+ dgvUser.Rows.Clear();
+ AllUsers.Clear();
+ string url = BaseClass.BuildObjString("user/get_all_user");
+ StringBuilder data = new StringBuilder();
+ data.Append(UserLogin.GetSignaturex());
+ if (cmbSearchGroup.Text == "主账户")
+ {
+ data.Append("&group_id=3");
+ }
+ else if (cmbSearchGroup.Text == "客服")
+ {
+ data.Append("&group_id=4");
+ }
+ if (!string.IsNullOrWhiteSpace(txtSearch.Text))
+ data.Append("&search=" + txtSearch.Text.Replace("'","'"));
+ string html = GetHtml.PostUtf8(url, data.ToString());
+ if (string.IsNullOrEmpty(html))
+ return;
+ if (html.Contains("\"data\""))
+ {
+ var userObj = Newtonsoft.Json.Linq.JObject.Parse(html);
+ foreach (Newtonsoft.Json.Linq.JObject obj in userObj["data"])
+ {
+ string oStr = JsonHelper.SerializeObject(obj);
+ ShopSubAccountInfo user = new ShopSubAccountInfo();
+ user.id = BaseRegex.GetIntJson(ref oStr, "id");
+ user.user_name = BaseRegex.GetStringJson(ref oStr, "user_name");
+ user.nick_name = BaseRegex.GetStringJson(ref oStr, "nick_name");
+ user.mobile = BaseRegex.GetStringJson(ref oStr, "mobile");
+ user.group_id = BaseRegex.GetStringJson(ref oStr, "group_id");
+ user.shop_count = BaseRegex.GetIntJson(ref oStr, "shop_count");
+ user.company_name = BaseRegex.GetStringJson(ref oStr, "company_name");
+ user.sa_level = BaseRegex.GetIntJson(ref oStr, "sa_level");
+
+ AllUsers.Add(user);
+ dgvUser.Rows.Add(
+ user.id,
+ user.nick_name,
+ user.user_name,
+ user.group_id,
+ user.group_name,
+ user.company_name,
+ user.shop_count,
+ user.sa_level,
+ user.sa_level_name,
+ "编辑",
+ "删除");
+ }
+ }
+ }
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ btnOpUser.Text = "添加用户";
+ Uid = "";
+ EmptyInput();
+ btnCancel.Visible = false;
+ }
+
+ private void EmptyInput()
+ {
+ txtNickName.Clear();
+ txtPassword.Clear();
+ txtRePass.Clear();
+ txtMobile.Clear();
+ txtCompany.Clear();
+ cmbGroup.Text = "主账户";
+ cmbSaLevel.Text = "普通用户";
+ }
+
+ private void btnRefresh_Click(object sender, EventArgs e)
+ {
+ GetUser();
+ }
+
+ private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+ string columname = dgvUser.Columns[e.ColumnIndex].HeaderText;
+ string uid = dgvUser.Rows[e.RowIndex].Cells["UseridColumn"].Value.ToString();
+ string nickName = dgvUser.Rows[e.RowIndex].Cells["UserNickNameColumn"].Value.ToString();
+ string mobile = dgvUser.Rows[e.RowIndex].Cells["mobileColumn"].Value.ToString();
+ string groupName = dgvUser.Rows[e.RowIndex].Cells["groupNameColumn"].Value.ToString();
+ string company = dgvUser.Rows[e.RowIndex].Cells["colCompany"].Value.ToString();
+ string saLevelName = dgvUser.Rows[e.RowIndex].Cells["colSaLevelName"].Value.ToString();
+ if (columname == "编辑")
+ {
+ Uid = uid;
+ txtNickName.Text = nickName;
+ txtMobile.Text = mobile;
+ cmbGroup.Text = groupName;
+ txtPassword.Text = "";
+ txtRePass.Text = "";
+ txtCompany.Text = company;
+ btnOpUser.Text = "保存用户";
+ btnCancel.Visible = true;
+ cmbSaLevel.Text = saLevelName;
+ }
+ if (columname == "删除")
+ {
+ if (BaseMsgForm.ShowConfirm("是否删除,删除后无法再次添加", "提示").DialogResult == DialogResult.OK)
+ {
+ Delete(uid);
+ }
+ }
+ }
+
+ public void Delete(string uid)
+ {
+ StringBuilder data = new StringBuilder();
+ data.Append(UserLogin.GetSignaturex());
+ data.Append("&id=" + uid);
+ string url = BaseClass.BuildObjString("user/delete_user");
+ string html = GetHtml.PostUtf8(url, data.ToString());
+ if (!string.IsNullOrEmpty(html))
+ {
+ if (html.Contains("\"code\":200"))
+ {
+ BaseMsgForm.ShowInfo("删除成功", "提示");
+ GetUser();
+ return;
+ }
+ var msg = BaseRegex.GetStringJson(ref html, "msg");
+ if (string.IsNullOrEmpty(msg))
+ msg = html;
+ BaseMsgForm.ShowError(msg, "错误");
+ return;
+ }
+ BaseMsgForm.ShowError("返回异常", "错误");
+ }
+
+ private void MainAccountForm_VisibleChanged(object sender, EventArgs e)
+ {
+ if (this.Visible)
+ {
+ GetUser();
+ }
+ }
+
+ private void MainAccountForm_Load(object sender, EventArgs e)
+ {
+ this.cmbGroup.Items.Clear();
+ this.cmbGroup.Items.Add("主账户");
+ this.cmbGroup.Items.Add("客服");
+
+ this.cmbSearchGroup.Items.Clear();
+ this.cmbSearchGroup.Items.Add("主账户");
+ this.cmbSearchGroup.Items.Add("客服");
+ this.cmbSearchGroup.Items.Add("全部");
+
+ this.txtSearch.GotFocus += TxtSearch_GotFocus;
+ this.txtSearch.LostFocus += TxtSearch_LostFocus;
+ }
+
+ private void TxtSearch_LostFocus(object sender, EventArgs e)
+ {
+ if (string.IsNullOrEmpty(this.txtSearch.Text))
+ lblWatermark.Visible = true;
+ }
+
+ private void TxtSearch_GotFocus(object sender, EventArgs e)
+ {
+ lblWatermark.Visible = false;
+ }
+
+ private void lblWatermark_Click(object sender, EventArgs e)
+ {
+ this.txtSearch.Focus();
+ this.lblWatermark.Visible = false;
+ }
+ }
+}
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.resx b/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.resx
new file mode 100644
index 0000000..c3a4499
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminAccountForm.resx
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs
new file mode 100644
index 0000000..0fd2c64
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs
@@ -0,0 +1,189 @@
+namespace TemuKJD.PDDForms.AdminForms
+{
+ partial class PDDAdminForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("超级店铺管理");
+ System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("超级用户管理");
+ System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("选品数据库");
+ System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("选品加价管理");
+ System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("认领待上传");
+ System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("库存上传");
+ System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("商品核价");
+ System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
+ treeNode1,
+ treeNode2,
+ treeNode3,
+ treeNode4,
+ treeNode5,
+ treeNode6,
+ treeNode7});
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.lblName = new System.Windows.Forms.Label();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.tv = new TemuKJD.UserComponent.UcTreeView();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.White;
+ this.panel1.Controls.Add(this.panel3);
+ this.panel1.Controls.Add(this.panel2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(792, 446);
+ this.panel1.TabIndex = 2;
+ //
+ // panel3
+ //
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel3.Location = new System.Drawing.Point(0, 28);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(792, 418);
+ this.panel3.TabIndex = 1;
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
+ this.panel2.Controls.Add(this.lblName);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(792, 28);
+ this.panel2.TabIndex = 0;
+ //
+ // lblName
+ //
+ this.lblName.AutoSize = true;
+ this.lblName.Location = new System.Drawing.Point(5, 6);
+ this.lblName.Name = "lblName";
+ this.lblName.Size = new System.Drawing.Size(57, 17);
+ this.lblName.TabIndex = 0;
+ this.lblName.Text = "lblName";
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.tv);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.panel1);
+ this.splitContainer1.Size = new System.Drawing.Size(933, 446);
+ this.splitContainer1.SplitterDistance = 140;
+ this.splitContainer1.SplitterWidth = 1;
+ this.splitContainer1.TabIndex = 3;
+ //
+ // tv
+ //
+ this.tv.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
+ this.tv.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.tv.ChildNodeSelectedBgColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.tv.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tv.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
+ this.tv.ExpandButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+ this.tv.FullRowSelect = true;
+ this.tv.GroupBgColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
+ this.tv.GroupFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.tv.GroupTitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
+ this.tv.HideCollapsedGroup = false;
+ this.tv.ItemHeight = 32;
+ this.tv.Location = new System.Drawing.Point(0, 0);
+ this.tv.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.tv.Name = "tv";
+ treeNode1.Name = "超级店铺管理";
+ treeNode1.Text = "超级店铺管理";
+ treeNode2.Name = "超级用户管理";
+ treeNode2.Text = "超级用户管理";
+ treeNode3.Name = "选品数据库";
+ treeNode3.Text = "选品数据库";
+ treeNode4.Name = "选品加价管理";
+ treeNode4.Text = "选品加价管理";
+ treeNode5.Name = "认领待上传";
+ treeNode5.Text = "认领待上传";
+ treeNode6.Name = "库存上传";
+ treeNode6.Text = "库存上传";
+ treeNode7.Name = "商品核价";
+ treeNode7.Text = "商品核价";
+ treeNode8.Name = "超级权限管理";
+ treeNode8.Text = "超级权限管理";
+ this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
+ treeNode8});
+ this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+ this.tv.Size = new System.Drawing.Size(140, 446);
+ this.tv.TabIndex = 1;
+ this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
+ //
+ // AdminForm
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(933, 446);
+ this.Controls.Add(this.splitContainer1);
+ this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.Name = "AdminForm";
+ this.Text = "AdminForm";
+ this.Load += new System.EventHandler(this.ShopForm_Load);
+ this.panel1.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private UserComponent.UcTreeView tv;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Label lblName;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ }
+}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs
new file mode 100644
index 0000000..2324bba
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs
@@ -0,0 +1,179 @@
+using AllBase;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using TemuKJD.BaseForms;
+//using TemuKJD.KJDForms.ProductSelectForms;
+//using TemuKJD.KJDForms.ProductThirdSelectForms;
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ public partial class PDDAdminForm : BaseForm
+ {
+ public Lazy adminAccountForm = new Lazy();
+ public Lazy adminShopForm = new Lazy();
+ //public Lazy dbProductListForm = new Lazy();
+ //public Lazy dbPriceMarkUpForm = new Lazy();
+ //public Lazy dbProductSelectListManageForm = new Lazy();
+ //public Lazy productThirdSelectListManageForm = new Lazy();
+ //public Lazy adminProductPriceCheckForm = new Lazy();
+
+ public PDDAdminForm()
+ {
+ InitializeComponent();
+
+ try
+ {
+ tv.SelectedNode = tv.Nodes[0].Nodes[0];
+ tv.ExpandGroup(tv.Nodes[0].Name);
+
+ List hideName = new List() { "超级用户管理", "超级店铺管理", "选品数据库", "选品加价管理", "认领待上传", "库存上传", "商品核价" };
+
+ if (BaseClass.GroupId == 3)
+ {
+ /*BaseClass.UserName == "18888888888" || BaseClass.UserName == "15333333333"*/
+ if (BaseClass.SaLevel==1)
+ {
+ hideName.Remove("超级用户管理");
+ hideName.Remove("超级店铺管理");
+ hideName.Remove("选品数据库");
+ hideName.Remove("选品加价管理");
+ hideName.Remove("认领待上传");
+ hideName.Remove("库存上传");
+ hideName.Remove("商品核价");
+ }
+ if (BaseClass.SaLevel==2)
+ {
+ hideName.Remove("超级店铺管理");
+ hideName.Remove("认领待上传");
+ hideName.Remove("库存上传");
+ hideName.Remove("商品核价");
+ }
+ }
+
+ foreach (var item in hideName)
+ {
+ var n = tv.Nodes[0].Nodes.Find(item, true);
+ if (n.Count() > 0)
+ n[0].Remove();
+ }
+ }
+ catch { }
+ }
+
+ private void tv_AfterSelect(object sender, TreeViewEventArgs e)
+ {
+ MainForm.sCurrentModule = e.Node.Name;
+ this.lblName.Text = e.Node.Text;
+ // 如果是一级菜单,不做任何动作
+ if (e.Node.Parent == null) return;
+ new Thread(() =>
+ {
+ Thread.Sleep(200);
+ Invoke(new Action(() =>
+ {
+ switch (e.Node.Name)
+ {
+ case "超级用户管理":
+ SetForm(adminAccountForm.Value);
+ break;
+ case "超级店铺管理":
+ SetForm(adminShopForm.Value);
+ break;
+ //case "选品数据库":
+ // SetForm(dbProductListForm.Value);
+ // break;
+ //case "选品加价管理":
+ // SetForm(dbPriceMarkUpForm.Value);
+ // break;
+ //case "认领上传":
+ // SetForm(dbProductSelectListManageForm.Value);
+ // break;
+ //case "库存上传":
+ // SetForm(productThirdSelectListManageForm.Value);
+ // break;
+ //case "商品核价":
+ // SetForm(adminProductPriceCheckForm.Value);
+ // break;
+ }
+ }));
+ }).Start();
+ }
+
+ ///
+ /// 显示隐藏层
+ ///
+ ///
+ private void SetForm(Form f)
+ {
+ if (f == null)
+ {
+ foreach (Control form in panel3.Controls)
+ {
+ form.Visible = false;
+ if (form is Form)
+ {
+ panel3.Controls.Remove(form as Form);
+ }
+ }
+ return;
+ }
+
+ bool had = false;
+ string sCurrentFormName = f.Name;
+ for (int i = 0; i < panel3.Controls.Count; i++)
+ {
+ if (sCurrentFormName == panel3.Controls[i].Name)
+ {
+ had = true;
+ panel3.Controls[i].Visible = true;
+ }
+ else
+ {
+ panel3.Controls[i].Visible = false;
+ }
+ }
+ if (had)
+ {
+ f = null;
+ return;
+ }
+ f.TopLevel = false;
+ f.Left = 0;
+ f.Top = 0;
+ f.FormBorderStyle = FormBorderStyle.None;
+ panel3.Controls.Add(f);
+ f.AutoSize = true;
+ f.Dock = DockStyle.Fill;
+ f.Show();
+ }
+
+ private void ShopForm_Load(object sender, EventArgs e)
+ {
+ try
+ {
+ var ns = tv.Nodes.Find("运费模板", true);
+ if (ns.Count() > 0)
+ {
+ //foreach (var n in ns)
+ //{
+ // tv.Nodes.Remove(n);
+ //}
+
+ if (AllBase.BaseClass.IsCloudBuyOrder)
+ this.tv.Nodes[0].Nodes.Insert(ns[0].Index + 1, new TreeNode() { Text = "高级运费模板", Name = "高级运费模板" });
+ }
+ tv.SelectedNode = tv.Nodes[0].Nodes[0];
+ tv.ExpandGroup(tv.Nodes[0].Name);
+ }
+ catch { }
+ }
+ }
+}
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.resx b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.resx
rename to TEMUKJD/PDDForms/AdminForms/PDDAdminForm.resx
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.Designer.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.Designer.cs
new file mode 100644
index 0000000..d7df378
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.Designer.cs
@@ -0,0 +1,195 @@
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ partial class PDDAdminShopAddSubSaForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDAdminShopAddSubSaForm));
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.dgvSaUser = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colSubSaId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSubUserName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSubSaName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.btnOk = new TemuKJD.UserControls.ButtonEx();
+ this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvSaUser)).BeginInit();
+ this.SuspendLayout();
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.Color.White;
+ this.panel2.Controls.Add(this.splitContainer1);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Location = new System.Drawing.Point(1, 33);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(391, 506);
+ this.panel2.TabIndex = 1;
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.dgvSaUser);
+ this.splitContainer1.Panel1.Padding = new System.Windows.Forms.Padding(4);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.btnOk);
+ this.splitContainer1.Size = new System.Drawing.Size(391, 506);
+ this.splitContainer1.SplitterDistance = 464;
+ this.splitContainer1.TabIndex = 190;
+ //
+ // dgvSaUser
+ //
+ this.dgvSaUser.AllowUserToAddRows = false;
+ this.dgvSaUser.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvSaUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+ this.dgvSaUser.BackgroundColor = System.Drawing.Color.White;
+ this.dgvSaUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvSaUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+ this.dgvSaUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvSaUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colSelect,
+ this.colSubSaId,
+ this.colSubUserName,
+ this.colSubSaName});
+ this.dgvSaUser.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvSaUser.Location = new System.Drawing.Point(4, 4);
+ this.dgvSaUser.Name = "dgvSaUser";
+ this.dgvSaUser.ReadOnly = true;
+ this.dgvSaUser.RowHeadersWidth = 51;
+ this.dgvSaUser.RowTemplate.Height = 23;
+ this.dgvSaUser.Size = new System.Drawing.Size(383, 456);
+ this.dgvSaUser.TabIndex = 189;
+ this.dgvSaUser.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSaUser_CellContentClick);
+ //
+ // colSelect
+ //
+ this.colSelect.HeaderText = "选择";
+ this.colSelect.MinimumWidth = 6;
+ this.colSelect.Name = "colSelect";
+ this.colSelect.ReadOnly = true;
+ this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colSelect.Width = 30;
+ //
+ // colSubSaId
+ //
+ this.colSubSaId.HeaderText = "二级超管Id";
+ this.colSubSaId.MinimumWidth = 6;
+ this.colSubSaId.Name = "colSubSaId";
+ this.colSubSaId.ReadOnly = true;
+ this.colSubSaId.Visible = false;
+ this.colSubSaId.Width = 125;
+ //
+ // colSubUserName
+ //
+ this.colSubUserName.HeaderText = "昵称";
+ this.colSubUserName.Name = "colSubUserName";
+ this.colSubUserName.ReadOnly = true;
+ this.colSubUserName.Width = 150;
+ //
+ // colSubSaName
+ //
+ this.colSubSaName.HeaderText = "账户";
+ this.colSubSaName.Name = "colSubSaName";
+ this.colSubSaName.ReadOnly = true;
+ this.colSubSaName.Width = 150;
+ //
+ // btnOk
+ //
+ this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnOk.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnOk.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnOk.ForeColor = System.Drawing.Color.White;
+ this.btnOk.Location = new System.Drawing.Point(321, 1);
+ this.btnOk.Margin = new System.Windows.Forms.Padding(2);
+ this.btnOk.Name = "btnOk";
+ this.btnOk.Size = new System.Drawing.Size(66, 26);
+ this.btnOk.TabIndex = 374;
+ this.btnOk.Text = "确定";
+ this.btnOk.UseVisualStyleBackColor = false;
+ this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
+ //
+ // AdminShopAddSubSaForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(393, 540);
+ this.Controls.Add(this.panel2);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "AdminShopAddSubSaForm";
+ this.Text = "指定二级超管";
+ this.TitleText = "指定二级超管";
+ this.Load += new System.EventHandler(this.AdminShopAddSubSaForm_Load);
+ this.Controls.SetChildIndex(this.panel2, 0);
+ this.panel2.ResumeLayout(false);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvSaUser)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel2;
+ private UserComponent.DataGridViewEx dgvSaUser;
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private UserControls.ButtonEx btnOk;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSubSaId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSubUserName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSubSaName;
+ }
+}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.cs
new file mode 100644
index 0000000..f9259e5
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.cs
@@ -0,0 +1,122 @@
+using AllBase;
+using AllBase.Model.Result;
+using NaiBa.Util.Extension;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using TemuKJD.BaseForms;
+using Work;
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ public partial class PDDAdminShopAddSubSaForm : LRBaseForm
+ {
+ List lstShopLoginName = new List();
+
+ List lstSubSa = new List();
+ public PDDAdminShopAddSubSaForm(List ShopSelectIds = null)
+ {
+ InitializeComponent();
+ if (ShopSelectIds != null)
+ lstShopLoginName.AddRange(ShopSelectIds);
+ }
+
+ private void btnOk_Click(object sender, EventArgs e)
+ {
+ var selectRow = this.dgvSaUser.Rows.Cast().FirstOrDefault(r => r.Cells["colSelect"]?.Value.ParseToBool() == true);
+ if (selectRow == null)
+ {
+ BaseMsgForm.ShowError("请选择要分配的二级管理员!");
+ return;
+ }
+ var sub_sa = selectRow.Cells["colSubSaName"].Value.ParseToString();
+
+ StringBuilder data = new StringBuilder();
+ data.Append(UserLogin.GetSignaturex());
+ data.Append("&shop_login_name=" + string.Join(",", lstShopLoginName));
+ data.Append("&operate_sub_sa_name=" + sub_sa);
+ string url = BaseClass.BuildObjString("shop/set_shop_sub_sa");
+ string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
+ if (!string.IsNullOrEmpty(html))
+ {
+ if (html.Contains("\"code\":200"))
+ {
+ OnSaveComplete(sub_sa);
+ this.Close();
+ }
+ else
+ {
+ var msg = BaseRegex.GetStringJson(ref html, "msg");
+ if (string.IsNullOrEmpty(msg))
+ msg = html;
+ BaseMsgForm.ShowError(msg, "错误");
+ }
+ }
+ else
+ BaseMsgForm.ShowError("未知错误,请重试!", "错误");
+ }
+
+ private void AdminShopAddSubSaForm_Load(object sender, EventArgs e)
+ {
+ dgvSaUser.Rows.Clear();
+ lstSubSa.Clear();
+ string url = BaseClass.BuildObjString("user/get_all_user");
+ StringBuilder data = new StringBuilder();
+ data.Append(UserLogin.GetSignaturex());
+ data.Append("&sa_level=2");
+ string html = GetHtml.PostUtf8(url, data.ToString());
+ if (string.IsNullOrEmpty(html))
+ return;
+ if (html.Contains("\"data\""))
+ {
+ var userObj = Newtonsoft.Json.Linq.JObject.Parse(html);
+ foreach (Newtonsoft.Json.Linq.JObject obj in userObj["data"])
+ {
+ string oStr = JsonHelper.SerializeObject(obj);
+ ShopSubAccountInfo user = new ShopSubAccountInfo();
+ user.id = BaseRegex.GetIntJson(ref oStr, "id");
+ user.user_name = BaseRegex.GetStringJson(ref oStr, "user_name");
+ user.nick_name = BaseRegex.GetStringJson(ref oStr, "nick_name");
+ user.mobile = BaseRegex.GetStringJson(ref oStr, "mobile");
+ user.group_id = BaseRegex.GetStringJson(ref oStr, "group_id");
+ user.shop_count = BaseRegex.GetIntJson(ref oStr, "shop_count");
+ user.company_name = BaseRegex.GetStringJson(ref oStr, "company_name");
+ user.sa_level = BaseRegex.GetIntJson(ref oStr, "sa_level");
+
+ lstSubSa.Add(user);
+ dgvSaUser.Rows.Add(
+ false,
+ user.id,
+ user.nick_name,
+ user.user_name);
+ }
+ }
+ }
+
+ private void dgvSaUser_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+
+ //string columnName = dgvSaUser.Columns[e.ColumnIndex].Name;
+ //switch (columnName)
+ //{
+ // case "colSelect":
+ var value = dgvSaUser.Rows[e.RowIndex].Cells["colSelect"].Value;
+ foreach (DataGridViewRow row in this.dgvSaUser.Rows)
+ row.Cells["colSelect"].Value = false;
+ dgvSaUser.Rows[e.RowIndex].Cells["colSelect"].Value = !(bool)value;
+ // break;
+ // default:
+ // break;
+ //}
+ }
+ }
+}
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.resx b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.resx
new file mode 100644
index 0000000..3867fb5
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopAddSubSaForm.resx
@@ -0,0 +1,310 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+
+
+ AAABAAEAgIAQAAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
+ AAD///8AAAAAAAAAAAAAAAAzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMQ
+ AAAAAAAAAAAAAAAAAAAAAAAAABM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZkzEAAAAAAAAAAAAAAAAAAAAAADOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZMwAAAAAAAAAAAAAAAAAAABOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZkzAAAAAAAAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmTEAAAAAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAAAA5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAADmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAAAA5mZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAADmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAGZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAJmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZAAAAAA
+ OZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmT
+ AAAAAZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmRAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZkwAAAZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZkwAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZMAAJmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZEAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTADmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkwCZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkRmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZOZmZOZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmP+JmZmZmZmZj///////
+ ///4OZmZj/eZmZmZmZmZmPg5OZmZmZuI//iIuZmZmZmZmZmZmZM5mZmZmZmZmZmZmb//+JmZmZmZmP//
+ //////////OZmP//uZmZmZmZmY//+ZmZOZf///////h5k5mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZ
+ mZ/////////////4mZ///4mZmZmZmZP///uZmZmP////////+JmZmZmZmZmZkzmZmZmZmZmZmZmZj//4
+ mZmZmZmf////////////+Jmf//+JmZmZmZmb///4mZmY//////////+JmZmZmZmZmZM5mZmZmZmZmZmZ
+ mY//+JmZmZmZn/////////////mZmP//iZmZmZmZk///+5mZj/////iP////+JmZmZmZmZmTOZmZmZmZ
+ mZmZmZmP//iZmZmZmZ////iIiIiIiIiZOZj//4mZmZmZmZP///uZmf////eZmT////+ZmZmZmZmZkzmZ
+ mZmZmZmZmZmZj//4mZmZmZmf//+JmZmZmZmZk5mY//+JmZmZmZmT///7mZj///+ZmZmZj///uZmZmZmZ
+ mZM5mZmZmZmZmZmZmY//+JmZmZmZn///iZmZmZmZmZmZmP//iZmZN5k5k///+5mY///zk5mZOT///4mZ
+ mZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZmZ///4mZmZmZmZmZmZj//4mZmP/5k5P///uZmP//+ZmZmZmY
+ //+JmZmZmZmZkzmZmZmZmZmZmZmZj//4mZmZmZmf///4iIiIiIg5mZmY//+JOb//+JmT///7mZj//4mZ
+ mZmZmP//+ZmZmZmZmZM5mZmZmZmZmZmZmY//+JmZmZmZn///////////85mZmP//iZn///+Jk///+5mf
+ //+JmZmZmZj///mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZmZ////////////+ZmZj//4mY////85v/
+ //uZmP//iZmZmZmY///5mZmZmZmZkzmZmZmZmZmZmZmZj//4mZmZmZmf////////////mZmY//+Jv///
+ //+Z///7mZj//4mZmZmZmP//+ZmZmZmZmZM5mZmZmZmZmZmZmY//+JmZmZmZn///////////+JmZmP//
+ if//////if//+5mY//+JmZmZmZj///mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZmZ///////////4mZ
+ mZj//4j///////j///uZmP//iZmZmZmY///5mZmZmZmZkzmZmZmZmZmZmZmZj//4mZmZmZmf//+JMzMz
+ MzOZOZmY//////+D///////7mZj//4mZmZmZmP//+ZmZmZmZmZM5mZmZmZmZmZmZmY//+JmZmZmZn///
+ iZmZmZmZmZmZmP//////mY//////+5mY//+JmZmZmZj///mZmZmZmZmTOZmZmZmZmZmZmZmP//iZmZmZ
+ mZ///4mZmZmZmZmZmZj/////+5mf//////uZmP//iZmZmZmY///5mZmZmZmZkzmZmZmZmZmZMzM5j//4
+ kzMzmZmf//+JMzMzMzM5mZmY/////4mTk//////7mZj//4mZmZmZmP//+ZmZmZmZmZM5mZmZmZmZmP//
+ /////////4mZn////////////4mZmP////+ZmZmP////+5mY//+JmZmZmZj///mZmZmZmZmTOZmZmZmZ
+ mY/////////////4mZ/////////////7mZj////7mZmZn/////uZmP//iZmZmZmY///5mZmZmZmZkzmZ
+ mZmZmZn//////////////5mf////////////+Jmf////iZmZk5P////4mZ///4mZmZmZmP//+ZmZmZmZ
+ mZM5mZmZmZmZj/////////////iZn/////////////iZmP///5mZmZmZj///+5mY//+JmZmZmZj//4mZ
+ mZmZmZmTOZmZmZmZmZ/////////////zmZP///////////+JmZP///uTmZmZmZj//4mZm///mZmZmZmZ
+ //85mZmZmZmZkzmZmZmZmZOZiIiIiIiIiIiImTmZOIiIiIiIiIiImTmZOIi5mZmZmZOZiIuZmZk4iZOZ
+ mZmZOZiDmZmZmZmZmZM5mZmZmZmZOZmZmZmZmZmZmZOZmZmZmZmZmZmZmZOZmZmZmZmZmZmZOZmZmZmZ
+ mZk5mZmZmZOZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmTuIiIiIs5mZmZmZmZ
+ mTu4i7mZmZmZmZmZmTMzmZOZmZkzOZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmTmbj///////+HmT
+ mZmZk4j/////iJmZmZk4iP////iZOZmZj/mZOZOIiIiIiIiIiDmZmZmZmZmZkzmZmZmZmZmZj///////
+ ///4mZk5k4///4iI///4OZOY////////iZOZmb/5mZmP///////////4mZmZmZmZmZM5mZmZmZmZn///
+ //////////mZmY///5mZmZP///iZmP////////+ZOZk/iZmY/////////////4mZmZmZmZmTOZmZmZmZ
+ mZ/////////////5mZ////+JmZmY////iZl/////////+ZmZP4mZP//////////////7mZmZmZmZkzmZ
+ mZmZmZmb////////////uZP/j///+HM3j/////+ZmYj///////iZmT+JmY//////////////+JmZmZmZ
+ mZM5mZmZmZmZmY//////////+JmT+Jv///////////iPmTmZOI/4mP//uTk/iZmP//////////////iZ
+ mZmZmZmTOZmZmZmZmZmf//////////mZmZmZ///////////5mZmZmZmTOZk///mZP4mZj///////////
+ ///4mZmZmZmZkzmZmZmZmZmTmP////////+JOZmZOY//////////iZmZmZmZmZk5mf/4mT+JmY//////
+ ////////+JmZmZmZmZM5mZmZmZmZmZn/////////mZmZmZk//////////zmZmZmZmZmZmTmP/zm/iZmP
+ //////////////iZmZmZmZmTOZmZmZmZmZk5v///////85OZmZkzmP////////iZmZmZmZmZmZmZn//4
+ /4mZj/////hzN4/////4mZmZmZmZkzmZmZmZmZmZmZj//////4mZmTmY/4j////////4mZmZmZmZmZmZ
+ mZj///+JmY////+JmZmY////+JmZmZmZmZM5mZmZmZmZmZmZ//////+ZmZmZj////////////4mZmZmZ
+ mZmZmZmb////+ZmP///4mZu5mY////iZmZmZmZmTOZmZmZmZmZmZOb/////4k5mZmP/////////////7
+ mZmZmZmZmZmZk/////OZv///+ZmP+Jmf///4mZmZmZmZkzmZmZmZmZmZmZmf////+ZmZmZj////////4
+ eI//+JmZmZmZmZmZmZP////4mb///4mY//+JmP//+5mZmZmZmZM5mZmZmZmZmZk5v/////uTmZmb////
+ ///4mZmX//iZmZmZmZmZmZmZ////+Jmf//95n///+Zj///OZmZmZmZmTOZmZmZmZmZmZmf//////mZmZ
+ mY//////+ZOZmZiJmZmZmZmZmZmZmY////+ZmP//+I////iP//+JmZmZmZmZkzmZmZmZmZmZmZj/////
+ /4mZmZmf/////5k5mZOZmTmZmZmZmZmZmZmP///4mZP/////////////OZmZmZmZmZM5mZmZmZmZmZk/
+ ///////zmZmZm/////iZmZmZmZmZmZmZmZmZmZmZj///85mZj///////////+JmZmZmZmZmTOZmZmZmZ
+ mZmZv///////+5mZmZmP///5mZmZmZmZmZmZmZmZmZmZmZ///3mZmZj//////////4mZmZmZmZmZkzmZ
+ mZmZmZmZmb///4j///uZmZmZmP//mTmZmZmZmZmZmZmZmZmZmZmY/4OZmZmZeP///////4eZmZmZmZmZ
+ mZM5mZmZmZmZmZmY/4OZOP+JmZmZmZmIiZOZmZmZmZmZmZmZmZmZmZmZmYiZmZmZmZk4iIiIiIOZmZmZ
+ mZmZmZmTOZmZmZmZmZmZmTOZmZkzmZmZmZmZmZk5mZmZmZmZmZmZmZmZmZmZmZmZk5mZmZmZmZmZmZmZ
+ mZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZM5mZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTOZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkzmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZM5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmTGZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZkwmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZADmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZkwA5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZMACZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmQAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAABmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTAAADmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAJmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmRAAAAA5mZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAACZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmQAAAAAAGZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZMAAAAAAAOZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZkwAAAAAA
+ AAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTAA
+ AAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZMAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZkwAAAAAAAAAAAAOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmTAAAAAAAAAAAAAAGZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZEAAAAAAAAAAAAAAAA5mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZMAAAAAAAAAAAAAAAAAATmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZMQAAAAAAAAAAAAAAAAAAABOZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZMQAAAAAAAAAAAAAAAAAAAAAAAzmZmZmZmZmZmZmZmZmZmZmZmZmZ
+ mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmTMAAAAAAAAAAAAAAAAAAAAAAAAAAAEzMzMzMzMzMzMzMzMzMz
+ MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxAAAAAAAAAAAAAAD////////////////////////4AAAA
+ AAAAAAAAAB//////wAAAAAAAAAAAAAAD/////wAAAAAAAAAAAAAAAP////wAAAAAAAAAAAAAAAA////w
+ AAAAAAAAAAAAAAAAD///4AAAAAAAAAAAAAAAAAf//8AAAAAAAAAAAAAAAAAD//+AAAAAAAAAAAAAAAAA
+ Af//AAAAAAAAAAAAAAAAAAD//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAA
+ AAAAAAAf+AAAAAAAAAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAA
+ AAAAAAAAAAAAB+AAAAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AA
+ AAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
+ AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
+ AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
+ AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
+ AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
+ AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
+ AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
+ AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
+ AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
+ AAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAA
+ AAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABgAAAAAAA
+ AAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAAD4AAAAAAAAAAAAAAAAAAAA+AA
+ AAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AAAAAAAAAAAAAAAAAA
+ AA/4AAAAAAAAAAAAAAAAAAAf/AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAAAD/+AAAAAAAAAAAA
+ AAAAAAB//wAAAAAAAAAAAAAAAAAA//+AAAAAAAAAAAAAAAAAAf//wAAAAAAAAAAAAAAAAAP//+AAAAAA
+ AAAAAAAAAAAH///4AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAD////8AAAAAAAAAAAAAAAD/////
+ wAAAAAAAAAAAAAAD//////wAAAAAAAAAAAAAH////////////////////////w==
+
+
+
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.Designer.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.Designer.cs
new file mode 100644
index 0000000..ff543b3
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.Designer.cs
@@ -0,0 +1,942 @@
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ partial class PDDAdminShopListForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.chkShowDelete = new System.Windows.Forms.CheckBox();
+ this.btnLoginSelect = new TemuKJD.UserControls.ButtonEx();
+ this.btnCheck = new TemuKJD.UserControls.ButtonEx();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.btnSetSubSa = new TemuKJD.UserControls.ButtonEx();
+ this.txtUserName = new System.Windows.Forms.TextBox();
+ this.label5 = new System.Windows.Forms.Label();
+ this.txtLoginName = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
+ this.btnSearch = new TemuKJD.UserControls.ButtonEx();
+ this.txtNotes = new System.Windows.Forms.TextBox();
+ this.label4 = new System.Windows.Forms.Label();
+ this.txtShopName = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.txtShopId = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.splitContainer2 = new System.Windows.Forms.SplitContainer();
+ this.pbLoading = new System.Windows.Forms.PictureBox();
+ this.pnlAddProdRemaining = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.pnlCancel = new DevComponents.DotNetBar.PanelEx();
+ this.numAddRemaining = new System.Windows.Forms.NumericUpDown();
+ this.btnRemainOK = new DevComponents.DotNetBar.PanelEx();
+ this.lblAddProdRemaining = new System.Windows.Forms.Label();
+ this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colShopAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.conNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colMinus = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colProductRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colPlus = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colCookie = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSubUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colGroupName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colUploadAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colBuyAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colChatAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colGotoShop = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colShopOperate = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colRelogin = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colRelogin2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colMultiLogin = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colApiAuth = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colBuyApiAuth = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colImportCookies = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colCopyCookies = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colUpload = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colSubSa = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.chkAutoDrag = new System.Windows.Forms.CheckBox();
+ this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
+ this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
+ this.lblShopId = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.tableLayoutPanel2.SuspendLayout();
+ this.panel5.SuspendLayout();
+ this.panel4.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
+ this.splitContainer2.Panel1.SuspendLayout();
+ this.splitContainer2.Panel2.SuspendLayout();
+ this.splitContainer2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
+ this.pnlAddProdRemaining.SuspendLayout();
+ this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numAddRemaining)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
+ this.SuspendLayout();
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.BackColor = System.Drawing.Color.White;
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel2);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
+ this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
+ this.splitContainer1.Size = new System.Drawing.Size(1273, 610);
+ this.splitContainer1.SplitterDistance = 46;
+ this.splitContainer1.TabIndex = 34;
+ //
+ // tableLayoutPanel2
+ //
+ this.tableLayoutPanel2.ColumnCount = 2;
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ this.tableLayoutPanel2.Controls.Add(this.panel5, 1, 0);
+ this.tableLayoutPanel2.Controls.Add(this.panel4, 0, 0);
+ this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel2.Name = "tableLayoutPanel2";
+ this.tableLayoutPanel2.RowCount = 1;
+ this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel2.Size = new System.Drawing.Size(1273, 46);
+ this.tableLayoutPanel2.TabIndex = 37;
+ //
+ // panel5
+ //
+ this.panel5.Controls.Add(this.chkShowDelete);
+ this.panel5.Controls.Add(this.btnLoginSelect);
+ this.panel5.Controls.Add(this.btnCheck);
+ this.panel5.Location = new System.Drawing.Point(1010, 3);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(260, 40);
+ this.panel5.TabIndex = 1;
+ //
+ // chkShowDelete
+ //
+ this.chkShowDelete.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.chkShowDelete.AutoSize = true;
+ this.chkShowDelete.BackColor = System.Drawing.Color.White;
+ this.chkShowDelete.Location = new System.Drawing.Point(29, 12);
+ this.chkShowDelete.Name = "chkShowDelete";
+ this.chkShowDelete.Size = new System.Drawing.Size(87, 21);
+ this.chkShowDelete.TabIndex = 374;
+ this.chkShowDelete.Text = "显示操作栏";
+ this.chkShowDelete.UseVisualStyleBackColor = false;
+ this.chkShowDelete.CheckedChanged += new System.EventHandler(this.chkShowDelete_CheckedChanged);
+ //
+ // btnLoginSelect
+ //
+ this.btnLoginSelect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnLoginSelect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnLoginSelect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnLoginSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnLoginSelect.ForeColor = System.Drawing.Color.White;
+ this.btnLoginSelect.Location = new System.Drawing.Point(193, 9);
+ this.btnLoginSelect.Margin = new System.Windows.Forms.Padding(2);
+ this.btnLoginSelect.Name = "btnLoginSelect";
+ this.btnLoginSelect.Size = new System.Drawing.Size(66, 26);
+ this.btnLoginSelect.TabIndex = 373;
+ this.btnLoginSelect.Text = "登录选中";
+ this.btnLoginSelect.UseVisualStyleBackColor = false;
+ this.btnLoginSelect.Click += new System.EventHandler(this.btnLoginSelect_Click);
+ //
+ // btnCheck
+ //
+ this.btnCheck.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnCheck.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnCheck.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnCheck.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnCheck.ForeColor = System.Drawing.Color.White;
+ this.btnCheck.Location = new System.Drawing.Point(123, 9);
+ this.btnCheck.Margin = new System.Windows.Forms.Padding(2);
+ this.btnCheck.Name = "btnCheck";
+ this.btnCheck.Size = new System.Drawing.Size(66, 26);
+ this.btnCheck.TabIndex = 372;
+ this.btnCheck.Text = "检测选中";
+ this.btnCheck.UseVisualStyleBackColor = false;
+ this.btnCheck.Click += new System.EventHandler(this.btnCheck_Click);
+ //
+ // panel4
+ //
+ this.panel4.Controls.Add(this.btnSetSubSa);
+ this.panel4.Controls.Add(this.txtUserName);
+ this.panel4.Controls.Add(this.label5);
+ this.panel4.Controls.Add(this.txtLoginName);
+ this.panel4.Controls.Add(this.label1);
+ this.panel4.Controls.Add(this.pnlEmpty);
+ this.panel4.Controls.Add(this.btnSearch);
+ this.panel4.Controls.Add(this.txtNotes);
+ this.panel4.Controls.Add(this.label4);
+ this.panel4.Controls.Add(this.txtShopName);
+ this.panel4.Controls.Add(this.label3);
+ this.panel4.Controls.Add(this.txtShopId);
+ this.panel4.Controls.Add(this.label2);
+ this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel4.Location = new System.Drawing.Point(3, 3);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(1001, 40);
+ this.panel4.TabIndex = 0;
+ //
+ // btnSetSubSa
+ //
+ this.btnSetSubSa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnSetSubSa.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSetSubSa.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSetSubSa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnSetSubSa.ForeColor = System.Drawing.Color.White;
+ this.btnSetSubSa.Location = new System.Drawing.Point(895, 9);
+ this.btnSetSubSa.Margin = new System.Windows.Forms.Padding(2);
+ this.btnSetSubSa.Name = "btnSetSubSa";
+ this.btnSetSubSa.Size = new System.Drawing.Size(93, 26);
+ this.btnSetSubSa.TabIndex = 424;
+ this.btnSetSubSa.Text = "分配二级超管";
+ this.btnSetSubSa.UseVisualStyleBackColor = false;
+ this.btnSetSubSa.Click += new System.EventHandler(this.btnSetSubSa_Click);
+ //
+ // txtUserName
+ //
+ this.txtUserName.Location = new System.Drawing.Point(34, 11);
+ this.txtUserName.Name = "txtUserName";
+ this.txtUserName.Size = new System.Drawing.Size(90, 23);
+ this.txtUserName.TabIndex = 419;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(1, 14);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(44, 17);
+ this.label5.TabIndex = 420;
+ this.label5.Text = "账户:";
+ //
+ // txtLoginName
+ //
+ this.txtLoginName.Location = new System.Drawing.Point(185, 11);
+ this.txtLoginName.Name = "txtLoginName";
+ this.txtLoginName.Size = new System.Drawing.Size(90, 23);
+ this.txtLoginName.TabIndex = 417;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(128, 14);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(68, 17);
+ this.label1.TabIndex = 418;
+ this.label1.Text = "登录号码:";
+ //
+ // pnlEmpty
+ //
+ this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
+ this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
+ this.pnlEmpty.Location = new System.Drawing.Point(749, 9);
+ this.pnlEmpty.Name = "pnlEmpty";
+ this.pnlEmpty.Size = new System.Drawing.Size(56, 26);
+ this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.pnlEmpty.Style.GradientAngle = 90;
+ this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.pnlEmpty.TabIndex = 413;
+ this.pnlEmpty.Text = "清空条件";
+ this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
+ //
+ // btnSearch
+ //
+ this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnSearch.ForeColor = System.Drawing.Color.White;
+ this.btnSearch.Location = new System.Drawing.Point(688, 9);
+ this.btnSearch.Margin = new System.Windows.Forms.Padding(2);
+ this.btnSearch.Name = "btnSearch";
+ this.btnSearch.Size = new System.Drawing.Size(56, 26);
+ this.btnSearch.TabIndex = 372;
+ this.btnSearch.Text = "搜索";
+ this.btnSearch.UseVisualStyleBackColor = false;
+ this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
+ //
+ // txtNotes
+ //
+ this.txtNotes.Location = new System.Drawing.Point(589, 11);
+ this.txtNotes.Name = "txtNotes";
+ this.txtNotes.Size = new System.Drawing.Size(90, 23);
+ this.txtNotes.TabIndex = 376;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(556, 14);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(44, 17);
+ this.label4.TabIndex = 377;
+ this.label4.Text = "备注:";
+ //
+ // txtShopName
+ //
+ this.txtShopName.Location = new System.Drawing.Point(462, 11);
+ this.txtShopName.Name = "txtShopName";
+ this.txtShopName.Size = new System.Drawing.Size(90, 23);
+ this.txtShopName.TabIndex = 374;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(417, 14);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(56, 17);
+ this.label3.TabIndex = 375;
+ this.label3.Text = "店铺名:";
+ //
+ // txtShopId
+ //
+ this.txtShopId.Location = new System.Drawing.Point(323, 11);
+ this.txtShopId.Name = "txtShopId";
+ this.txtShopId.Size = new System.Drawing.Size(90, 23);
+ this.txtShopId.TabIndex = 372;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(279, 14);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(55, 17);
+ this.label2.TabIndex = 373;
+ this.label2.Text = "店铺id:";
+ //
+ // splitContainer2
+ //
+ this.splitContainer2.BackColor = System.Drawing.Color.White;
+ this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer2.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer2.Name = "splitContainer2";
+ this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer2.Panel1
+ //
+ this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
+ this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
+ this.splitContainer2.Panel1.Controls.Add(this.pnlAddProdRemaining);
+ this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
+ this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ //
+ // splitContainer2.Panel2
+ //
+ this.splitContainer2.Panel2.Controls.Add(this.chkAutoDrag);
+ this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
+ this.splitContainer2.Panel2.Controls.Add(this.statusBar);
+ this.splitContainer2.Size = new System.Drawing.Size(1273, 560);
+ this.splitContainer2.SplitterDistance = 531;
+ this.splitContainer2.TabIndex = 0;
+ //
+ // pbLoading
+ //
+ this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pbLoading.Location = new System.Drawing.Point(611, 240);
+ this.pbLoading.Name = "pbLoading";
+ this.pbLoading.Size = new System.Drawing.Size(50, 50);
+ this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pbLoading.TabIndex = 6;
+ this.pbLoading.TabStop = false;
+ //
+ // pnlAddProdRemaining
+ //
+ this.pnlAddProdRemaining.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pnlAddProdRemaining.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.pnlAddProdRemaining.Controls.Add(this.lblShopId);
+ this.pnlAddProdRemaining.Controls.Add(this.panel2);
+ this.pnlAddProdRemaining.Controls.Add(this.lblAddProdRemaining);
+ this.pnlAddProdRemaining.Location = new System.Drawing.Point(399, 70);
+ this.pnlAddProdRemaining.Name = "pnlAddProdRemaining";
+ this.pnlAddProdRemaining.Size = new System.Drawing.Size(474, 146);
+ this.pnlAddProdRemaining.TabIndex = 7;
+ this.pnlAddProdRemaining.Visible = false;
+ //
+ // panel2
+ //
+ this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
+ this.panel2.Controls.Add(this.pnlCancel);
+ this.panel2.Controls.Add(this.numAddRemaining);
+ this.panel2.Controls.Add(this.btnRemainOK);
+ this.panel2.Location = new System.Drawing.Point(23, 80);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(424, 29);
+ this.panel2.TabIndex = 454;
+ //
+ // pnlCancel
+ //
+ this.pnlCancel.CanvasColor = System.Drawing.SystemColors.Control;
+ this.pnlCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.pnlCancel.DisabledBackColor = System.Drawing.Color.Empty;
+ this.pnlCancel.Location = new System.Drawing.Point(273, 2);
+ this.pnlCancel.Name = "pnlCancel";
+ this.pnlCancel.Size = new System.Drawing.Size(56, 24);
+ this.pnlCancel.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.pnlCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.pnlCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.pnlCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.pnlCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.pnlCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.pnlCancel.Style.GradientAngle = 90;
+ this.pnlCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.pnlCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.pnlCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.pnlCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.pnlCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.pnlCancel.TabIndex = 458;
+ this.pnlCancel.Text = "取消";
+ this.pnlCancel.Click += new System.EventHandler(this.pnlCancel_Click);
+ //
+ // numAddRemaining
+ //
+ this.numAddRemaining.Location = new System.Drawing.Point(93, 3);
+ this.numAddRemaining.Maximum = new decimal(new int[] {
+ 10000,
+ 0,
+ 0,
+ 0});
+ this.numAddRemaining.Name = "numAddRemaining";
+ this.numAddRemaining.Size = new System.Drawing.Size(120, 23);
+ this.numAddRemaining.TabIndex = 1;
+ //
+ // btnRemainOK
+ //
+ this.btnRemainOK.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnRemainOK.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnRemainOK.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnRemainOK.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnRemainOK.Location = new System.Drawing.Point(215, 2);
+ this.btnRemainOK.Name = "btnRemainOK";
+ this.btnRemainOK.Size = new System.Drawing.Size(56, 24);
+ this.btnRemainOK.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRemainOK.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRemainOK.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRemainOK.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnRemainOK.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnRemainOK.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnRemainOK.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnRemainOK.Style.GradientAngle = 90;
+ this.btnRemainOK.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRemainOK.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRemainOK.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRemainOK.TabIndex = 453;
+ this.btnRemainOK.Text = "确定";
+ this.btnRemainOK.Click += new System.EventHandler(this.btnRemainOK_Click);
+ //
+ // lblAddProdRemaining
+ //
+ this.lblAddProdRemaining.Location = new System.Drawing.Point(23, 36);
+ this.lblAddProdRemaining.Name = "lblAddProdRemaining";
+ this.lblAddProdRemaining.Size = new System.Drawing.Size(424, 17);
+ this.lblAddProdRemaining.TabIndex = 0;
+ this.lblAddProdRemaining.Text = "shopInfo";
+ this.lblAddProdRemaining.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // dgvShop
+ //
+ this.dgvShop.AllowUserToAddRows = false;
+ this.dgvShop.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle6.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
+ this.dgvShop.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+ this.dgvShop.BackgroundColor = System.Drawing.Color.White;
+ this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+ this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colSelect,
+ this.colLoginName,
+ this.colShopId,
+ this.colShopAccount,
+ this.conNotes,
+ this.colMinus,
+ this.colProductRemaining,
+ this.colPlus,
+ this.colCookie,
+ this.colUser,
+ this.colSubUser,
+ this.colGroupName,
+ this.colUploadAccount,
+ this.colBuyAccount,
+ this.colChatAccount,
+ this.colLoginStatus,
+ this.colGotoShop,
+ this.colShopOperate,
+ this.colRelogin,
+ this.colRelogin2,
+ this.colMultiLogin,
+ this.colApiAuth,
+ this.colBuyApiAuth,
+ this.colImportCookies,
+ this.colCopyCookies,
+ this.colUpload,
+ this.colSubSa,
+ this.colEdit,
+ this.colDelete});
+ this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvShop.Location = new System.Drawing.Point(4, 0);
+ this.dgvShop.Name = "dgvShop";
+ this.dgvShop.ReadOnly = true;
+ this.dgvShop.RowTemplate.Height = 23;
+ this.dgvShop.ShowCellErrors = false;
+ this.dgvShop.Size = new System.Drawing.Size(1265, 531);
+ this.dgvShop.TabIndex = 5;
+ this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
+ this.dgvShop.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvShop_CellMouseDown);
+ //
+ // colSelect
+ //
+ this.colSelect.FillWeight = 26F;
+ this.colSelect.HeaderText = "选";
+ this.colSelect.Name = "colSelect";
+ this.colSelect.ReadOnly = true;
+ this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ //
+ // colLoginName
+ //
+ this.colLoginName.FillWeight = 70F;
+ this.colLoginName.HeaderText = "店铺登录号码";
+ this.colLoginName.Name = "colLoginName";
+ this.colLoginName.ReadOnly = true;
+ //
+ // colShopId
+ //
+ this.colShopId.FillWeight = 70F;
+ this.colShopId.HeaderText = "店铺Id";
+ this.colShopId.Name = "colShopId";
+ this.colShopId.ReadOnly = true;
+ //
+ // colShopAccount
+ //
+ this.colShopAccount.HeaderText = "店铺账号";
+ this.colShopAccount.Name = "colShopAccount";
+ this.colShopAccount.ReadOnly = true;
+ //
+ // conNotes
+ //
+ this.conNotes.HeaderText = "备注";
+ this.conNotes.Name = "conNotes";
+ this.conNotes.ReadOnly = true;
+ //
+ // colMinus
+ //
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.colMinus.DefaultCellStyle = dataGridViewCellStyle8;
+ this.colMinus.FillWeight = 15F;
+ this.colMinus.HeaderText = "-";
+ this.colMinus.Name = "colMinus";
+ this.colMinus.ReadOnly = true;
+ this.colMinus.Visible = false;
+ //
+ // colProductRemaining
+ //
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.colProductRemaining.DefaultCellStyle = dataGridViewCellStyle9;
+ this.colProductRemaining.FillWeight = 30F;
+ this.colProductRemaining.HeaderText = "选品限额";
+ this.colProductRemaining.Name = "colProductRemaining";
+ this.colProductRemaining.ReadOnly = true;
+ //
+ // colPlus
+ //
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.colPlus.DefaultCellStyle = dataGridViewCellStyle10;
+ this.colPlus.FillWeight = 15F;
+ this.colPlus.HeaderText = "+";
+ this.colPlus.Name = "colPlus";
+ this.colPlus.ReadOnly = true;
+ //
+ // colCookie
+ //
+ this.colCookie.HeaderText = "店铺Cookie";
+ this.colCookie.Name = "colCookie";
+ this.colCookie.ReadOnly = true;
+ this.colCookie.Visible = false;
+ //
+ // colUser
+ //
+ this.colUser.FillWeight = 67F;
+ this.colUser.HeaderText = "所属账户";
+ this.colUser.Name = "colUser";
+ this.colUser.ReadOnly = true;
+ //
+ // colSubUser
+ //
+ this.colSubUser.FillWeight = 67F;
+ this.colSubUser.HeaderText = "子账户";
+ this.colSubUser.Name = "colSubUser";
+ this.colSubUser.ReadOnly = true;
+ //
+ // colGroupName
+ //
+ this.colGroupName.FillWeight = 70F;
+ this.colGroupName.HeaderText = "店铺分组";
+ this.colGroupName.Name = "colGroupName";
+ this.colGroupName.ReadOnly = true;
+ this.colGroupName.Visible = false;
+ //
+ // colUploadAccount
+ //
+ this.colUploadAccount.FillWeight = 70F;
+ this.colUploadAccount.HeaderText = "上货账户";
+ this.colUploadAccount.Name = "colUploadAccount";
+ this.colUploadAccount.ReadOnly = true;
+ this.colUploadAccount.Visible = false;
+ //
+ // colBuyAccount
+ //
+ this.colBuyAccount.FillWeight = 70F;
+ this.colBuyAccount.HeaderText = "采购账户";
+ this.colBuyAccount.Name = "colBuyAccount";
+ this.colBuyAccount.ReadOnly = true;
+ this.colBuyAccount.Visible = false;
+ //
+ // colChatAccount
+ //
+ this.colChatAccount.FillWeight = 70F;
+ this.colChatAccount.HeaderText = "客服账户";
+ this.colChatAccount.Name = "colChatAccount";
+ this.colChatAccount.ReadOnly = true;
+ this.colChatAccount.Visible = false;
+ //
+ // colLoginStatus
+ //
+ this.colLoginStatus.HeaderText = "登录状态";
+ this.colLoginStatus.Name = "colLoginStatus";
+ this.colLoginStatus.ReadOnly = true;
+ this.colLoginStatus.Visible = false;
+ //
+ // colGotoShop
+ //
+ this.colGotoShop.FillWeight = 46F;
+ this.colGotoShop.HeaderText = "进入店铺";
+ this.colGotoShop.Name = "colGotoShop";
+ this.colGotoShop.ReadOnly = true;
+ this.colGotoShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colGotoShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ //
+ // colShopOperate
+ //
+ this.colShopOperate.FillWeight = 46F;
+ this.colShopOperate.HeaderText = "检测";
+ this.colShopOperate.Name = "colShopOperate";
+ this.colShopOperate.ReadOnly = true;
+ this.colShopOperate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colShopOperate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colShopOperate.Visible = false;
+ //
+ // colRelogin
+ //
+ this.colRelogin.FillWeight = 40F;
+ this.colRelogin.HeaderText = "登录";
+ this.colRelogin.Name = "colRelogin";
+ this.colRelogin.ReadOnly = true;
+ this.colRelogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colRelogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ //
+ // colRelogin2
+ //
+ this.colRelogin2.FillWeight = 55F;
+ this.colRelogin2.HeaderText = "国际版状态";
+ this.colRelogin2.Name = "colRelogin2";
+ this.colRelogin2.ReadOnly = true;
+ //
+ // colMultiLogin
+ //
+ this.colMultiLogin.FillWeight = 52F;
+ this.colMultiLogin.HeaderText = "多重登录";
+ this.colMultiLogin.Name = "colMultiLogin";
+ this.colMultiLogin.ReadOnly = true;
+ this.colMultiLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colMultiLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colMultiLogin.Visible = false;
+ //
+ // colApiAuth
+ //
+ this.colApiAuth.FillWeight = 70F;
+ this.colApiAuth.HeaderText = "上货授权";
+ this.colApiAuth.Name = "colApiAuth";
+ this.colApiAuth.ReadOnly = true;
+ this.colApiAuth.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colApiAuth.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colApiAuth.Visible = false;
+ //
+ // colBuyApiAuth
+ //
+ this.colBuyApiAuth.FillWeight = 70F;
+ this.colBuyApiAuth.HeaderText = "拍单授权";
+ this.colBuyApiAuth.Name = "colBuyApiAuth";
+ this.colBuyApiAuth.ReadOnly = true;
+ this.colBuyApiAuth.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colBuyApiAuth.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colBuyApiAuth.Visible = false;
+ //
+ // colImportCookies
+ //
+ this.colImportCookies.FillWeight = 70F;
+ this.colImportCookies.HeaderText = "导入Cookie";
+ this.colImportCookies.Name = "colImportCookies";
+ this.colImportCookies.ReadOnly = true;
+ this.colImportCookies.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colImportCookies.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ //
+ // colCopyCookies
+ //
+ this.colCopyCookies.FillWeight = 70F;
+ this.colCopyCookies.HeaderText = "复制Cookie";
+ this.colCopyCookies.Name = "colCopyCookies";
+ this.colCopyCookies.ReadOnly = true;
+ this.colCopyCookies.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colCopyCookies.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ //
+ // colUpload
+ //
+ this.colUpload.FillWeight = 67F;
+ this.colUpload.HeaderText = "上传商品";
+ this.colUpload.Name = "colUpload";
+ this.colUpload.ReadOnly = true;
+ this.colUpload.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colUpload.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colUpload.Visible = false;
+ //
+ // colSubSa
+ //
+ this.colSubSa.FillWeight = 67F;
+ this.colSubSa.HeaderText = "二级超管";
+ this.colSubSa.Name = "colSubSa";
+ this.colSubSa.ReadOnly = true;
+ //
+ // colEdit
+ //
+ this.colEdit.FillWeight = 46F;
+ this.colEdit.HeaderText = "编辑";
+ this.colEdit.Name = "colEdit";
+ this.colEdit.ReadOnly = true;
+ this.colEdit.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colEdit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colEdit.Visible = false;
+ //
+ // colDelete
+ //
+ this.colDelete.FillWeight = 46F;
+ this.colDelete.HeaderText = "删除";
+ this.colDelete.Name = "colDelete";
+ this.colDelete.ReadOnly = true;
+ this.colDelete.Visible = false;
+ //
+ // chkAutoDrag
+ //
+ this.chkAutoDrag.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.chkAutoDrag.AutoSize = true;
+ this.chkAutoDrag.BackColor = System.Drawing.Color.White;
+ this.chkAutoDrag.Location = new System.Drawing.Point(597, 0);
+ this.chkAutoDrag.Name = "chkAutoDrag";
+ this.chkAutoDrag.Size = new System.Drawing.Size(159, 21);
+ this.chkAutoDrag.TabIndex = 3;
+ this.chkAutoDrag.Text = "登录时自动滑动拼图验证";
+ this.chkAutoDrag.UseVisualStyleBackColor = false;
+ this.chkAutoDrag.Visible = false;
+ //
+ // ucSplitPage1
+ //
+ this.ucSplitPage1.CurrentPage = 1;
+ this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
+ this.ucSplitPage1.IsShowPageSize = false;
+ this.ucSplitPage1.Location = new System.Drawing.Point(911, 0);
+ this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
+ this.ucSplitPage1.Name = "ucSplitPage1";
+ this.ucSplitPage1.PageSize = 50;
+ this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
+ this.ucSplitPage1.TabIndex = 4;
+ this.ucSplitPage1.TotalPage = 1;
+ //
+ // statusBar
+ //
+ this.statusBar.BackColor = System.Drawing.Color.White;
+ this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.statusBar.Location = new System.Drawing.Point(0, 0);
+ this.statusBar.Margin = new System.Windows.Forms.Padding(0);
+ this.statusBar.Name = "statusBar";
+ this.statusBar.Size = new System.Drawing.Size(1273, 25);
+ this.statusBar.TabIndex = 1;
+ //
+ // lblShopId
+ //
+ this.lblShopId.AutoSize = true;
+ this.lblShopId.Location = new System.Drawing.Point(20, 19);
+ this.lblShopId.Name = "lblShopId";
+ this.lblShopId.Size = new System.Drawing.Size(50, 17);
+ this.lblShopId.TabIndex = 455;
+ this.lblShopId.Text = "ShopId";
+ this.lblShopId.Visible = false;
+ //
+ // AdminShopListForm
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(1273, 610);
+ this.Controls.Add(this.splitContainer1);
+ this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.Name = "AdminShopListForm";
+ this.Text = "AdminShopForm";
+ this.Load += new System.EventHandler(this.AdminShopForm_Load);
+ this.VisibleChanged += new System.EventHandler(this.AdminShopForm_VisibleChanged);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.tableLayoutPanel2.ResumeLayout(false);
+ this.panel5.ResumeLayout(false);
+ this.panel5.PerformLayout();
+ this.panel4.ResumeLayout(false);
+ this.panel4.PerformLayout();
+ this.splitContainer2.Panel1.ResumeLayout(false);
+ this.splitContainer2.Panel2.ResumeLayout(false);
+ this.splitContainer2.Panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
+ this.splitContainer2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
+ this.pnlAddProdRemaining.ResumeLayout(false);
+ this.pnlAddProdRemaining.PerformLayout();
+ this.panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.numAddRemaining)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
+ private System.Windows.Forms.Panel panel5;
+ private UserControls.ButtonEx btnLoginSelect;
+ private UserControls.ButtonEx btnCheck;
+ private System.Windows.Forms.Panel panel4;
+ private UserControls.ButtonEx btnSearch;
+ private System.Windows.Forms.TextBox txtNotes;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.TextBox txtShopName;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox txtShopId;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.SplitContainer splitContainer2;
+ private System.Windows.Forms.PictureBox pbLoading;
+ private UserComponent.DataGridViewEx dgvShop;
+ private System.Windows.Forms.CheckBox chkAutoDrag;
+ private UserControls.StatusBarUserControl statusBar;
+ private DevComponents.DotNetBar.PanelEx pnlEmpty;
+ private UserControls.UcSplitPage ucSplitPage1;
+ private System.Windows.Forms.TextBox txtLoginName;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TextBox txtUserName;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.CheckBox chkShowDelete;
+ private UserControls.ButtonEx btnSetSubSa;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colLoginName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colShopAccount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn conNotes;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colMinus;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colProductRemaining;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colPlus;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colCookie;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colUser;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSubUser;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colGroupName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colUploadAccount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colBuyAccount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colChatAccount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
+ private System.Windows.Forms.DataGridViewLinkColumn colGotoShop;
+ private System.Windows.Forms.DataGridViewLinkColumn colShopOperate;
+ private System.Windows.Forms.DataGridViewLinkColumn colRelogin;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRelogin2;
+ private System.Windows.Forms.DataGridViewLinkColumn colMultiLogin;
+ private System.Windows.Forms.DataGridViewLinkColumn colApiAuth;
+ private System.Windows.Forms.DataGridViewLinkColumn colBuyApiAuth;
+ private System.Windows.Forms.DataGridViewLinkColumn colImportCookies;
+ private System.Windows.Forms.DataGridViewLinkColumn colCopyCookies;
+ private System.Windows.Forms.DataGridViewLinkColumn colUpload;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSubSa;
+ private System.Windows.Forms.DataGridViewLinkColumn colEdit;
+ private System.Windows.Forms.DataGridViewLinkColumn colDelete;
+ private System.Windows.Forms.Panel pnlAddProdRemaining;
+ private System.Windows.Forms.Label lblAddProdRemaining;
+ private System.Windows.Forms.NumericUpDown numAddRemaining;
+ private System.Windows.Forms.Panel panel2;
+ private DevComponents.DotNetBar.PanelEx btnRemainOK;
+ private DevComponents.DotNetBar.PanelEx pnlCancel;
+ private System.Windows.Forms.Label lblShopId;
+ }
+}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.cs
new file mode 100644
index 0000000..5093bf5
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.cs
@@ -0,0 +1,650 @@
+using AllBase;
+using AllBase.Model.Param.TemuProductManage;
+using AllBase.Model.Result;
+using NaiBa.Util.Extension;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Globalization;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using TemuKJD.BLL;
+using TemuKJD.Extension;
+using TemuKJD.BaseForms;
+using TemuKJD.PDDForms.ShopForms;
+using Work;
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ public partial class PDDAdminShopListForm : BaseForm
+ {
+ static PDDAdminShopListForm inst = null;
+ public static PDDAdminShopListForm Instance
+ {
+ get { if (inst == null) inst = new PDDAdminShopListForm(); return inst; }
+ set { inst = value; }
+ }
+
+ public static List lstAdminShopInfo { get; set; } = new List();
+
+ public PDDAdminShopListForm()
+ {
+ InitializeComponent();
+
+ Instance = this;
+ }
+
+ private void AdminShopForm_Load(object sender, EventArgs e)
+ {
+ this.ucSplitPage1.PageChange += UcSplitPage1_PageChange;
+
+ this.dgvShop.AddSelectorColumn("colSelect");
+ this.dgvShop.AddMergeColumnHeader(new List() { /*"colMinus",*/ "colProductRemaining", "colPlus" }, "选品限额");
+ this.dgvShop.AddMergeColumn(new List() { /*"colMinus",*/ "colProductRemaining", "colPlus" });
+ this.dgvShop.Columns["colMinus"].HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
+ this.dgvShop.Columns["colPlus"].HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
+ this.dgvShop.Columns["colPlus"].HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
+
+
+ if (BaseClass.SaLevel != 1)
+ {
+ this.chkShowDelete.Visible = false;
+
+ dgvShop.Columns["colSubSa"].Visible = false;
+ btnSetSubSa.Visible = false;
+ }
+ }
+
+ bool firstLoad = true;
+ private void AdminShopForm_VisibleChanged(object sender, EventArgs e)
+ {
+ if (this.Visible == true && firstLoad)
+ {
+ firstLoad = false;
+ this.pbLoading.Visible = true;
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ }
+ }
+
+ private void UcSplitPage1_PageChange(object obj)
+ {
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ }
+
+ public void SearchShop(int page)
+ {
+ List shopIdList = GetCheckedShopIdList();
+ if (InvokeRequired)
+ {
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = true;
+ this.dgvShop.Rows.Clear();
+ lstAdminShopInfo.Clear();
+ }));
+ }
+ else
+ {
+ this.pbLoading.Visible = true;
+ this.dgvShop.Rows.Clear();
+ lstAdminShopInfo.Clear();
+ }
+ Task.Run(() =>
+ {
+ int pageCount;
+ var list = AdminGetServerShopLst(out pageCount, page);
+ lstAdminShopInfo.AddRange(list);
+ this.ucSplitPage1.TotalPage = pageCount;
+
+ foreach (var shop in lstAdminShopInfo)
+ {
+ Invoke(new Action(() =>
+ {
+ int rowIndex = this.dgvShop.Rows.Add(
+ shopIdList.Contains(shop.ShopId + shop.UserName),
+ shop.LoginName,
+ shop.ShopId,
+ shop.ShopAccount,
+ shop.Notes,
+ "-",
+ shop.AddProductRemaining,
+ "+",
+ //"±",
+ shop.Cookies,
+ shop.UserName,
+ shop.SubUserName,
+ shop.GroupName,
+ shop.UploadAccount,
+ shop.BuyAccount,
+ shop.ChatAccount,
+ "",
+ "进入",
+ "检测",
+ string.IsNullOrWhiteSpace(shop.LoginStatus) ? "未登录" : shop.LoginStatus.Trim(),
+ string.IsNullOrWhiteSpace(shop.LoginStatus2) ? "国际版未登录" : shop.LoginStatus2.Trim(),
+ "多重登录",
+ shop.ApiAuthStatus,
+ shop.BuyApiAuth.ApiAuthStatus,
+ "导入Cookie",
+ "复制Cookie",
+ "上传",
+ shop.OperateSubSaName,
+ "编辑",
+ "删除");
+ }));
+ }
+
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = false;
+ }));
+ });
+ }
+
+ private void btnSearch_Click(object sender, EventArgs e)
+ {
+ if (this.ucSplitPage1.CurrentPage != 1)
+ this.ucSplitPage1.CurrentPage = 1;
+ else
+ SearchShop(1);
+ }
+
+ private void pnlEmpty_Click(object sender, EventArgs e)
+ {
+ this.txtUserName.Text = "";
+ this.txtLoginName.Text = "";
+ this.txtNotes.Text = "";
+ this.txtShopId.Text = "";
+ this.txtShopName.Text = "";
+ }
+
+ bool IsOperate = false;
+ private void btnLoginSelect_Click(object sender, EventArgs e)
+ {
+ IsOperate = true;
+ if (this.btnLoginSelect.Text == "登录选中")
+ {
+ List shopLoginNameList = GetCheckedList();
+ if (!shopLoginNameList.Any())
+ {
+ BaseMsgForm.ShowError("请选择需要登录的店铺");
+ IsOperate = false;
+ return;
+ }
+
+ shopLoginNameList = shopLoginNameList.Distinct().ToList();
+ foreach (var loginName in shopLoginNameList)
+ {
+ if (IsOperate == false)
+ break;
+
+ var shopInfo = lstAdminShopInfo.FirstOrDefault(v => v.LoginName == loginName);
+ if (shopInfo != null && !string.IsNullOrEmpty(shopInfo.LoginName) && !string.IsNullOrEmpty(shopInfo.Password))
+ {
+ PDDAdminShopLoginForm shopLoginForm = new PDDAdminShopLoginForm(shopInfo);
+ shopLoginForm.openType = EnumOpenType.login;
+ shopLoginForm.ShowDialog();
+ }
+ }
+ if (shopLoginNameList.Count>0)
+ {
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ }
+ }
+ IsOperate = false;
+ }
+
+ private void shopLoginForm_SaveComplete(object obj)
+ {
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ }
+
+ private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+ string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
+ string loginName = dgvShop.Rows[e.RowIndex].Cells["colLoginName"].Value.ParseToString();
+ string accountId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
+ var shop = lstAdminShopInfo.FirstOrDefault(v => v.LoginName == loginName && v.ShopId == accountId);
+
+ switch (headerText)
+ {
+ case "检测":
+ //CheckShopLoginAsync(new string[] { loginName });
+ break;
+ case "进入店铺":
+ IsOperate = true;
+ {
+ PDDAdminShopLoginForm adminLoginForm = new PDDAdminShopLoginForm(shop);
+ adminLoginForm.openType = EnumOpenType.manage;
+ adminLoginForm.WindowState = FormWindowState.Maximized;
+ adminLoginForm.InitUrl = "https://agentseller.temu.com";
+ adminLoginForm.Show();
+ }
+ IsOperate = false;
+ break;
+ case "复制Cookie":
+ string cook = shop.Cookies;
+ string cookJs = "";
+ var keys = new string[] { "a42", "_bee", "_f77", "_nano_fp", "api_uid", "rckk", "ru1k", "ru2k", "SUB_PASS_ID" };
+ //var keys2 = new string[] { "_bee", "_nano_fp", "api_uid", "dilx", "hfsc", "mallid", "njrpl", "seller_temp" };
+ var keys2 = new string[] { "_bee", "_nano_fp", "api_uid", "dilx", "hfsc", "njrpl", "seller_temp" };
+ foreach (var shopCook in shop.Cookies.Split(';'))
+ {
+ var cookie = shopCook.Trim();
+ if (!keys.Any(k=>cookie.StartsWith(k)))
+ continue;
+ cookJs += "\r\ndocument.cookie='" + cookie.Substring(0, Math.Max(0, cookie.IndexOf("="))) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';";
+ }
+ foreach (var shopCook in shop.Cookies2.Split(';'))
+ {
+ var cookie = shopCook.Trim();
+ cookJs += "\r\ndocument.cookie='" + cookie.Substring(0, Math.Max(0, cookie.IndexOf("="))) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';";
+ }
+ foreach (var shopCook in shop.Cookies.Split(';'))
+ {
+ var cookie = shopCook.Trim();
+ if (!keys.Any(k => cookie.StartsWith(k)))
+ continue;
+ if (!cookie.StartsWith("SUB_PASS_ID") && !cookie.StartsWith("_nano_fp"))
+ cookJs += "\r\ndocument.cookie='" + cookie + "; domain=.kuajingmaihuo.com;';";
+ else
+ cookJs += "\r\ndocument.cookie='" + cookie + "; domain=seller.kuajingmaihuo.com;';";
+ }
+ // 全球站cookie
+ foreach (var shopCook in shop.Cookies2.Split(';'))
+ {
+ var cookie = shopCook.Trim();
+ if (cookie.StartsWith("mallid"))
+ cookie = "mallid=" + shop.ShopId;
+ if (!keys2.Any(k => cookie.StartsWith(k)))
+ continue;
+ if (!cookie.StartsWith("seller_temp") && !cookie.StartsWith("_nano_fp") && !cookie.StartsWith("mallid"))
+ cookJs += "\r\ndocument.cookie='" + cookie + "; domain=.temu.com; expires=" +
+ DateTime.Now.AddDays(1).ToUniversalTime().ToString("ddd, dd MMM yyyy HH:mm:ss 'UTC'", new DateTimeFormatInfo()) + "; path=/';";
+ else
+ cookJs += "\r\ndocument.cookie='" + cookie + "; domain=agentseller.temu.com; expires=" +
+ DateTime.Now.AddDays(1).ToUniversalTime().ToString("ddd, dd MMM yyyy HH:mm:ss 'UTC'", new DateTimeFormatInfo()) + "; path=/';";
+ }
+ cookJs += "\r\nwindow.localStorage.setItem('" + "mall-info-id" + "', '" + shop.ShopId + "');";
+ cookJs += "\r\nwindow.localStorage.setItem('" + "agentseller-mall-info-id" + "', '" + shop.ShopId + "');";
+ cookJs += "\r\nsetTimeout(() => { window.location.href='https://agentseller.temu.com'; }, 200)";
+ Clipboard.SetDataObject(cookJs);
+ BaseMsgForm.ShowInfo("复制成功");
+ break;
+ case "导入Cookie":
+ PDDShopUpdateCookieForm updateCookieForm = new PDDShopUpdateCookieForm(shop, SetCookieFromEnum.sa);
+ updateCookieForm.SaveComplete += UpdateCookieForm_SaveComplete;
+ updateCookieForm.ShowDialog();
+ break;
+ case "删除":
+ if (BaseMsgForm.ShowConfirm("确定删除店铺吗?删除后不可恢复!").DialogResult == DialogResult.Cancel)
+ return;
+ if (ShopBLL.AdminDelServerShop(shop))
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ break;
+ case "编辑":
+ PDDShopAddEditForm editForm = new PDDShopAddEditForm(shop);
+ editForm.SaveCompleteWithDescribe += EditForm_SaveCompleteWithDescribe;
+ editForm.ShowDialog();
+ break;
+ case "登录":
+ IsOperate = true;
+ {
+ PDDAdminShopLoginForm shopLoginForm = new PDDAdminShopLoginForm(shop);
+ shopLoginForm.openType = EnumOpenType.login;
+ shopLoginForm.SaveComplete += shopLoginForm_SaveComplete;
+ shopLoginForm.ShowDialog();
+ }
+ IsOperate = false;
+ break;
+ case "上传商品":
+ IsOperate = true;
+ {
+ //UploadProduct(shop);
+ }
+ IsOperate = false;
+ break;
+
+ case "+":
+ case "±":
+ this.lblAddProdRemaining.Text = shop.ShopAccount + " " + shop.ShopId + " 调整选品限额";
+ this.lblShopId.Text = shop.ShopId;
+ this.numAddRemaining.Value = shop.AddProductRemaining;
+ this.pnlAddProdRemaining.Visible = true;
+ break;
+ case "":
+ dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !(bool)dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value;
+ break;
+ default:
+ break;
+ }
+ }
+
+ private void UpdateCookieForm_SaveComplete(object obj)
+ {
+ Task.Run(() =>
+ {
+ //CheckShopListLogin(new string[] { (obj as DouShopLoginInfo).LoginName });
+ //RefreshDataGridView(false);
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ });
+ }
+
+ private void EditForm_SaveCompleteWithDescribe(object obj, object isAdd)
+ {
+ var shopInfo = obj as ShopLoginInfo;
+ if (shopInfo != null)
+ {
+ if ((isAdd as bool?) == true)
+ {
+ var shop = lstAdminShopInfo.FirstOrDefault(v => v.LoginName == shopInfo.LoginName);
+ if (shop != null)
+ {
+ BaseMsgForm.ShowError("店铺" + shopInfo.LoginName + "已存在!");
+ }
+ else
+ {
+ ShopBLL.AdminAddServerShop(shopInfo);
+ }
+ }
+ else
+ {
+ ShopBLL.AdminMdyServerShop(shopInfo);
+ }
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ }
+ }
+
+ private List GetCheckedList()
+ {
+ List shopLoginNameList = new List();
+ for (int i = 0; i < dgvShop.Rows.Count; i++)
+ {
+ if (dgvShop.Rows[i].Cells["colSelect"].Value.ParseToBool())
+ {
+ string shopName = dgvShop.Rows[i].Cells["colLoginName"].Value.ParseToString();
+ shopLoginNameList.Add(shopName);
+ }
+ }
+ return shopLoginNameList;
+ }
+
+ private List GetCheckedShopIdList()
+ {
+ List shopNameList = new List();
+ for (int i = 0; i < dgvShop.Rows.Count; i++)
+ {
+ if (dgvShop.Rows[i].Cells["colSelect"].Value.ParseToBool())
+ {
+ string shopName = dgvShop.Rows[i].Cells["colShopId"].Value.ParseToString();
+ shopName += dgvShop.Rows[i].Cells["colUser"].Value.ParseToString();
+ shopNameList.Add(shopName);
+ }
+ }
+ return shopNameList;
+ }
+
+ public List AdminGetServerShopLst(out int pageCount, int page = 1, int pageSize = 50)
+ {
+ List list = new List();
+ pageCount = 1;
+
+ var url = BaseClass.BuildObjString("shop/admin_get_shop_list");
+ var data = UserLogin.GetSignaturex() +
+ "&page=" + page +
+ "&page_size=" + pageSize +
+ "&search_user_name=" + txtUserName.Text.Trim() +
+ "&search_login_name=" + txtLoginName.Text.Trim() +
+ "&search_notes=" + txtNotes.Text.Trim() +
+ "&search_id=" + txtShopId.Text.Trim() +
+ "&search_name=" + txtShopName.Text.Trim();
+ if (BaseClass.SaLevel > 1)
+ data += "&operate_sub_sa_name=" + BaseClass.UserName;
+ var html = GetHtml.PostUtf8(url, data);
+ if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
+ html = GetHtml.PostUtf8(url, data);
+ if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
+ html = GetHtml.PostUtf8(url, data);
+ if (string.IsNullOrEmpty(html)
+ || !html.Contains("shop_id") || !html.Contains("shop_account") || !html.Contains("login_pass"))
+ {
+ return list;
+ }
+
+ int count = BaseRegex.GetIntJson(ref html, "count");
+ pageCount = Math.Ceiling(1.0 * count / pageSize).ParseToInt();
+ pageCount = Math.Max(pageCount, 1);
+
+ return ShopBLL.DeserializationShop(html);
+ }
+
+ private void btnCheck_Click(object sender, EventArgs e)
+ {
+ if (this.btnCheck.Text == "检测选中")
+ {
+ List shopLoginNameList = GetCheckedList();
+ if (!shopLoginNameList.Any())
+ {
+ BaseMsgForm.ShowError("请选择需要检测的店铺");
+ return;
+ }
+
+ Task.Run(() =>
+ {
+ CheckShopListLogin(shopLoginNameList.Distinct().ToArray());
+ SearchShop(this.ucSplitPage1.CurrentPage);
+ });
+ }
+ }
+
+ ///
+ /// 检测店铺授权状态
+ ///
+ ///
+ ///
+ public void CheckShopListLogin(string[] shopLoginNames, bool isShowProgress = true)
+ {
+ if (isShowProgress)
+ {
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在检测...";
+ this.statusBar.pgbTaskProgress.Maximum = shopLoginNames.Length;
+ this.statusBar.UpdateProgressBar(0);
+ }));
+ }
+
+ var shops = lstAdminShopInfo.Where(s => shopLoginNames.Contains(s.LoginName));
+ CheckShopLogin(shops.ToArray(), isShowProgress);
+
+ if (this.Created && isShowProgress)
+ {
+ this.Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = false;
+ this.statusBar.lblTaskStatus.Text = "检测完毕";
+ }));
+ }
+ }
+
+ public void CheckShopLogin(ShopLoginInfo[] shops, bool isShowProgress = true)
+ {
+ var shopLoginNames = shops.Select(s => s.LoginName).Distinct().ToArray();
+ for (int i = 0; i < shopLoginNames.Length; i++)
+ {
+ var campanys = shops.Where(v => v.LoginName == shopLoginNames[i]).ToList();
+ var shop = shops.FirstOrDefault(v => v.LoginName == shopLoginNames[i]);
+
+ // 先从服务端取最新cookie
+ var serverCampanys = ShopBLL.AdminGetServerShopLstByIds(campanys.Select(c => c.ShopId).ToList());
+ var serverShop = serverCampanys.FirstOrDefault();
+ if (shop != null && serverShop != null)
+ {
+ shop.Cookies = serverShop.Cookies;
+ shop.Cookies2 = serverShop.Cookies2;
+ foreach (var sc in campanys)
+ {
+ sc.Cookies = serverShop.Cookies;
+ sc.Cookies2 = serverShop.Cookies2;
+ }
+ }
+
+ if (shop != null)
+ {
+ var loginResult = PDDShopListForm.GetShopStatus(shop);
+ if (!loginResult.Contains("\"success\":true"))
+ {
+ shop.Cookies = "empty=true;";
+ foreach (var sc in campanys)
+ {
+ sc.LoginStatus = "未登录";
+ shop.Cookies = "empty=true;";
+ }
+ }
+ else
+ {
+ foreach (var sc in campanys)
+ {
+ sc.LoginStatus = "登录成功";
+ sc.LastRefreshDate = DateTime.Now.ToString("yyyyMMdd");
+ }
+ }
+ loginResult = PDDShopListForm.GetShopStatus2(shop);
+ if (!loginResult.Contains("\"success\":true"))
+ {
+ shop.Cookies2 = "empty=true;";
+ foreach (var sc in campanys)
+ {
+ sc.LoginStatus2 = "国际版未登录";
+ sc.Cookies2 = "empty=true;";
+ }
+ }
+ else
+ {
+ foreach (var sc in campanys)
+ {
+ sc.LoginStatus2 = "国际版在线";
+ }
+ }
+ PDDShopListForm.UpdateServerShopCookies(shop); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
+ }
+ if (this.Created && isShowProgress)
+ {
+ this.Invoke(new Action(() =>
+ {
+ this.statusBar.lblTaskStatus.Text = "正在检测...";
+ this.statusBar.pgbTaskProgress.Value = (i + 1);
+ this.statusBar.pgbTaskProgress.Text = (i + 1) + "/" + shopLoginNames.Length;
+ }));
+ }
+ }
+ }
+
+ private void chkShowDelete_CheckedChanged(object sender, EventArgs e)
+ {
+ if(chkShowDelete.Checked)
+ {
+ this.dgvShop.Columns["colEdit"].Visible = true;
+ this.dgvShop.Columns["colDelete"].Visible = true;
+ }
+ else
+ {
+ this.dgvShop.Columns["colEdit"].Visible = false;
+ this.dgvShop.Columns["colDelete"].Visible = false;
+ }
+ }
+
+ private void btnSetSubSa_Click(object sender, EventArgs e)
+ {
+
+ var lstLoginName = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colLoginName"]?.Value.ToString()).ToList();
+ var shopList = lstAdminShopInfo.Where(p => lstLoginName.Contains(p.LoginName)).ToArray();
+
+ if (shopList.Count() <= 0)
+ {
+ BaseMsgForm.ShowError("请选择要分配二级超管的店铺!");
+ return;
+ }
+
+ PDDAdminShopAddSubSaForm subSaForm = new PDDAdminShopAddSubSaForm(
+ shopList.Select(p => p.LoginName.ToString()).ToList()
+ );
+ subSaForm.SaveComplete += SubSaForm_SaveComplete;
+ subSaForm.ShowDialog();
+ }
+
+ private void SubSaForm_SaveComplete(object subSaName)
+ {
+ // 同店铺下商品分配给同一个二级超管
+ var lstLoginName = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colLoginName"]?.Value.ToString()).ToList();
+ var prodList = lstAdminShopInfo.Where(p => lstLoginName.Contains(p.LoginName)).ToArray();
+
+ var rows = dgvShop.Rows.Cast().Where(row => lstLoginName.Contains(row.Cells["colLoginName"]?.Value.ParseToString()));
+ foreach (var row in rows)
+ {
+ row.Cells["colSubSa"].Value = subSaName.ParseToString();
+ }
+ foreach (var p in prodList)
+ {
+ p.OperateSubSaName = subSaName.ParseToString();
+ }
+ }
+
+ private void dgvShop_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
+ {
+ }
+
+ private void btnRemainOK_Click(object sender, EventArgs e)
+ {
+ var url = BaseClass.BuildObjString("shop/update_add_prod_remaining");
+ var data = UserLogin.GetSignaturex() +
+ "&remain_count=" + numAddRemaining.Text.Trim() +
+ "&shop_ids=" + lblShopId.Text.Trim();
+ var html = GetHtml.PostUtf8(url, data);
+ if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
+ html = GetHtml.PostUtf8(url, data);
+ if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
+ html = GetHtml.PostUtf8(url, data);
+ if (html.Contains("\"code\":200"))
+ {
+ foreach (DataGridViewRow row in this.dgvShop.Rows)
+ {
+ if (row.Cells["colShopId"].Value.ParseToString() == lblShopId.Text.Trim())
+ {
+ row.Cells["colProductRemaining"].Value = numAddRemaining.Text.Trim();
+ }
+ }
+ foreach(var shop in lstAdminShopInfo)
+ {
+ if (shop.ShopId == lblShopId.Text.Trim())
+ shop.AddProductRemaining = numAddRemaining.Text.Trim().ParseToInt();
+ }
+ this.pnlAddProdRemaining.Visible = false;
+ }
+ else
+ {
+ var msg = BaseRegex.GetStringJson(ref html, "msg");
+ if (string.IsNullOrEmpty(msg))
+ msg = "选品限额修改失败!";
+ BaseMsgForm.ShowError(msg);
+ }
+ }
+
+ private void pnlCancel_Click(object sender, EventArgs e)
+ {
+ this.pnlAddProdRemaining.Visible = false;
+ }
+ }
+}
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.resx b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.resx
new file mode 100644
index 0000000..f34579c
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopListForm.resx
@@ -0,0 +1,207 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.Designer.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.Designer.cs
new file mode 100644
index 0000000..99d00f6
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.Designer.cs
@@ -0,0 +1,399 @@
+namespace TemuKJD.PDDForms.AdminForms
+{
+ partial class PDDAdminShopLoginForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDAdminShopLoginForm));
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.btnReturnPackage = new TemuKJD.UserControls.ButtonEx();
+ this.btnLoginAgain = new TemuKJD.UserControls.ButtonEx();
+ this.pnlMultiLogin = new System.Windows.Forms.Panel();
+ this.cmbMultiCookieName = new DevComponents.DotNetBar.Controls.ComboBoxEx();
+ this.btnMultiLogin = new DevComponents.DotNetBar.PanelEx();
+ this.btnDel = new DevComponents.DotNetBar.PanelEx();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btnCopyPassword = new TemuKJD.UserControls.ButtonEx();
+ this.btnCopyUserName = new TemuKJD.UserControls.ButtonEx();
+ this.txtPassWord = new System.Windows.Forms.TextBox();
+ this.txtUserName = new System.Windows.Forms.TextBox();
+ this.btnStop = new TemuKJD.UserControls.ButtonEx();
+ this.btnReload = new TemuKJD.UserControls.ButtonEx();
+ this.chkCloseAfterLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
+ this.splitContainer2 = new System.Windows.Forms.SplitContainer();
+ this.txtAddress = new System.Windows.Forms.TextBox();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.pnlMultiLogin.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
+ this.splitContainer2.Panel1.SuspendLayout();
+ this.splitContainer2.Panel2.SuspendLayout();
+ this.splitContainer2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
+ this.splitContainer1.Panel2.Controls.Add(this.btnReturnPackage);
+ this.splitContainer1.Panel2.Controls.Add(this.btnLoginAgain);
+ this.splitContainer1.Panel2.Controls.Add(this.pnlMultiLogin);
+ this.splitContainer1.Panel2.Controls.Add(this.label2);
+ this.splitContainer1.Panel2.Controls.Add(this.label1);
+ this.splitContainer1.Panel2.Controls.Add(this.btnCopyPassword);
+ this.splitContainer1.Panel2.Controls.Add(this.btnCopyUserName);
+ this.splitContainer1.Panel2.Controls.Add(this.txtPassWord);
+ this.splitContainer1.Panel2.Controls.Add(this.txtUserName);
+ this.splitContainer1.Panel2.Controls.Add(this.btnStop);
+ this.splitContainer1.Panel2.Controls.Add(this.btnReload);
+ this.splitContainer1.Panel2.Controls.Add(this.chkCloseAfterLogin);
+ this.splitContainer1.Size = new System.Drawing.Size(1438, 736);
+ this.splitContainer1.SplitterDistance = 674;
+ this.splitContainer1.SplitterWidth = 3;
+ this.splitContainer1.TabIndex = 4;
+ //
+ // btnReturnPackage
+ //
+ this.btnReturnPackage.Anchor = System.Windows.Forms.AnchorStyles.Top;
+ this.btnReturnPackage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReturnPackage.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnReturnPackage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnReturnPackage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnReturnPackage.ForeColor = System.Drawing.Color.White;
+ this.btnReturnPackage.Location = new System.Drawing.Point(674, 31);
+ this.btnReturnPackage.Margin = new System.Windows.Forms.Padding(2);
+ this.btnReturnPackage.Name = "btnReturnPackage";
+ this.btnReturnPackage.Size = new System.Drawing.Size(136, 25);
+ this.btnReturnPackage.TabIndex = 463;
+ this.btnReturnPackage.Text = "提交退货到库存管理";
+ this.btnReturnPackage.UseVisualStyleBackColor = false;
+ this.btnReturnPackage.Click += new System.EventHandler(this.btnReturnPackage_Click);
+ //
+ // btnLoginAgain
+ //
+ this.btnLoginAgain.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnLoginAgain.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnLoginAgain.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnLoginAgain.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnLoginAgain.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnLoginAgain.ForeColor = System.Drawing.Color.White;
+ this.btnLoginAgain.Location = new System.Drawing.Point(1137, 31);
+ this.btnLoginAgain.Margin = new System.Windows.Forms.Padding(2);
+ this.btnLoginAgain.Name = "btnLoginAgain";
+ this.btnLoginAgain.Size = new System.Drawing.Size(91, 25);
+ this.btnLoginAgain.TabIndex = 462;
+ this.btnLoginAgain.Text = "重新登录";
+ this.btnLoginAgain.UseVisualStyleBackColor = false;
+ this.btnLoginAgain.Click += new System.EventHandler(this.btnLoginAgain_Click);
+ //
+ // pnlMultiLogin
+ //
+ this.pnlMultiLogin.Controls.Add(this.cmbMultiCookieName);
+ this.pnlMultiLogin.Controls.Add(this.btnMultiLogin);
+ this.pnlMultiLogin.Controls.Add(this.btnDel);
+ this.pnlMultiLogin.Location = new System.Drawing.Point(357, 8);
+ this.pnlMultiLogin.Name = "pnlMultiLogin";
+ this.pnlMultiLogin.Size = new System.Drawing.Size(270, 33);
+ this.pnlMultiLogin.TabIndex = 461;
+ this.pnlMultiLogin.Visible = false;
+ //
+ // cmbMultiCookieName
+ //
+ this.cmbMultiCookieName.DisplayMember = "Text";
+ this.cmbMultiCookieName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
+ this.cmbMultiCookieName.FormattingEnabled = true;
+ this.cmbMultiCookieName.ItemHeight = 18;
+ this.cmbMultiCookieName.Location = new System.Drawing.Point(3, 3);
+ this.cmbMultiCookieName.Name = "cmbMultiCookieName";
+ this.cmbMultiCookieName.Size = new System.Drawing.Size(158, 24);
+ this.cmbMultiCookieName.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.cmbMultiCookieName.TabIndex = 379;
+ this.cmbMultiCookieName.Text = "cookie1";
+ //
+ // btnMultiLogin
+ //
+ this.btnMultiLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnMultiLogin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnMultiLogin.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnMultiLogin.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnMultiLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnMultiLogin.Location = new System.Drawing.Point(186, 3);
+ this.btnMultiLogin.Name = "btnMultiLogin";
+ this.btnMultiLogin.Size = new System.Drawing.Size(60, 24);
+ this.btnMultiLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnMultiLogin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnMultiLogin.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnMultiLogin.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnMultiLogin.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnMultiLogin.Style.GradientAngle = 90;
+ this.btnMultiLogin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnMultiLogin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.TabIndex = 460;
+ this.btnMultiLogin.Text = "多重登录";
+ this.btnMultiLogin.Click += new System.EventHandler(this.btnMultiLogin_Click);
+ //
+ // btnDel
+ //
+ this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnDel.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnDel.Location = new System.Drawing.Point(161, 3);
+ this.btnDel.Name = "btnDel";
+ this.btnDel.Size = new System.Drawing.Size(20, 24);
+ this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnDel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnDel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnDel.Style.GradientAngle = 90;
+ this.btnDel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnDel.TabIndex = 409;
+ this.btnDel.Text = "删";
+ this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
+ //
+ // label2
+ //
+ this.label2.Location = new System.Drawing.Point(23, 35);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(44, 17);
+ this.label2.TabIndex = 378;
+ this.label2.Text = "密码";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(23, 8);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(44, 17);
+ this.label1.TabIndex = 377;
+ this.label1.Text = "用户名";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // btnCopyPassword
+ //
+ this.btnCopyPassword.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnCopyPassword.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnCopyPassword.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnCopyPassword.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnCopyPassword.ForeColor = System.Drawing.Color.White;
+ this.btnCopyPassword.Location = new System.Drawing.Point(295, 31);
+ this.btnCopyPassword.Margin = new System.Windows.Forms.Padding(2);
+ this.btnCopyPassword.Name = "btnCopyPassword";
+ this.btnCopyPassword.Size = new System.Drawing.Size(57, 25);
+ this.btnCopyPassword.TabIndex = 376;
+ this.btnCopyPassword.Text = "复制";
+ this.btnCopyPassword.UseVisualStyleBackColor = false;
+ this.btnCopyPassword.Click += new System.EventHandler(this.btnCopyPassword_Click);
+ //
+ // btnCopyUserName
+ //
+ this.btnCopyUserName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnCopyUserName.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnCopyUserName.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnCopyUserName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnCopyUserName.ForeColor = System.Drawing.Color.White;
+ this.btnCopyUserName.Location = new System.Drawing.Point(295, 4);
+ this.btnCopyUserName.Margin = new System.Windows.Forms.Padding(2);
+ this.btnCopyUserName.Name = "btnCopyUserName";
+ this.btnCopyUserName.Size = new System.Drawing.Size(57, 25);
+ this.btnCopyUserName.TabIndex = 375;
+ this.btnCopyUserName.Text = "复制";
+ this.btnCopyUserName.UseVisualStyleBackColor = false;
+ this.btnCopyUserName.Click += new System.EventHandler(this.btnCopyUserName_Click);
+ //
+ // txtPassWord
+ //
+ this.txtPassWord.Location = new System.Drawing.Point(72, 32);
+ this.txtPassWord.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txtPassWord.Name = "txtPassWord";
+ this.txtPassWord.PasswordChar = '●';
+ this.txtPassWord.ReadOnly = true;
+ this.txtPassWord.Size = new System.Drawing.Size(221, 23);
+ this.txtPassWord.TabIndex = 374;
+ //
+ // txtUserName
+ //
+ this.txtUserName.Location = new System.Drawing.Point(72, 5);
+ this.txtUserName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txtUserName.Name = "txtUserName";
+ this.txtUserName.ReadOnly = true;
+ this.txtUserName.Size = new System.Drawing.Size(221, 23);
+ this.txtUserName.TabIndex = 373;
+ //
+ // btnStop
+ //
+ this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnStop.ForeColor = System.Drawing.Color.White;
+ this.btnStop.Location = new System.Drawing.Point(1324, 31);
+ this.btnStop.Margin = new System.Windows.Forms.Padding(2);
+ this.btnStop.Name = "btnStop";
+ this.btnStop.Size = new System.Drawing.Size(96, 25);
+ this.btnStop.TabIndex = 372;
+ this.btnStop.Text = "停止操作";
+ this.btnStop.UseVisualStyleBackColor = false;
+ this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
+ //
+ // btnReload
+ //
+ this.btnReload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnReload.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReload.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnReload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnReload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnReload.ForeColor = System.Drawing.Color.White;
+ this.btnReload.Location = new System.Drawing.Point(1231, 31);
+ this.btnReload.Margin = new System.Windows.Forms.Padding(2);
+ this.btnReload.Name = "btnReload";
+ this.btnReload.Size = new System.Drawing.Size(91, 25);
+ this.btnReload.TabIndex = 371;
+ this.btnReload.Text = "重新加载";
+ this.btnReload.UseVisualStyleBackColor = false;
+ this.btnReload.Click += new System.EventHandler(this.btnReload_Click);
+ //
+ // chkCloseAfterLogin
+ //
+ this.chkCloseAfterLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ //
+ //
+ //
+ this.chkCloseAfterLogin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.chkCloseAfterLogin.Checked = true;
+ this.chkCloseAfterLogin.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.chkCloseAfterLogin.CheckValue = "Y";
+ this.chkCloseAfterLogin.Location = new System.Drawing.Point(997, 32);
+ this.chkCloseAfterLogin.Name = "chkCloseAfterLogin";
+ this.chkCloseAfterLogin.Size = new System.Drawing.Size(135, 23);
+ this.chkCloseAfterLogin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.chkCloseAfterLogin.TabIndex = 8;
+ this.chkCloseAfterLogin.Text = "登录成功后关闭窗口";
+ //
+ // splitContainer2
+ //
+ this.splitContainer2.BackColor = System.Drawing.Color.White;
+ this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer2.Location = new System.Drawing.Point(1, 33);
+ this.splitContainer2.Name = "splitContainer2";
+ this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer2.Panel1
+ //
+ this.splitContainer2.Panel1.Controls.Add(this.txtAddress);
+ //
+ // splitContainer2.Panel2
+ //
+ this.splitContainer2.Panel2.Controls.Add(this.splitContainer1);
+ this.splitContainer2.Size = new System.Drawing.Size(1438, 766);
+ this.splitContainer2.SplitterDistance = 26;
+ this.splitContainer2.TabIndex = 5;
+ //
+ // txtAddress
+ //
+ this.txtAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtAddress.Location = new System.Drawing.Point(3, 3);
+ this.txtAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.txtAddress.Name = "txtAddress";
+ this.txtAddress.Size = new System.Drawing.Size(1432, 23);
+ this.txtAddress.TabIndex = 7;
+ this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
+ //
+ // AdminShopLoginForm
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(1440, 800);
+ this.Controls.Add(this.splitContainer2);
+ this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "AdminShopLoginForm";
+ this.ShowMaximizeBox = true;
+ this.Text = "店铺登录";
+ this.TitleText = "店铺登录";
+ this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ShopLoginForm_FormClosed);
+ this.Load += new System.EventHandler(this.ShopLoginForm_Load);
+ this.Controls.SetChildIndex(this.splitContainer2, 0);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ this.splitContainer1.Panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.pnlMultiLogin.ResumeLayout(false);
+ this.splitContainer2.Panel1.ResumeLayout(false);
+ this.splitContainer2.Panel1.PerformLayout();
+ this.splitContainer2.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
+ this.splitContainer2.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private DevComponents.DotNetBar.Controls.CheckBoxX chkCloseAfterLogin;
+ private UserControls.ButtonEx btnStop;
+ private UserControls.ButtonEx btnReload;
+ private System.Windows.Forms.TextBox txtPassWord;
+ private System.Windows.Forms.TextBox txtUserName;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label1;
+ private UserControls.ButtonEx btnCopyPassword;
+ private UserControls.ButtonEx btnCopyUserName;
+ private System.Windows.Forms.SplitContainer splitContainer2;
+ private System.Windows.Forms.TextBox txtAddress;
+ private DevComponents.DotNetBar.Controls.ComboBoxEx cmbMultiCookieName;
+ private DevComponents.DotNetBar.PanelEx btnDel;
+ private DevComponents.DotNetBar.PanelEx btnMultiLogin;
+ private System.Windows.Forms.Panel pnlMultiLogin;
+ private UserControls.ButtonEx btnLoginAgain;
+ private UserControls.ButtonEx btnReturnPackage;
+ }
+}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.cs
new file mode 100644
index 0000000..f4c554b
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.cs
@@ -0,0 +1,933 @@
+using AllBase;
+using AllBase.Helper;
+using AllBase.Model.Result;
+using CefSharp;
+using CefSharp.WinForms;
+//using TemuKJD.DashBoardForms;
+using TemuKJD.Helper;
+using TemuKJD.BaseForms;
+using Microsoft.Win32;
+using NaiBa.CefHelper;
+using NaiBa.CefHelper.Handler;
+using NaiBa.Util.Extension;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using Work;
+using Work.BLL.Tools;
+using TemuKJD.PDDForms.ShopForms;
+using TemuKJD.KJDForms.ToolForms;
+using TemuKJD.BLL;
+using TemuKJD.ToolForms;
+
+namespace TemuKJD.PDDForms.AdminForms
+{
+ public partial class PDDAdminShopLoginForm : LRBaseForm
+ {
+ public int CloseAfterSecond { get; set; }
+ public EnumOpenType openType = EnumOpenType.manage;
+ public bool isMultiLogin = false;
+ public string MultiLoginCookieName = "";
+ public string InitUrl = "";
+ private string shopCookieHead = "kuajingmaihuo.com";
+ private string shopCookieHead2 = "temu.com";
+ private string shopLoginUrl = "http://seller.kuajingmaihuo.com/login";
+ private string shopMainUrl = "https://seller.kuajingmaihuo.com";
+ private string shopMainUrl2 = "https://agentseller.temu.com";
+ private ChromiumWebBrowser cefWebBrowser = null;
+ private ShopLoginInfo shop = null;
+ private List lstShopCompany = new List();
+ private string currentUrl = "";
+ private long currentSupplierId = 0;
+
+ public PDDAdminShopLoginForm(ShopLoginInfo shopInfo)
+ {
+ InitializeComponent();
+
+ this.shop = shopInfo;
+ this.txtUserName.Text = shopInfo.LoginName;
+ this.txtPassWord.Text = DataOpenSSL.DecryptString(shopInfo.Password);
+ }
+
+ private void ShopLoginForm_Load(object sender, EventArgs e)
+ {
+ //this.splitContainer1.SplitterDistance = 674;
+ if (BaseClass.SaLevel == 1)
+ this.btnReturnPackage.Visible = true;
+ else
+ this.btnReturnPackage.Visible = false;
+
+ if (openType == EnumOpenType.login)
+ {
+ //this.shop.ShopId = "";
+ //this.shop.ShopAccount = "";
+ }
+
+ if (isMultiLogin && shop != null)
+ {
+ this.pnlMultiLogin.Visible = true;
+ InitMultiLoginCookies();
+ }
+
+ if (CloseAfterSecond > 0)
+ {
+ Task.Run(() =>
+ {
+ Thread.Sleep(1000 * CloseAfterSecond);
+ if (this.Created)
+ {
+ Invoke(new Action(() => { this.Close(); }));
+ }
+ });
+ }
+
+ if (!isMultiLogin)
+ AutoLogin();
+
+ CheckAndSaveShop(); //判断登录是否成功,成功则保存店铺信息和店铺cookie
+ //ClosePopWindow(); //自动关闭弹窗
+ }
+
+ ///
+ /// 判断登录,保存店铺
+ ///
+ private void CheckAndSaveShop()
+ {
+ Task.Run(() =>
+ {
+ // 自动判断是否登录成功,登录成功后记录cookie保存到服务端。
+ while (this.Created)
+ {
+ Thread.Sleep(3000);
+ //continue;
+ if (!this.Created)
+ break;
+
+ if (this.shop != null && currentUrl.TrimEnd('/') == shopMainUrl)
+ {
+ if (!cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ continue;
+
+ if (openType!= EnumOpenType.login)
+ continue;
+
+ if (!lstShopCompany.Any(c => c.LoginName == shop.LoginName))
+ continue;
+
+ string cookies = "";
+ //List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
+ List cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.GetCookieManager(null));
+ var keys = new string[] { "a42", "_bee", "_f77", "_nano_fp", "api_uid", "rckk", "ru1k", "ru2k", "SUB_PASS_ID" };
+
+ if (cookieList != null && cookieList.Count > 0)
+ {
+ foreach (var cookie in cookieList)
+ {
+ if (!keys.Contains(cookie.Name))
+ continue;
+
+ //SUB_PASS_ID同时出现两个,domain是seller.kuajingmaihuo.com才是能登录店铺后台的
+ if (cookie.Name == "SUB_PASS_ID" && cookie.Domain != "seller.kuajingmaihuo.com"
+ && cookieList.Any(c=>c.Name== "SUB_PASS_ID" && c.Domain == "seller.kuajingmaihuo.com"))
+ continue;
+
+ cookies += cookie.Name + "=" + cookie.Value + "; ";
+ }
+ cookies = cookies.Trim().TrimEnd(';');
+ }
+
+ if (!string.IsNullOrEmpty(cookies)
+ && lstShopCompany.Any(c => c.LoginName == shop.LoginName))
+ {
+ var lstShopCompanyCopy = lstShopCompany.ToList();
+ lstShopCompanyCopy = lstShopCompanyCopy.Where(l => l.LoginName == shop.LoginName).ToList();
+ bool isSuccess = true;
+
+ foreach (ShopCompany sc in lstShopCompanyCopy)
+ {
+ ShopLoginInfo newShop = new ShopLoginInfo()
+ {
+ LoginName = shop.LoginName,
+ Password = shop.Password,
+ GroupName = shop.GroupName,
+ ShopAccount = sc.AccountName,
+ ShopId = sc.AccountId,
+ SubUserName = shop.SubUserName,
+ UserName = shop.UserName,
+ Notes = shop.Notes,
+ Cookies = cookies,
+ };
+
+ if (string.IsNullOrEmpty(shop.Cookies)) // 有cookie的认为是已登录过的
+ {
+ newShop.LoginStatus = "登录成功";
+ newShop.LastRefreshDate = DateTime.Now.ToString("yyyyMMdd");
+ var html = ShopBLL.AdminAddServerShop(newShop); // 店铺写入到服务端
+ if (!html.Contains("\"code\":200"))
+ isSuccess = false;
+ }
+ }
+ shop.Cookies = cookies;
+ if (isSuccess)
+ {
+ shop.LoginStatus = "登录成功";
+ PDDShopListForm.UpdateServerShopCookies(shop); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
+ }
+ //OnSaveComplete(shop);
+ //if (this.Created && this.chkCloseAfterLogin.Checked)
+ //{
+ // Invoke(new Action(() => { this.Close(); }));
+ //}
+ //else
+ // break;
+ }
+ //cefWebBrowser.Load(shopMainUrl2);
+ var shopStatusRst = PDDShopListForm.GetShopStatus2(shop);
+ if (!shopStatusRst.Contains("\"success\":true"))
+ {
+ //https://agentseller.temu.com/main/authentication?redirectUrl=https%3A%2F%2Fagentseller.temu.com&mallId=634418217169109&asCode=7PaagItuW7ZD1xw2IXNU198596bf60a24327b02d32da6d43f9bcbc40a4b925d0b2ba8c28bd
+ var codeRst = PDDShopListForm.GetShopLogin2Code(shop);
+ if (codeRst.Contains("\"success\":true"))
+ {
+ string code = BaseRegex.GetStringJson(ref codeRst, "code");
+ cefWebBrowser.Load("https://agentseller.temu.com/main/authentication" +
+ "?redirectUrl=https%3A%2F%2Fagentseller.temu.com&mallId=" + shop.ShopId +
+ "&asCode=" + code);
+ }
+ else
+ {
+ //cefWebBrowser.Load("https://agentseller.temu.com");
+ BaseMsgForm.ShowInfo("获取国际版跳转链接失败,请手动跳转并等待Cookie获取结束!");
+ }
+ }
+ else
+ {
+ var cookie2 = shop.Cookies2;
+ //var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
+ var t = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.GetCookieManager(null));
+ t.Wait(5000);
+ cefWebBrowser.Load("https://agentseller.temu.com");
+ }
+ }
+
+ if (1 == 1 && this.shop != null && currentUrl.TrimEnd('/') == shopMainUrl2)
+ {
+ //https://agentseller.temu.com
+ if (!cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ continue;
+
+ if (openType != EnumOpenType.login)
+ continue;
+
+ if (!lstShopCompany.Any(c => c.LoginName == shop.LoginName))
+ continue;
+
+ string cookies2 = "";
+ //List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ List cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.GetCookieManager(null)); // cef138
+ if (cookieList2 != null && cookieList2.Count > 0)
+ {
+ for(int i =0; i < cookieList2.Count; i++)
+ {
+ var cookie = cookieList2[i];
+ cookies2 += cookie.Name + "=" + cookie.Value + "; ";
+ }
+ cookies2 = cookies2.Trim().TrimEnd(';');
+ }
+
+ if (!string.IsNullOrEmpty(cookies2)
+ && lstShopCompany.Any(c => c.LoginName == shop.LoginName))
+ {
+ var lstShopCompanyCopy = lstShopCompany.ToList();
+ lstShopCompanyCopy = lstShopCompanyCopy.Where(l => l.LoginName == shop.LoginName).ToList();
+ bool isSuccess = true;
+
+ foreach (ShopCompany sc in lstShopCompanyCopy)
+ {
+ ShopLoginInfo newShop = new ShopLoginInfo()
+ {
+ LoginName = shop.LoginName,
+ Password = shop.Password,
+ GroupName = shop.GroupName,
+ ShopAccount = sc.AccountName,
+ ShopId = sc.AccountId,
+ SubUserName = shop.SubUserName,
+ UserName = shop.UserName,
+ Notes = shop.Notes,
+ Cookies2 = cookies2,
+ };
+
+ if (string.IsNullOrEmpty(shop.Cookies)) // 有cookie的认为是已登录过的
+ {
+ newShop.LoginStatus2 = "国际版在线";
+ newShop.LastRefreshDate = DateTime.Now.ToString("yyyyMMdd");
+ var html = ShopBLL.AdminAddServerShop(newShop); // 店铺写入到服务端
+ if (!html.Contains("\"code\":200"))
+ isSuccess = false;
+ }
+ }
+ shop.Cookies2 = cookies2;
+ if (isSuccess)
+ {
+ shop.LoginStatus2 = "国际版在线";
+ PDDShopListForm.UpdateServerShopCookies(shop); // 店铺cookie写入服务端,多店共用一个登录账号一组cookie
+ }
+ OnSaveComplete(shop);
+ if (this.Created && this.chkCloseAfterLogin.Checked)
+ {
+ Invoke(new Action(() => { this.Close(); }));
+ }
+ else
+ break;
+ }
+ }
+ }
+ });
+ }
+
+ ///
+ /// 自动关闭弹窗
+ ///
+ private void ClosePopWindow()
+ {
+ // 关闭弹窗
+ Task.Run(() =>
+ {
+ var sleepTime = 2500;
+ int i = 0;
+ while (true && i++ < 50)
+ {
+ try
+ {
+ Thread.Sleep(sleepTime);
+ var jsStr1 = "function ClosePopWindow(txt) {\r\n" +
+ " var result = 'no_pop'\r\n" +
+ " var item = document.getElementsByClassName(txt);\r\n" +
+ " for(i = 0; i < item.length; i++) {\r\n" +
+ " item[i].click();\r\n" +
+ " result = 'success'\r\n" +
+ " }\r\n" +
+ " return result;\r\n" +
+ "}\r\n" +
+ "ClosePopWindow('anticon-close-circle');\r\n" +
+ "ClosePopWindow('ant-modal-close-x');\r\n";
+ var jsStr2 = "function clickPopWindow(txt) {\r\n"
+ + "var child = document.body.firstElementChild;\r\n"
+ + "var element1 = null;\r\n"
+ + " while (child) {\r\n"
+ + " if (child.innerHTML.indexOf(txt) >= 0) {\r\n"
+ + " element1 = child;\r\n"
+ + " if (child.firstElementChild) {\r\n"
+ + " child = child.firstElementChild; continue;\r\n"
+ + " } else break;\r\n"
+ + " }\r\n"
+ + " child = child.nextElementSibling;\r\n"
+ + " }\r\n"
+ + " if (element1) {\r\n"
+ + " element1.click(); return 'success';\r\n"
+ + " } else return 'no_pop';\r\n"
+ + "}\r\n"
+ + "clickPopWindow('我知道了');\r\n"
+ + "clickPopWindow('知道了');\r\n";
+ if (cefWebBrowser != null && cefWebBrowser.IsBrowserInitialized)
+ {
+ var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr1);
+ t1.Wait();
+ var t2 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr2);
+ t2.Wait();
+ if (t1.Result?.Result?.ToString() == "success" || t2.Result?.Result?.ToString() == "success")
+ sleepTime = Randomx.GetId(550, 650);
+ else
+ sleepTime = Randomx.GetId(1500, 2000);
+ }
+ }
+ catch (Exception ex) { }
+ }
+ });
+ }
+
+ ///
+ /// 自动登录店铺后台
+ ///
+ private void AutoLogin()
+ {
+ if (InvokeRequired)
+ {
+ }
+ if (shop == null)
+ return;
+
+ if (cefWebBrowser == null)
+ {
+ //cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
+ var setting = new CefSettings();
+ if (Cef.IsInitialized != true)
+ {
+ var rst = Cef.InitializeAsync(setting);
+ rst.Wait();
+ }
+
+ if (!string.IsNullOrEmpty(InitUrl))
+ cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(InitUrl, true);
+ else
+ cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(shopMainUrl, true);
+ CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
+ resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
+ cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
+ //var lifeSpanHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
+ var lifeSpanHandler = new LifeSpanHandlerLocal(PopWindowType.NewTitleWindow);
+ lifeSpanHandler.parent = cefWebBrowser;
+ lifeSpanHandler.OnPop += MainLifeHandler_OnPop;
+ cefWebBrowser.LifeSpanHandler = lifeSpanHandler;
+ cefWebBrowser.KeyboardHandler = new KeyboardHandler();
+ cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
+ cefWebBrowser.AddressChanged += CefWebBrowser_AddressChanged;
+ cefWebBrowser.LoadError += CefWebBrowser_LoadError;
+ cefWebBrowser.Dock = DockStyle.Fill;
+
+ //js绑定C#对象
+ PDDShopBrowserObject shopObj = new PDDShopBrowserObject();
+ shopObj.OnInfoReceived += ShopObj_OnInfoReceived;
+ CefSharpSettings.WcfEnabled = true;
+ cefWebBrowser.JavascriptObjectRepository.Register(
+ name: "shopObj",
+ objectToBind: shopObj,
+ isAsync: false,
+ options: new BindingOptions { Binder = BindingOptions.DefaultBinder.Binder /*CamelCaseJavascriptNames = false*/ /*cef79*/ }
+ );
+
+ if (shop.Cookies == null)
+ shop.Cookies = "";
+ if (shop.Cookies2 == null)
+ shop.Cookies2 = "";
+
+ var cookie = shop.Cookies;
+ if (isMultiLogin)
+ cookie = shop.DictMultiCookies.Keys.Contains(MultiLoginCookieName) ? shop.DictMultiCookies[MultiLoginCookieName] : "";
+
+ Task.Run(() =>
+ {
+ Invoke(new Action(() =>
+ {
+ splitContainer1.Panel1.Controls.Add(cefWebBrowser);
+ //cefWebBrowser.Load(shopMainUrl);
+ }));
+ while (!cefWebBrowser.IsBrowserInitialized || !cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ Thread.Sleep(20);
+ CEFBrowser.DeleteCookie(cefWebBrowser.GetCookieManager(null));
+
+ //var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
+ var t = CEFBrowser.SetCookieAsync(shopCookieHead, cookie, cefWebBrowser.GetCookieManager(null));
+ t.Wait(5000);
+
+ if (this.openType != EnumOpenType.login)
+ {
+ var cookie2 = shop.Cookies2;
+ //var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.RequestContext.GetCookieManager(null));
+ var t2 = CEFBrowser.SetCookieAsync(shopCookieHead2, cookie2, cefWebBrowser.GetCookieManager(null)); // cef138
+ t2.Wait(5000);
+ }
+
+ //根据登录的具体店铺设置local storage
+ if (!string.IsNullOrEmpty(shop.ShopId))
+ {
+ while (!cefWebBrowser.IsBrowserInitialized || !cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ Thread.Sleep(20);
+
+ var storageJsCode = "window.localStorage.setItem('" + "mall-info-id" + "', '" + shop.ShopId + "');\r\n";
+ cefWebBrowser.GetBrowser().MainFrame.ExecuteJavaScriptAsync(storageJsCode);
+
+ //agentseller-mall-info-id
+ storageJsCode = "window.localStorage.setItem('" + "agentseller-mall-info-id" + "', '" + shop.ShopId + "');\r\n";
+ cefWebBrowser.GetBrowser().MainFrame.ExecuteJavaScriptAsync(storageJsCode);
+ }
+
+ //不是登录的话就此返回
+ if (openType != EnumOpenType.login)
+ {
+ Invoke(new Action(() =>
+ {
+ chkCloseAfterLogin.Visible = false;
+ btnLoginAgain.Visible = false;
+ }));
+ return;
+ }
+
+ for (int i = 0; i < 50; i++)
+ {
+ if (cefWebBrowser.IsLoading)
+ Thread.Sleep(100);
+ }
+ Thread.Sleep(Randomx.GetId(1500, 2000));
+
+ //设置 local storage
+ //if (GlobalConfig.dicLocalStorage != null)
+ //{
+ // Thread.Sleep(500);
+ // string jsCode = "function setStorage() {";
+ // foreach (var item in GlobalConfig.dicLocalStorage)
+ // {
+ // if (item.Key == "$TCC_CONFIG" || item.Key == "$TCC_CONFIG_operate_config" || item.Key == "menuStyleStr")
+ // continue;
+
+ // jsCode += "window.localStorage.setItem('" + item.Key + "', '" + item.Value + "');\r\n";
+ // }
+ // jsCode += "}";
+ // jsCode += "setStorage();";
+ // if (cefWebBrowser.GetBrowser().MainFrame.IsValid)
+ // cefWebBrowser.GetBrowser().MainFrame.ExecuteJavaScriptAsync(jsCode);
+ //}
+
+ if (!this.Created)
+ return;
+
+ InputUserNameAndPassword(cefWebBrowser, shop.LoginName, DataOpenSSL.DecryptString(shop.Password));
+ });
+ }
+ }
+ private void MainLifeHandler_OnPop(object sender, PopData e)
+ {
+ var targetUrl = e.Url;
+ var lifeHandler = sender as LifeSpanHandlerLocal;
+
+ Task.Run(() =>
+ {
+ if (lifeHandler.parent != null)
+ {
+ //var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null)); // cef138
+ var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.GetCookieManager(null));
+ Invoke(new Action(() =>
+ {
+ CefForm cefForm = new CefForm(targetUrl, cookies);
+ cefForm.Show();
+ }));
+ }
+ });
+ }
+
+ private void ShopObj_OnInfoReceived(string information)
+ {
+ //BaseMsgForm.ShowInfo(information);
+ if (!string.IsNullOrEmpty(information))
+ cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync("alert('" + information + "');");
+ }
+
+ private void CefWebBrowser_LoadError(object sender, CefSharp.LoadErrorEventArgs e)
+ {
+ }
+
+ private void CefWebBrowser_AddressChanged(object sender, CefSharp.AddressChangedEventArgs e)
+ {
+ if (this.Created)
+ Invoke(new Action(() =>
+ {
+ currentUrl = e.Address;
+ txtAddress.Text = e.Address;
+ }));
+ }
+
+ private void CefWebBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
+ {
+ //if (!cefWebBrowser.IsBrowserInitialized) return;
+ //currentUrl = e.Url;
+ //if (currentUrl.StartsWith("https://fxg.jinritemai.com/ffa/multiShop"))
+ //{
+ // Thread.Sleep(Randomx.GetId(500, 800));
+ //}
+ //if (currentUrl.StartsWith("https://fxg.jinritemai.com/ffa/mshop/homepage/index"))
+ //{
+ // Task.Run(() =>
+ // {
+ //
+ // });
+ //}
+
+ //js绑定C#对象 html页面内声明绑定的C#对象
+ StringBuilder sb = new StringBuilder();
+ sb.Append("(function(){");
+ sb.Append("CefSharp.BindObjectAsync('shopObj');");
+ sb.Append("})();");
+ cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(sb.ToString());
+ }
+
+ private void RequestHandler_ResourceLoadComplete(object sender, string url, string postData, string responseData, IRequest request)
+ {
+ Task.Run(() =>
+ {
+ var data = responseData;
+ if (data.Contains("supplierId") && data.Contains("\"success\":true"))
+ {
+ var supplierIds = BaseRegex.GetMatchRegex(ref data, "\"supplierId\":\\d{5,20}");
+ if(supplierIds.Count > 0 && supplierIds[0].Groups.Count > 0)
+ {
+ var supplierId = supplierIds[0].Groups[0].Value.Replace("\"supplierId\":", "").ParseToLong();
+ if (supplierId > 0)
+ this.currentSupplierId = supplierId;
+ }
+ }
+ });
+ if (url.StartsWith("https://seller.kuajingmaihuo.com/settle/site-main"))
+ {
+ cefWebBrowser.Load(shopMainUrl);
+ }
+ //if (url == shopMainUrl)
+ if (url == "https://seller.kuajingmaihuo.com/bg/quiet/api/mms/userInfo")
+ {
+ Task.Run(() =>
+ {
+ var data = responseData;
+ if (this.shop != null && data.Contains("\"success\":true"))
+ {
+ var maskMobile = BaseRegex.GetStringJson(ref data, "maskOwnerMobile");
+ var maskMobile2 = "||||" + BaseRegex.GetStringJson(ref data, "maskMobile").ParseToString();
+ if (maskMobile2.Contains("*"))
+ maskMobile2 = maskMobile2.Substring(maskMobile2.LastIndexOf("*")).Trim('*');
+ if (shop.LoginName.EndsWith(maskMobile) || shop.LoginName.EndsWith(maskMobile2))
+ {
+ lstShopCompany.Clear();
+ var jObj = JObject.Parse(data);
+ var jArr = jObj["result"]?["companyList"]?[0]?["malInfoList"] as JArray;
+ if (jArr == null)
+ jArr = new JArray();
+
+ Thread.Sleep(500);
+ foreach (var productObj in jArr)
+ {
+ var prod = JsonHelper.SerializeObject(productObj);
+ ShopCompany sc = new ShopCompany()
+ {
+ AccountId = BaseRegex.GetStringJson(ref prod, "mallId"),
+ AccountName = BaseRegex.GetStringJson(ref prod, "mallName"),
+ LoginName = shop.LoginName,
+ UserName = BaseClass.UserName,
+ LoginStatus = "登录成功",
+ };
+ this.lstShopCompany.Add(sc);
+ }
+ }
+ }
+ });
+ }
+ //if (url.Contains("_signature"))
+ //{
+ // var re = request;
+ // if ((re.Headers != null && re.Headers.AllKeys.Contains("x-secsdk-csrf-token")))
+ // {
+ // }
+ // Task.Run(() =>
+ // {
+ // var _url = url;
+ // var data = responseData;
+ // var signature = url.Substring(url.IndexOf("_signature=") + "_signature=".Length).Split('&')[0];
+ // if (shop != null)
+ // {
+ // shop.Signature = signature;
+ // }
+ // if (url.Contains("x-secsdk-csrf-token") || postData.Contains("x-secsdk-csrf-token") || data.Contains("x-secsdk-csrf-token"))
+ // {
+ // }
+ // });
+ //}
+ if (currentUrl.StartsWith("https://seller.kuajingmaihuo.com/goods/product/list") ||
+ currentUrl.StartsWith("https://agentseller.temu.com/goods/list"))
+ {
+ Task.Run(() => {
+ string sAddInputJs = @"
+ document.addEventListener('wheel', function(event) {
+ // 检查滚动方向
+ //if (event.deltaY < 0) {
+ // console.log('向上滚动');
+ //} else {
+ // console.log('向下滚动');
+ //}
+ // 或者使用 event.deltaX 来检查水平滚动
+ //if (event.deltaX < 0) {
+ // console.log('向左滚动');
+ //} else if (event.deltaX > 0) {
+ // console.log('向右滚动');
+ //}
+
+ // 阻止默认的滚动行为(如果有需要)
+ //event.preventDefault();
+
+ addGetProdButton();
+ });
+ addGetProdButton();
+
+ function addGetProdButton() {
+ var productLst = document.getElementsByClassName('product-info_idContent__iDukx');
+ for(i=0; i= 0) {
+ var sSpuId = productLst[i].innerText.replace('\r','').replace('\n','').replace('SPU ID:', '');
+ productLst[i].innerHTML = productLst[i].innerHTML.replace("">"", "">"");
+ }
+ }
+ }";
+ cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(sAddInputJs);
+ });
+ }
+ }
+
+ ///
+ /// 自动登录
+ ///
+ ///
+ ///
+ ///
+ private void InputUserNameAndPassword(ChromiumWebBrowser webBrowser, string _account, string _password)
+ {
+ string jsStr1 = "function getInputItem () {var usernameId = document.getElementById('usernameId'); if (usernameId) return 'true';} getInputItem();";
+ Task response1 = null;
+ while (response1?.Result?.Result == null || !response1.Result.Result.ParseToString().Contains("true"))
+ {
+ Thread.Sleep(250);
+ if (!this.Created)
+ return;
+
+ response1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
+ response1.Wait(5000);
+
+ if (!this.Created)
+ return;
+ }
+
+ webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(sInputValueChange2);
+ webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(sGetElementWithText);
+
+ jsStr1 = "var usernameId = document.getElementById('usernameId'); " +
+ "changeReactInputValue(usernameId,'" + _account + "');";
+ response1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
+ response1.Wait(1000);
+ Thread.Sleep(Randomx.GetId(500, 1000));
+
+ string jsStr = "var passwordId = document.getElementById('passwordId'); "+
+ "changeReactInputValue(passwordId,'" + _password + "');";
+ var response = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
+ response.Wait(1000);
+ Thread.Sleep(Randomx.GetId(500, 1000));
+
+ jsStr = "var clickBox = getElementWithText('我已阅读并同意'); " +
+ "clickBox.click()";
+ response = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
+ response.Wait(1000);
+ Thread.Sleep(Randomx.GetId(500, 1000));
+
+ jsStr = "var clickBox = getElementWithText('登录'); " +
+ "clickBox.click()";
+ response = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
+ response.Wait(1000);
+ Thread.Sleep(Randomx.GetId(500, 1000));
+ return;
+ }
+
+ // 鼠标左键按下,移动,移动...左键抬起。
+ public static void CefMouseDragDou(ChromiumWebBrowser webBrowser, int x1, int y1, int x2, int y2)
+ {
+ Thread.Sleep(100);
+ var host = webBrowser.GetBrowser().GetHost();
+
+ var rx = -6 + Randomx.GetId(13);
+ x2 = x2 + rx;
+ // 随机按下点的位置(正负6像素),提高仿真性
+ int x = x1 + rx;
+ int y = y1 - 6 + Randomx.GetId(13);
+
+ // 按下鼠标左键
+ host.SendMouseClickEvent(x, y, MouseButtonType.Left, false, 1, CefEventFlags.None);
+ Thread.Sleep(100 + Randomx.GetId(300));
+
+ // 滑动光标
+ int times = -20;
+ while (x < x2 + 4 - Randomx.GetId(9))
+ {
+ times++;
+ x += (15 + Randomx.GetId(15)) / 8;
+ if (times % 5 == 0)
+ y = y - 1 + Randomx.GetId(3);
+ Thread.Sleep(6 + Math.Abs(times) / 5 + Randomx.GetId(16));
+ host.SendMouseMoveEvent((int)x, (int)y, false, CefEventFlags.LeftMouseButton);
+ }
+ if (x < x2 - 1)
+ while (x < x2)
+ {
+ times++;
+ x += (8 + Randomx.GetId(8)) / 8;
+ if (times % 5 == 0)
+ y = y - 1 + Randomx.GetId(3);
+ Thread.Sleep(6 + Math.Abs(times) / 5 + Randomx.GetId(16));
+ host.SendMouseMoveEvent((int)x, (int)y, false, CefEventFlags.LeftMouseButton);
+ }
+ else if (x > x2 + 1)
+ while (x > x2)
+ {
+ times++;
+ x -= (8 + Randomx.GetId(8)) / 8;
+ if (times % 5 == 0)
+ y = y - 1 + Randomx.GetId(3);
+ Thread.Sleep(6 + Math.Abs(times) / 5 + Randomx.GetId(16));
+ host.SendMouseMoveEvent((int)x, (int)y, false, CefEventFlags.LeftMouseButton);
+ }
+
+ // 如果最后位置偏差较多,再做一次调整
+ x = x2 - 1 + Randomx.GetId(3);
+ x = x2;
+ Thread.Sleep(18 + Math.Abs(times) / 5 + Randomx.GetId(16));
+ Thread.Sleep(18 + Math.Abs(times) / 5 + Randomx.GetId(16));
+ host.SendMouseMoveEvent((int)x, (int)y, false, CefEventFlags.LeftMouseButton);
+
+ // 抬起鼠标左键
+ Thread.Sleep(300 + Randomx.GetId(500));
+ host.SendMouseClickEvent(x, y, MouseButtonType.Left, true, 1, CefEventFlags.None);
+ host.SendMouseClickEvent(x, y, MouseButtonType.Left, true, 1, CefEventFlags.None);
+ }
+
+ private void btnStop_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void btnCopyUserName_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(txtUserName.Text))
+ Clipboard.SetDataObject(txtUserName.Text);
+ }
+
+ private void btnCopyPassword_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(txtPassWord.Text))
+ Clipboard.SetDataObject(txtPassWord.Text);
+ }
+
+ private void btnReload_Click(object sender, EventArgs e)
+ {
+ if (cefWebBrowser != null)
+ {
+ if (txtAddress.Text != "about:blank")
+ cefWebBrowser.Load(txtAddress.Text);
+ else
+ cefWebBrowser.Load(shopMainUrl);
+ }
+ }
+
+ private void ShopLoginForm_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ //OnSaveComplete(shop);
+ }
+
+ private void txtAddress_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Enter)
+ {
+ if (cefWebBrowser != null)
+ {
+ cefWebBrowser.Load(txtAddress.Text);
+ }
+ }
+ }
+
+ private void btnMultiLogin_Click(object sender, EventArgs e)
+ {
+ MultiLoginCookieName = cmbMultiCookieName.Text;
+ AutoLogin();
+ }
+
+ private void btnDel_Click(object sender, EventArgs e)
+ {
+ if (shop != null)
+ {
+ shop.DictMultiCookies.Remove(cmbMultiCookieName.Text);
+ StartUp.SaveLocalShopLoginInfo();
+
+ InitMultiLoginCookies();
+ }
+ }
+
+ private void InitMultiLoginCookies()
+ {
+ this.cmbMultiCookieName.Items.Clear();
+ foreach (var cookieKey in shop.DictMultiCookies.Keys)
+ {
+ this.cmbMultiCookieName.Items.Add(cookieKey);
+ }
+ int i = 1;
+ foreach (var item in this.cmbMultiCookieName.Items)
+ {
+ if (i <= item.ToString().Replace("cookie", "").ParseToInt())
+ {
+ i = item.ToString().Replace("cookie", "").ParseToInt() + 1;
+ }
+ }
+ this.cmbMultiCookieName.Items.Insert(0, "cookie" + i);
+ this.cmbMultiCookieName.Text = "cookie" + i;
+ }
+
+
+ string sInputValueChange = @"
+let usernameId = document.getElementById('usernameId');
+usernameId.value = '1';
+
+var event = document.createEvent('HTMLEvents');
+event.initEvent('input', true, true);
+event.eventType = 'message';
+usernameId.dispatchEvent(event);
+";
+
+ string sInputValueChange2 = @"
+function changeReactInputValue(inputDom,newText){
+ let lastValue = inputDom.value;
+ inputDom.value = newText;
+ let event = new Event('input', { bubbles: true });
+ event.simulated = true;
+ let tracker = inputDom._valueTracker;
+ if (tracker) {
+ tracker.setValue(lastValue);
+ }
+ inputDom.dispatchEvent(event);
+}
+";
+
+ string sGetElementWithText = @"
+function getElementWithText(sText)
+{
+ var elem=null;
+ const elements = document.querySelectorAll('*'); // 选择所有元素
+ elements.forEach(element => {
+ if (element.textContent.includes(sText)) {
+ // 对每个匹配的元素执行操作
+ //console.log(element);
+ elem=element;
+ }
+ });
+ return elem;
+};
+";
+
+ private void btnLoginAgain_Click(object sender, EventArgs e)
+ {
+ if (this.currentUrl != shopLoginUrl)
+ this.cefWebBrowser.Load(shopLoginUrl);
+
+
+ Task.Run(() =>
+ {
+ InputUserNameAndPassword(cefWebBrowser, shop.LoginName, DataOpenSSL.DecryptString(shop.Password));
+ });
+ }
+
+
+
+ private void btnReturnPackage_Click(object sender, EventArgs e)
+ {
+ //ReturnPackageDetailForm form = new ReturnPackageDetailForm(this.shop);
+ //form.ShowDialog();
+ }
+ }
+}
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.resx b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.resx
new file mode 100644
index 0000000..c963c3c
--- /dev/null
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminShopLoginForm.resx
@@ -0,0 +1,298 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ AAABAAEAgIAQYAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
+ AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMx3d4iIiIiIiIh3fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
+ zMzMzMzMzMzHeIiIiIj/////////iIiIiId8zMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
+ zMzMzMzMzMzMzMeIiI/////////////////////4iIh8zMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAATMzM
+ zMzMzMzMzMzMzMzMzHiI////////////////////////////iIfMzMzMzMzMzMzMzMzMzMzMxAAAAAAA
+ AGzMzMzMzMzMzMzMzMzMx3iP///////////////////////////////4iHzMzMzMzMzMzMzMzMzMzMYA
+ AAAAAAbMzMzMzMzMzMzMzMzMx3iP//////////////////////////////////+IfMzMzMzMzMzMzMzM
+ zMzMYAAAAABMzMzMzMzMzMzMzMzMx3iP/////////////////////////////////////4h8zMzMzMzM
+ zMzMzMzMzMQAAAAAbMzMzMzMzMzMzMzMzHiP////////////////////////////////////////h3zM
+ zMzMzMzMzMzMzMzGAAAABMzMzMzMzMzMzMzMzHiP////////////////////////////////////////
+ //iHzMzMzMzMzMzMzMzMzEAAAAbMzMzMzMzMzMzMzMeI////////////////////////////////////
+ ////////+IfMzMzMzMzMzMzMzMxgAABMzMzMzMzMzMzMzMx4////////////////////////////////
+ //////////////+IfMzMzMzMzMzMzMzMxAAAbMzMzMzMzMzMzMzHj///////////////////////////
+ /////////////////////4fMzMzMzMzMzMzMzMYAAMzMzMzMzMzMzMzMeP//////////////////////
+ ///////////////////////////4fMzMzMzMzMzMzMzMAAbMzMzMzMzMzMzMx4//////////////////
+ /////////////////////////////////4fMzMzMzMzMzMzMzGAGzMzMzMzMzMzMzHj/////////////
+ ///////////////////////////////////////4fMzMzMzMzMzMzMxgDMzMzMzMzMzMzMyI////////
+ /////////////////////////////////////////////4zMzMzMzMzMzMzMwEzMzMzMzMzMzMzHj///
+ //////////////////////////////////////////////////+HzMzMzMzMzMzMzMRszMzMzMzMzMzM
+ eP//////////////////////////////////////////////////////+HzMzMzMzMzMzMzGbMzMzMzM
+ zMzMzHj///////////////////////////////////////////////////////+MzMzMzMzMzMzMxmzM
+ zMzMzMzMzMyP////+IiP////////////////////////////////////////+I//////h8zMzMzMzMzM
+ zMZszMzMzMzMzMzHj////4iIiI//////////////////////////////////////+IiIj/////jMzMzM
+ zMzMzMzGbMzMzMzMzMzMyP////iIiIiI/////////////////////////////////////4iIiIj////4
+ fMzMzMzMzMzMxszMzMzMzMzMzHj////4iIiIiP////////////////////////////////////+IiIiI
+ j////4zMzMzMzMzMzMbMzMzMzMzMzMx4////iIiIiIj////////////////////////////////////4
+ iIiIiI////+HzMzMzMzMzMzMzMzMzMzMzMzMj////4iIiIiI//////////////+IiP//iI//////////
+ ////+IiIiIiP////h8zMzMzMzMzMzMzMzMzMzMzMzI/////4iIiIiP/////////////4d3eIiIeIj///
+ //////////+IiIiIj/////jMzMzMzMzMzMzMzMzMzMzMzMyP////+IiIiIj/////////////iIiId3eI
+ iI//////////////iIiIiI/////4zMzMzMzMzMzMzMzMzMzMzMzHj/////+IiIiP/////////////4//
+ /4d4j/+P//////////////iIiIj/////+MzMzMzMzMzMzMzMzMzMzMzMx4//////+IiP////////////
+ ///////4j///////////////////iIiP//////jMzMzMzMzMzMzMzMzMzMzMzMeP//////////+IiIj/
+ ///////////////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzH//////////+H
+ fMx8eP//////////////////////////iId3iP//////////+HzMzMzMzMzMzMzMzMzMzMzMyP//////
+ ///4fMzHh8eP////////////////////////+MzMzMd4//////////h8zMzMzMzMzMzMzMzMzMzMzMf/
+ ////////+MzMePjMeP///////////////////////4zMzMeHx4/////////4fMzMzMzMzMzMzMzMzMzM
+ zMzH/////////4fMd3eHzMeP//////////////////////iMzMzIiHx4////////+HzMzMzMzMzMzMzM
+ zMzMzMzMx/////////+Hx4iIfMzMj//////////////////////4h3d8x4h8yP////////jMzMzMzMzM
+ zMzMzMzMzMzMzMeP////////+HiP+IfMzI//////////////////////+HiIiHd3zHj////////4zMzM
+ zMzMzMzMzMzMzMzMzMzHj/////////h4//+HzMeP//////////////////////h4//h8zMyP////////
+ +MzMzMzMzMzMzMzMzMzMzMzMzI/////////4iP//h8x4///////////////////////4j//4fMzHj///
+ //////jMzMzMzMzMzMzMzMzMzMzMzMyP///////4iIiP+IfHj///////////////////////+Ij/+HzM
+ eP/////////4zMzMzMzMzMzMzMzMzMzMzMzMj///////iIiIiIh3eP////////////////////////+I
+ j4h8x3iI////////h8zMzMzMzMzMzMzMzMzMzMzMzH//////+Hj///iIiI//////////////////////
+ /////4iId4iIiIj//////4zMzMzMzMzMzMzMzMzMzMzMzMx4//////iP////iP//////////////////
+ /////////////4iP//iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMyP//////////+I//////////////
+ ///////////////////4eP//iP//////jMzMzMzMzMzMzMzMzMzMzMzMzMj///////////iP////////
+ /////////////////////////4j/////////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj///////////////
+ //////////////////////////////+I//////////jMzMzMzMzMzMzMzMzMzMzMzMzMzI//////////
+ //////////////////////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
+ ////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
+ eP///////////////////////////////////////////////////////4zMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMj///////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzM
+ zMzMzMzMzMzHj//////////////////////////////////////////////////////4zMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzI//////////////////////////////////////////////////////h8zMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMx4////////////////////////////////////////////////////+HzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMyI////+I////////////////////////////////////////////
+ //h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+Ij/////////////////////////////////////
+ //////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+IiIiIj//////////////////////////4
+ ////iI/////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMiP/////4iIiP//////////////////////
+ ////+IiIiIj/////iHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////////////////
+ ///////////4iIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP////////////////////
+ //////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////
+ //////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////
+ ///////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////
+ ////////////////////////////////////////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI
+ j/////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMeP//////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMx4////////+I//////////////////////////////////////jMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMeP///////4iIj///////////////////////////iP///////4fMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMx4////////iIiIiP///////////////////////4iIiP///////4zMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIj///////+HzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIj////////////////////4iIiIiIj///////
+ +MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIiI//
+ //////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiP////////////////////iIiI
+ iIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiIj/////iIiIiIiIj/////
+ /4iIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiI/////4zMzMzMzM
+ j/////+IiIiIiIiP//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP//////+IiIiIiIj/////+MzM
+ zMzMzI//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iIiIiIiI////
+ //jMzMzMzMyP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP///////4iIiIiI
+ iP/////4zMzMzMzMj//////4iIiIiIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iI
+ iIiIiI//////+MzMzMzMzI//////+IiIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
+ ///4iIiIiIiP//////fMzMzMzMyP//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzH
+ j///////+IiIiIiI//////+HzMzMzMzMeP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMyP////////iIiIiIiP//////jMzMzMzMzHj///////iIiIiIiI///////4fMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMj///////+IiIiIiI///////4zMzMzMzMzI///////4iIiIiIiI///////3zMzMzMzMzMzM
+ zMzMzMzMzMzMzMzI////////iIiIiIiP//////+MzMzMzMzMyP//////+IiIiIiIiP//////+MzMzMzM
+ zMzMzMzMzMzMzMzMzMzMeP///////4iIiIiIj///////jMzMzMzMzMj///////+IiIiIiIj///////jM
+ zMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiIiP//////+HzMzMzMzMzHj///////iIiIiIiI////
+ ///4zMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIiI////////jMzMzMzMzMzI///////4iIiIiI
+ iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMzMj////////4iIiIiP///////4zMzMzMzMzMyP///////4
+ iIiIiIiP//////jMzMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiI////////h8zMzMzMzMzMeP//
+ /////4iIiIiIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIj////////4fMzMzMzMzM
+ zHj///////+IiIiIiI//////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////iIiP////////+MzMzM
+ zMzMzMzI////////+IiIiIiP//////h8zMzMzMzMzMzMxmzMzMzMzMzMx4/////////4iP/////////4
+ fMzMzMzMzMzMx4////////+IiIiIj//////4fMzMzMzMzMzMzMZszMzMzMzMzMeP////////////////
+ ////+MzMzMzMzMzMzMyP////////iIiIiP//////+HzMzMzMzMzMzMzGbMzMzMzMzMzH////////////
+ //////////fMzMzMzMzMzMzMeP////////iIiIj///////98zMzMzMzMzMzMxmzMzMzMzMzMyP//////
+ //////////////+HzMzMzMzMzMzMzHj/////////+IiP////////jMzMzMzMzMzMzMZszMzMzMzMzMj/
+ ////////////////////jMzMzMzMzMzMzMzIj////////////////////4zMzMzMzMzMzMzGTMzMzMzM
+ zMzH////////////////////+HzMzMzMzMzMzMzMx4////////////////////+MzMzMzMzMzMzMxAzM
+ zMzMzMzMx/////////////////////jMzMzMzMzMzMzMzMyI///////////////////4fMzMzMzMzMzM
+ zMAGzMzMzMzMzMeP//////////////////+HzMzMzMzMzMzMzMzMeP//////////////////+HzMzMzM
+ zMzMzMxgBszMzMzMzMzHj//////////////////4fMzMzMzMzMzMzMzMzMeP//////////////////h8
+ zMzMzMzMzMzMYADMzMzMzMzMzI//////////////////+HzMzMzMzMzMzMzMzMzHj///////////////
+ ///4zMzMzMzMzMzMzAAAbMzMzMzMzMyP/////////////////4fMzMzMzMzMzMzMzMzMzHj/////////
+ ////////+MzMzMzMzMzMzMYAAEzMzMzMzMzMj/////////////////+MzMzMzMzMzMzMzMzMzMzIj///
+ /////////////4fMzMzMzMzMzMzEAAAGzMzMzMzMzHj////////////////4fMzMzMzMzMzMzMzMzMzM
+ x4////////////////+MzMzMzMzMzMzMYAAABMzMzMzMzMx4////////////////h8zMzMzMzMzMzMzM
+ zMzMzMx4///////////////4fMzMzMzMzMzMzEAAAABszMzMzMzMx4//////////////+HzMzMzMzMzM
+ zMzMzMzMzMzMx4//////////////+MzMzMzMzMzMzMYAAAAATMzMzMzMzMyP/////////////4fMzMzM
+ zMzMzMzMzMzMzMzMzMeI/////////////4fMzMzMzMzMzMzEAAAAAAbMzMzMzMzMeP////////////h8
+ zMzMzMzMzMzMzMzMzMzMzMzMeI////////////h8zMzMzMzMzMzMYAAAAAAAbMzMzMzMzMeP////////
+ //iHzMzMzMzMzMzMzMzMzMzMzMzMzMyI//////////+HzMzMzMzMzMzMxgAAAAAAAEzMzMzMzMzMeP//
+ //////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMx4/////////4fMzMzMzMzMzMzMQAAAAAAAAGzMzMzMzM
+ zMeI//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4j//////4h8zMzMzMzMzMzMxgAAAAAAAAAGzM
+ zMzMzMzMx4iIiIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiIj/+Ih3zMzMzMzMzMzMzGAAAAAAAA
+ AAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx3iId8zMzMzMzMzMzMzMYAAA
+ AAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ xgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzGAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
+ zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
+ AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
+ AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
+ B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
+ AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
+ AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
+ AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
+ AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
+ AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
+ AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
+ AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
+ AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
+ AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
+ AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
+ AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
+ AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+ +AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
+
+
+
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/ShopForms/MPddShopForm.Designer.cs b/TEMUKJD/PDDForms/ShopForms/A_PddShopForm.Designer.cs
similarity index 99%
rename from TEMUKJD/PDDForms/ShopForms/MPddShopForm.Designer.cs
rename to TEMUKJD/PDDForms/ShopForms/A_PddShopForm.Designer.cs
index ceb5eb1..9a5f96c 100644
--- a/TEMUKJD/PDDForms/ShopForms/MPddShopForm.Designer.cs
+++ b/TEMUKJD/PDDForms/ShopForms/A_PddShopForm.Designer.cs
@@ -1,6 +1,6 @@
namespace TemuKJD.PDDForms.ShopForms
{
- partial class MPddShopForm
+ partial class A_PddShopForm
{
///
/// Required designer variable.
diff --git a/TEMUKJD/PDDForms/ShopForms/MPddShopForm.cs b/TEMUKJD/PDDForms/ShopForms/A_PddShopForm.cs
similarity index 97%
rename from TEMUKJD/PDDForms/ShopForms/MPddShopForm.cs
rename to TEMUKJD/PDDForms/ShopForms/A_PddShopForm.cs
index 8f81b36..6119ea8 100644
--- a/TEMUKJD/PDDForms/ShopForms/MPddShopForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/A_PddShopForm.cs
@@ -10,20 +10,20 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.KJDForms.AdminForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductSelectForms;
using TemuKJD.KJDForms.ProductThirdSelectForms;
using TemuKJD.KJDForms.ShopForms.Statistics;
namespace TemuKJD.PDDForms.ShopForms
{
- public partial class MPddShopForm : BaseForm
+ public partial class A_PddShopForm : BaseForm
{
public Lazy shopListForm = new Lazy();
public Lazy sbuAccountForm = new Lazy();
- public MPddShopForm()
+ public A_PddShopForm()
{
InitializeComponent();
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/MeituMessageDialog.resx b/TEMUKJD/PDDForms/ShopForms/A_PddShopForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/MeituMessageDialog.resx
rename to TEMUKJD/PDDForms/ShopForms/A_PddShopForm.resx
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDShopAddEditForm.cs b/TEMUKJD/PDDForms/ShopForms/PDDShopAddEditForm.cs
index 5e25e32..916b738 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDShopAddEditForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDShopAddEditForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/PDDForms/ShopForms/ShopBrowserObject.cs b/TEMUKJD/PDDForms/ShopForms/PDDShopBrowserObject.cs
similarity index 99%
rename from TEMUKJD/PDDForms/ShopForms/ShopBrowserObject.cs
rename to TEMUKJD/PDDForms/ShopForms/PDDShopBrowserObject.cs
index b88be05..f28bff3 100644
--- a/TEMUKJD/PDDForms/ShopForms/ShopBrowserObject.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDShopBrowserObject.cs
@@ -9,12 +9,12 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.PDDForms.ShopForms
{
- public class ShopBrowserObject
+ public class PDDShopBrowserObject
{
public delegate void InfoReceivedHandler(string information);
public event InfoReceivedHandler OnInfoReceived;
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDShopListForm.cs b/TEMUKJD/PDDForms/ShopForms/PDDShopListForm.cs
index a17b5a7..57ed8b3 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDShopListForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDShopListForm.cs
@@ -2,7 +2,7 @@
using AllBase.Helper;
using AllBase.Model.Result;
using TemuKJD.Extension;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
@@ -241,7 +241,7 @@ namespace TemuKJD.PDDForms.ShopForms
#region 服务端店铺Cookie管理
///
- /// 添加京东店铺Cookies
+ /// 添加店铺Cookies
///
/// 店铺名称
/// cookies
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.Designer.cs b/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.Designer.cs
index 18a2d49..3f3a4e4 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.Designer.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.Designer.cs
@@ -31,6 +31,10 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDShopLoginForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.btnLoginAgain = new TemuKJD.UserControls.ButtonEx();
+ this.pnlMultiLogin = new System.Windows.Forms.Panel();
+ this.cmbMultiCookieName = new DevComponents.DotNetBar.Controls.ComboBoxEx();
+ this.btnMultiLogin = new DevComponents.DotNetBar.PanelEx();
+ this.btnDel = new DevComponents.DotNetBar.PanelEx();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.btnCopyPassword = new TemuKJD.UserControls.ButtonEx();
@@ -42,18 +46,15 @@
this.chkCloseAfterLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.txtAddress = new System.Windows.Forms.TextBox();
- this.btnDel = new DevComponents.DotNetBar.PanelEx();
- this.btnMultiLogin = new DevComponents.DotNetBar.PanelEx();
- this.cmbMultiCookieName = new DevComponents.DotNetBar.Controls.ComboBoxEx();
- this.pnlMultiLogin = new System.Windows.Forms.Panel();
+ this.btnReturnPackage = new TemuKJD.UserControls.ButtonEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
+ this.pnlMultiLogin.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
- this.pnlMultiLogin.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
@@ -69,6 +70,7 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
+ this.splitContainer1.Panel2.Controls.Add(this.btnReturnPackage);
this.splitContainer1.Panel2.Controls.Add(this.btnLoginAgain);
this.splitContainer1.Panel2.Controls.Add(this.pnlMultiLogin);
this.splitContainer1.Panel2.Controls.Add(this.label2);
@@ -102,6 +104,80 @@
this.btnLoginAgain.UseVisualStyleBackColor = false;
this.btnLoginAgain.Click += new System.EventHandler(this.btnLoginAgain_Click);
//
+ // pnlMultiLogin
+ //
+ this.pnlMultiLogin.Controls.Add(this.cmbMultiCookieName);
+ this.pnlMultiLogin.Controls.Add(this.btnMultiLogin);
+ this.pnlMultiLogin.Controls.Add(this.btnDel);
+ this.pnlMultiLogin.Location = new System.Drawing.Point(357, 8);
+ this.pnlMultiLogin.Name = "pnlMultiLogin";
+ this.pnlMultiLogin.Size = new System.Drawing.Size(270, 33);
+ this.pnlMultiLogin.TabIndex = 461;
+ this.pnlMultiLogin.Visible = false;
+ //
+ // cmbMultiCookieName
+ //
+ this.cmbMultiCookieName.DisplayMember = "Text";
+ this.cmbMultiCookieName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
+ this.cmbMultiCookieName.FormattingEnabled = true;
+ this.cmbMultiCookieName.ItemHeight = 18;
+ this.cmbMultiCookieName.Location = new System.Drawing.Point(3, 3);
+ this.cmbMultiCookieName.Name = "cmbMultiCookieName";
+ this.cmbMultiCookieName.Size = new System.Drawing.Size(158, 24);
+ this.cmbMultiCookieName.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.cmbMultiCookieName.TabIndex = 379;
+ this.cmbMultiCookieName.Text = "cookie1";
+ //
+ // btnMultiLogin
+ //
+ this.btnMultiLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnMultiLogin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnMultiLogin.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnMultiLogin.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnMultiLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnMultiLogin.Location = new System.Drawing.Point(186, 3);
+ this.btnMultiLogin.Name = "btnMultiLogin";
+ this.btnMultiLogin.Size = new System.Drawing.Size(60, 24);
+ this.btnMultiLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnMultiLogin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnMultiLogin.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnMultiLogin.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnMultiLogin.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnMultiLogin.Style.GradientAngle = 90;
+ this.btnMultiLogin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnMultiLogin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnMultiLogin.TabIndex = 460;
+ this.btnMultiLogin.Text = "多重登录";
+ this.btnMultiLogin.Click += new System.EventHandler(this.btnMultiLogin_Click);
+ //
+ // btnDel
+ //
+ this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnDel.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnDel.Location = new System.Drawing.Point(161, 3);
+ this.btnDel.Name = "btnDel";
+ this.btnDel.Size = new System.Drawing.Size(20, 24);
+ this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnDel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnDel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnDel.Style.GradientAngle = 90;
+ this.btnDel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnDel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnDel.TabIndex = 409;
+ this.btnDel.Text = "删";
+ this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
+ //
// label2
//
this.label2.Location = new System.Drawing.Point(23, 35);
@@ -254,88 +330,31 @@
this.txtAddress.TabIndex = 7;
this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
//
- // btnDel
+ // btnReturnPackage
//
- this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnDel.CanvasColor = System.Drawing.SystemColors.Control;
- this.btnDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnDel.Location = new System.Drawing.Point(161, 3);
- this.btnDel.Name = "btnDel";
- this.btnDel.Size = new System.Drawing.Size(20, 24);
- this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.btnDel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.btnDel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnDel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.btnDel.Style.GradientAngle = 90;
- this.btnDel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.btnDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnDel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnDel.TabIndex = 409;
- this.btnDel.Text = "删";
- this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
+ this.btnReturnPackage.Anchor = System.Windows.Forms.AnchorStyles.Top;
+ this.btnReturnPackage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReturnPackage.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnReturnPackage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnReturnPackage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnReturnPackage.ForeColor = System.Drawing.Color.White;
+ this.btnReturnPackage.Location = new System.Drawing.Point(674, 30);
+ this.btnReturnPackage.Margin = new System.Windows.Forms.Padding(2);
+ this.btnReturnPackage.Name = "btnReturnPackage";
+ this.btnReturnPackage.Size = new System.Drawing.Size(136, 25);
+ this.btnReturnPackage.TabIndex = 464;
+ this.btnReturnPackage.Text = "提交退货到库存管理";
+ this.btnReturnPackage.UseVisualStyleBackColor = false;
+ this.btnReturnPackage.Visible = false;
//
- // btnMultiLogin
- //
- this.btnMultiLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnMultiLogin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnMultiLogin.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnMultiLogin.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnMultiLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnMultiLogin.Location = new System.Drawing.Point(186, 3);
- this.btnMultiLogin.Name = "btnMultiLogin";
- this.btnMultiLogin.Size = new System.Drawing.Size(60, 24);
- this.btnMultiLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnMultiLogin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnMultiLogin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnMultiLogin.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnMultiLogin.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnMultiLogin.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnMultiLogin.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnMultiLogin.Style.GradientAngle = 90;
- this.btnMultiLogin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnMultiLogin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnMultiLogin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnMultiLogin.TabIndex = 460;
- this.btnMultiLogin.Text = "多重登录";
- this.btnMultiLogin.Click += new System.EventHandler(this.btnMultiLogin_Click);
- //
- // cmbMultiCookieName
- //
- this.cmbMultiCookieName.DisplayMember = "Text";
- this.cmbMultiCookieName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
- this.cmbMultiCookieName.FormattingEnabled = true;
- this.cmbMultiCookieName.ItemHeight = 18;
- this.cmbMultiCookieName.Location = new System.Drawing.Point(3, 3);
- this.cmbMultiCookieName.Name = "cmbMultiCookieName";
- this.cmbMultiCookieName.Size = new System.Drawing.Size(158, 24);
- this.cmbMultiCookieName.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.cmbMultiCookieName.TabIndex = 379;
- this.cmbMultiCookieName.Text = "cookie1";
- //
- // pnlMultiLogin
- //
- this.pnlMultiLogin.Controls.Add(this.cmbMultiCookieName);
- this.pnlMultiLogin.Controls.Add(this.btnMultiLogin);
- this.pnlMultiLogin.Controls.Add(this.btnDel);
- this.pnlMultiLogin.Location = new System.Drawing.Point(403, 1);
- this.pnlMultiLogin.Name = "pnlMultiLogin";
- this.pnlMultiLogin.Size = new System.Drawing.Size(270, 33);
- this.pnlMultiLogin.TabIndex = 461;
- this.pnlMultiLogin.Visible = false;
- //
- // ShopLoginForm
+ // PDDShopLoginForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1440, 800);
this.Controls.Add(this.splitContainer2);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "ShopLoginForm";
+ this.Name = "PDDShopLoginForm";
this.ShowMaximizeBox = true;
this.Text = "店铺登录";
this.TitleText = "店铺登录";
@@ -346,12 +365,12 @@
this.splitContainer1.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
+ this.pnlMultiLogin.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel1.PerformLayout();
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
- this.pnlMultiLogin.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -375,5 +394,6 @@
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbMultiCookieName;
private DevComponents.DotNetBar.PanelEx btnMultiLogin;
private DevComponents.DotNetBar.PanelEx btnDel;
+ private UserControls.ButtonEx btnReturnPackage;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.cs b/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.cs
index 07b210f..4942cb2 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDShopLoginForm.cs
@@ -5,7 +5,7 @@ using CefSharp;
using CefSharp.WinForms;
//using TemuKJD.DashBoardForms;
using TemuKJD.Helper;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Microsoft.Win32;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
@@ -291,7 +291,7 @@ namespace TemuKJD.PDDForms.ShopForms
cefWebBrowser.Dock = DockStyle.Fill;
//js绑定C#对象
- ShopBrowserObject shopObj = new ShopBrowserObject();
+ PDDShopBrowserObject shopObj = new PDDShopBrowserObject();
shopObj.OnInfoReceived += ShopObj_OnInfoReceived;
CefSharpSettings.WcfEnabled = true;
cefWebBrowser.JavascriptObjectRepository.Register(
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDShopUpdateCookieForm.cs b/TEMUKJD/PDDForms/ShopForms/PDDShopUpdateCookieForm.cs
index 0437545..b0711ef 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDShopUpdateCookieForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDShopUpdateCookieForm.cs
@@ -1,6 +1,6 @@
using AllBase.Helper;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDSubAccountListForm.cs b/TEMUKJD/PDDForms/ShopForms/PDDSubAccountListForm.cs
index 218ea65..821f49b 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDSubAccountListForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDSubAccountListForm.cs
@@ -1,6 +1,6 @@
using AllBase;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/PDDForms/ShopForms/PDDSubAccountShopEditForm.cs b/TEMUKJD/PDDForms/ShopForms/PDDSubAccountShopEditForm.cs
index 33bb066..758ad43 100644
--- a/TEMUKJD/PDDForms/ShopForms/PDDSubAccountShopEditForm.cs
+++ b/TEMUKJD/PDDForms/ShopForms/PDDSubAccountShopEditForm.cs
@@ -1,6 +1,6 @@
using AllBase;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/StartUp.cs b/TEMUKJD/StartUp.cs
index bd9d824..68b515f 100644
--- a/TEMUKJD/StartUp.cs
+++ b/TEMUKJD/StartUp.cs
@@ -5,7 +5,7 @@ using AllBase.Model.Param.CollectManage;
using AllBase.Model.Param.ProductManage;
using AllBase.Model.Param.ShopManage;
using AllBase.Model.Result;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductForms;
using NaiBa.Util;
using NaiBa.Util.Extension;
diff --git a/TEMUKJD/TaobaoLoginForm.cs b/TEMUKJD/TaobaoLoginForm.cs
index eaf232a..ef5c459 100644
--- a/TEMUKJD/TaobaoLoginForm.cs
+++ b/TEMUKJD/TaobaoLoginForm.cs
@@ -16,7 +16,7 @@ using System.Threading.Tasks;
using CefSharp;
using CefSharp.WinForms;
using Work;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.CefHelper;
namespace TemuKJD
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/CefForm.Designer.cs b/TEMUKJD/ToolForms/CefForm.Designer.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/CefForm.Designer.cs
rename to TEMUKJD/ToolForms/CefForm.Designer.cs
index 8382611..a5b9855 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/CefForm.Designer.cs
+++ b/TEMUKJD/ToolForms/CefForm.Designer.cs
@@ -1,4 +1,4 @@
-namespace TemuKJD.KJDForms.ToolForms
+namespace TemuKJD.ToolForms
{
partial class CefForm
{
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/CefForm.cs b/TEMUKJD/ToolForms/CefForm.cs
similarity index 98%
rename from TEMUKJD/KJDForms/ToolForms/Old/CefForm.cs
rename to TEMUKJD/ToolForms/CefForm.cs
index 34b50ec..acde602 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/CefForm.cs
+++ b/TEMUKJD/ToolForms/CefForm.cs
@@ -15,10 +15,11 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
+using TemuKJD.BaseForms;
-namespace TemuKJD.KJDForms.ToolForms
+namespace TemuKJD.ToolForms
{
- public partial class CefForm : BaseForms.LRBaseForm
+ public partial class CefForm : LRBaseForm
{
ChromiumWebBrowser cefWebBrowser = null;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/CefForm.resx b/TEMUKJD/ToolForms/CefForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/CefForm.resx
rename to TEMUKJD/ToolForms/CefForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.cs b/TEMUKJD/ToolForms/Old/ChangeIPForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.cs
rename to TEMUKJD/ToolForms/Old/ChangeIPForm.cs
index aea42f0..e64494b 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.cs
+++ b/TEMUKJD/ToolForms/Old/ChangeIPForm.cs
@@ -1,5 +1,5 @@
using AllBase;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.designer.cs b/TEMUKJD/ToolForms/Old/ChangeIPForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.designer.cs
rename to TEMUKJD/ToolForms/Old/ChangeIPForm.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.resx b/TEMUKJD/ToolForms/Old/ChangeIPForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/ChangeIPForm.resx
rename to TEMUKJD/ToolForms/Old/ChangeIPForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/IeForm.cs b/TEMUKJD/ToolForms/Old/IeForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/IeForm.cs
rename to TEMUKJD/ToolForms/Old/IeForm.cs
index 9b74b27..00c3547 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/IeForm.cs
+++ b/TEMUKJD/ToolForms/Old/IeForm.cs
@@ -6,7 +6,7 @@ using AllBase;
using CefSharp;
using CefSharp.WinForms;
using DevComponents.DotNetBar;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.CefHelper;
namespace TemuKJD.KJDForms.ToolForms
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/IeForm.designer.cs b/TEMUKJD/ToolForms/Old/IeForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/IeForm.designer.cs
rename to TEMUKJD/ToolForms/Old/IeForm.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/IeForm.resx b/TEMUKJD/ToolForms/Old/IeForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/IeForm.resx
rename to TEMUKJD/ToolForms/Old/IeForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.cs b/TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.cs
similarity index 98%
rename from TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.cs
rename to TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.cs
index 79373f8..1eab82b 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.cs
+++ b/TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.cs
@@ -1,7 +1,7 @@
using AllBase;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.Text;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.designer.cs b/TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/JDVerifyForm/CollectVerifyForm.designer.cs
rename to TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.resx b/TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.resx
rename to TEMUKJD/ToolForms/Old/JDVerifyForm/CollectVerifyForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.Designer.cs b/TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.Designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.Designer.cs
rename to TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.Designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.cs b/TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.cs
rename to TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.cs
index be2e452..2169ed5 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.cs
+++ b/TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.cs
@@ -2,7 +2,7 @@
using CefSharp;
using CefSharp.WinForms;
using TemuKJD.Helper;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using TemuKJD.KJDForms.ProductForms;
using NaiBa.CefHelper.Handler;
using System;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.resx b/TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.resx
rename to TEMUKJD/ToolForms/Old/KeywordsForms/KeywordsCatchFrom.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/MeituMessageDialog.cs b/TEMUKJD/ToolForms/Old/MeituMessageDialog.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/MeituMessageDialog.cs
rename to TEMUKJD/ToolForms/Old/MeituMessageDialog.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/MeituMessageDialog.designer.cs b/TEMUKJD/ToolForms/Old/MeituMessageDialog.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/MeituMessageDialog.designer.cs
rename to TEMUKJD/ToolForms/Old/MeituMessageDialog.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.resx b/TEMUKJD/ToolForms/Old/MeituMessageDialog.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.resx
rename to TEMUKJD/ToolForms/Old/MeituMessageDialog.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.cs b/TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.cs
rename to TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.cs
index 1f76341..1e8e07e 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.cs
+++ b/TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.cs
@@ -1,7 +1,7 @@
using AllBase;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
using NaiBa.Util.Extension;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.designer.cs b/TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoCaptchaForm.designer.cs
rename to TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.resx b/TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.resx
rename to TEMUKJD/ToolForms/Old/PinDuoDuoCaptchaForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.cs b/TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.cs
rename to TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.cs
index 4501281..22b7f4b 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.cs
+++ b/TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.cs
@@ -1,7 +1,7 @@
using AllBase;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.designer.cs b/TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/PinDuoDuoLoginForm.designer.cs
rename to TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/TextForm.resx b/TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/TextForm.resx
rename to TEMUKJD/ToolForms/Old/PinDuoDuoLoginForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.cs b/TEMUKJD/ToolForms/Old/ProxyForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.cs
rename to TEMUKJD/ToolForms/Old/ProxyForm.cs
index 57bc880..4f4f4b3 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.cs
+++ b/TEMUKJD/ToolForms/Old/ProxyForm.cs
@@ -1,6 +1,6 @@
using AllBase;
using AllBase.Helper;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.designer.cs b/TEMUKJD/ToolForms/Old/ProxyForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/ProxyForm.designer.cs
rename to TEMUKJD/ToolForms/Old/ProxyForm.designer.cs
diff --git a/TEMUKJD/PDDForms/ShopForms/MPddShopForm.resx b/TEMUKJD/ToolForms/Old/ProxyForm.resx
similarity index 100%
rename from TEMUKJD/PDDForms/ShopForms/MPddShopForm.resx
rename to TEMUKJD/ToolForms/Old/ProxyForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/TextForm.cs b/TEMUKJD/ToolForms/Old/TextForm.cs
similarity index 97%
rename from TEMUKJD/KJDForms/ToolForms/Old/TextForm.cs
rename to TEMUKJD/ToolForms/Old/TextForm.cs
index 82c0658..c48c9df 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/TextForm.cs
+++ b/TEMUKJD/ToolForms/Old/TextForm.cs
@@ -1,5 +1,5 @@
using AllBase;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/TextForm.designer.cs b/TEMUKJD/ToolForms/Old/TextForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/TextForm.designer.cs
rename to TEMUKJD/ToolForms/Old/TextForm.designer.cs
diff --git a/TEMUKJD/ToolForms/Old/TextForm.resx b/TEMUKJD/ToolForms/Old/TextForm.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/TEMUKJD/ToolForms/Old/TextForm.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.cs b/TEMUKJD/ToolForms/Old/TokenNewForm.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.cs
rename to TEMUKJD/ToolForms/Old/TokenNewForm.cs
index d8f00a2..fab365a 100644
--- a/TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.cs
+++ b/TEMUKJD/ToolForms/Old/TokenNewForm.cs
@@ -1,5 +1,5 @@
using AllBase;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.designer.cs b/TEMUKJD/ToolForms/Old/TokenNewForm.designer.cs
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.designer.cs
rename to TEMUKJD/ToolForms/Old/TokenNewForm.designer.cs
diff --git a/TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.resx b/TEMUKJD/ToolForms/Old/TokenNewForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/Old/TokenNewForm.resx
rename to TEMUKJD/ToolForms/Old/TokenNewForm.resx
diff --git a/TEMUKJD/KJDForms/ToolForms/ShowImgForm.Designer.cs b/TEMUKJD/ToolForms/ShowImgForm.Designer.cs
similarity index 99%
rename from TEMUKJD/KJDForms/ToolForms/ShowImgForm.Designer.cs
rename to TEMUKJD/ToolForms/ShowImgForm.Designer.cs
index 7ed4d78..8648635 100644
--- a/TEMUKJD/KJDForms/ToolForms/ShowImgForm.Designer.cs
+++ b/TEMUKJD/ToolForms/ShowImgForm.Designer.cs
@@ -1,5 +1,5 @@
-namespace TemuKJD.KJDForms.ToolForms
+namespace TemuKJD.ToolForms
{
partial class ShowImgForm
{
diff --git a/TEMUKJD/KJDForms/ToolForms/ShowImgForm.cs b/TEMUKJD/ToolForms/ShowImgForm.cs
similarity index 96%
rename from TEMUKJD/KJDForms/ToolForms/ShowImgForm.cs
rename to TEMUKJD/ToolForms/ShowImgForm.cs
index 5996e4c..57a209b 100644
--- a/TEMUKJD/KJDForms/ToolForms/ShowImgForm.cs
+++ b/TEMUKJD/ToolForms/ShowImgForm.cs
@@ -7,9 +7,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
-namespace TemuKJD.KJDForms.ToolForms
+namespace TemuKJD.ToolForms
{
public partial class ShowImgForm : LRBaseForm
{
diff --git a/TEMUKJD/KJDForms/ToolForms/ShowImgForm.resx b/TEMUKJD/ToolForms/ShowImgForm.resx
similarity index 100%
rename from TEMUKJD/KJDForms/ToolForms/ShowImgForm.resx
rename to TEMUKJD/ToolForms/ShowImgForm.resx
diff --git a/TEMUKJD/UserForm/LoginForm.cs b/TEMUKJD/UserForm/LoginForm.cs
index 0645a40..7530564 100644
--- a/TEMUKJD/UserForm/LoginForm.cs
+++ b/TEMUKJD/UserForm/LoginForm.cs
@@ -1,7 +1,7 @@
using AllBase;
using CefSharp;
using CefSharp.WinForms;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/TEMUKJD/UserForm/RegeditForm.cs b/TEMUKJD/UserForm/RegeditForm.cs
index a4d8abf..ceb74e3 100644
--- a/TEMUKJD/UserForm/RegeditForm.cs
+++ b/TEMUKJD/UserForm/RegeditForm.cs
@@ -8,7 +8,7 @@ using System.Text;
using System.Threading;
using System.Windows.Forms;
using AllBase;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.UserForm
diff --git a/TEMUKJD/UserForm/ResetPasswordForm.cs b/TEMUKJD/UserForm/ResetPasswordForm.cs
index fdcabd6..33f496a 100644
--- a/TEMUKJD/UserForm/ResetPasswordForm.cs
+++ b/TEMUKJD/UserForm/ResetPasswordForm.cs
@@ -3,7 +3,7 @@ using System.Drawing;
using System.Threading;
using System.Windows.Forms;
using AllBase;
-using TemuKJD.KJDForms.BaseForms;
+using TemuKJD.BaseForms;
using Work;
namespace TemuKJD.UserForm
diff --git a/TEMUKJD/UserForm/SupportQrCodeForm.cs b/TEMUKJD/UserForm/SupportQrCodeForm.cs
index 6eeb6fe..fc56574 100644
--- a/TEMUKJD/UserForm/SupportQrCodeForm.cs
+++ b/TEMUKJD/UserForm/SupportQrCodeForm.cs
@@ -7,10 +7,11 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+using TemuKJD.BaseForms;
namespace TemuKJD.UserForm
{
- public partial class SupportQrCodeForm : KJDForms.BaseForms.LRBaseForm
+ public partial class SupportQrCodeForm : LRBaseForm
{
public SupportQrCodeForm()
{