调整优化代码文件组织结构
This commit is contained in:
1 parent
025c213435
commit
840636d5c9
130 files changed
+5936
-228
No files matched your search
@@ -7,7 +7,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.BLL
|
namespace TemuKJD.BLL
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
namespace TemuKJD.KJDForms.BaseForms
|
namespace TemuKJD.BaseForms
|
||||||
{
|
{
|
||||||
partial class BaseForm
|
partial class BaseForm
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.BaseForms
|
namespace TemuKJD.BaseForms
|
||||||
{
|
{
|
||||||
public partial class BaseForm : Form
|
public partial class BaseForm : Form
|
||||||
{
|
{
|
||||||
File renamed without changes.
@@ -9,7 +9,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.BaseForms
|
namespace TemuKJD.BaseForms
|
||||||
{
|
{
|
||||||
public partial class BaseMsgForm : LRBaseForm
|
public partial class BaseMsgForm : LRBaseForm
|
||||||
{
|
{
|
||||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace TemuKJD.KJDForms.BaseForms
|
namespace TemuKJD.BaseForms
|
||||||
{
|
{
|
||||||
partial class BaseMsgForm
|
partial class BaseMsgForm
|
||||||
{
|
{
|
||||||
File renamed without changes.
@@ -9,7 +9,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.BaseForms
|
namespace TemuKJD.BaseForms
|
||||||
{
|
{
|
||||||
public partial class LRBaseForm : BaseForm
|
public partial class LRBaseForm : BaseForm
|
||||||
{
|
{
|
||||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace TemuKJD.KJDForms.BaseForms
|
namespace TemuKJD.BaseForms
|
||||||
{
|
{
|
||||||
partial class LRBaseForm
|
partial class LRBaseForm
|
||||||
{
|
{
|
||||||
File renamed without changes.
@@ -11,7 +11,7 @@ using System.Windows.Forms;
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
//using TemuKJD.ChatForms;
|
//using TemuKJD.ChatForms;
|
||||||
//using TemuKJD.DashBoardForms;
|
//using TemuKJD.DashBoardForms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD
|
namespace TemuKJD
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CefSharp;
|
using CefSharp;
|
||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.ToolForms;
|
||||||
using NaiBa.CefHelper;
|
using NaiBa.CefHelper;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
+96
-51
@@ -189,22 +189,22 @@
|
|||||||
<DependentUpon>AdminShopLoginForm.cs</DependentUpon>
|
<DependentUpon>AdminShopLoginForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\AdminForms\ShopBrowserObject.cs" />
|
<Compile Include="KJDForms\AdminForms\ShopBrowserObject.cs" />
|
||||||
<Compile Include="KJDForms\BaseForms\BaseForm.cs">
|
<Compile Include="BaseForms\BaseForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\BaseForms\BaseForm.Designer.cs">
|
<Compile Include="BaseForms\BaseForm.Designer.cs">
|
||||||
<DependentUpon>BaseForm.cs</DependentUpon>
|
<DependentUpon>BaseForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\BaseForms\BaseMsgForm.cs">
|
<Compile Include="BaseForms\BaseMsgForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\BaseForms\BaseMsgForm.designer.cs">
|
<Compile Include="BaseForms\BaseMsgForm.designer.cs">
|
||||||
<DependentUpon>BaseMsgForm.cs</DependentUpon>
|
<DependentUpon>BaseMsgForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\BaseForms\LRBaseForm.cs">
|
<Compile Include="BaseForms\LRBaseForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\BaseForms\LRBaseForm.designer.cs">
|
<Compile Include="BaseForms\LRBaseForm.designer.cs">
|
||||||
<DependentUpon>LRBaseForm.cs</DependentUpon>
|
<DependentUpon>LRBaseForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\OrderForms\OrderForm.cs">
|
<Compile Include="KJDForms\OrderForms\OrderForm.cs">
|
||||||
@@ -418,70 +418,70 @@
|
|||||||
<Compile Include="KJDForms\SystemForms\SystemRemoveRestrictionsForm.Designer.cs">
|
<Compile Include="KJDForms\SystemForms\SystemRemoveRestrictionsForm.Designer.cs">
|
||||||
<DependentUpon>SystemRemoveRestrictionsForm.cs</DependentUpon>
|
<DependentUpon>SystemRemoveRestrictionsForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\CefForm.cs">
|
<Compile Include="ToolForms\CefForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\CefForm.Designer.cs">
|
<Compile Include="ToolForms\CefForm.Designer.cs">
|
||||||
<DependentUpon>CefForm.cs</DependentUpon>
|
<DependentUpon>CefForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\ChangeIPForm.cs">
|
<Compile Include="ToolForms\Old\ChangeIPForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\ChangeIPForm.designer.cs">
|
<Compile Include="ToolForms\Old\ChangeIPForm.designer.cs">
|
||||||
<DependentUpon>ChangeIPForm.cs</DependentUpon>
|
<DependentUpon>ChangeIPForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\IeForm.cs">
|
<Compile Include="ToolForms\Old\IeForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\IeForm.designer.cs">
|
<Compile Include="ToolForms\Old\IeForm.designer.cs">
|
||||||
<DependentUpon>IeForm.cs</DependentUpon>
|
<DependentUpon>IeForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\JDVerifyForm\CollectVerifyForm.cs">
|
<Compile Include="ToolForms\Old\JDVerifyForm\CollectVerifyForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\JDVerifyForm\CollectVerifyForm.designer.cs">
|
<Compile Include="ToolForms\Old\JDVerifyForm\CollectVerifyForm.designer.cs">
|
||||||
<DependentUpon>CollectVerifyForm.cs</DependentUpon>
|
<DependentUpon>CollectVerifyForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\KeywordsForms\KeywordsCatchFrom.cs">
|
<Compile Include="ToolForms\Old\KeywordsForms\KeywordsCatchFrom.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\KeywordsForms\KeywordsCatchFrom.Designer.cs">
|
<Compile Include="ToolForms\Old\KeywordsForms\KeywordsCatchFrom.Designer.cs">
|
||||||
<DependentUpon>KeywordsCatchFrom.cs</DependentUpon>
|
<DependentUpon>KeywordsCatchFrom.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\MeituMessageDialog.cs">
|
<Compile Include="ToolForms\Old\MeituMessageDialog.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\MeituMessageDialog.designer.cs">
|
<Compile Include="ToolForms\Old\MeituMessageDialog.designer.cs">
|
||||||
<DependentUpon>MeituMessageDialog.cs</DependentUpon>
|
<DependentUpon>MeituMessageDialog.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\PinDuoDuoCaptchaForm.cs">
|
<Compile Include="ToolForms\Old\PinDuoDuoCaptchaForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\PinDuoDuoCaptchaForm.designer.cs">
|
<Compile Include="ToolForms\Old\PinDuoDuoCaptchaForm.designer.cs">
|
||||||
<DependentUpon>PinDuoDuoCaptchaForm.cs</DependentUpon>
|
<DependentUpon>PinDuoDuoCaptchaForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\PinDuoDuoLoginForm.cs">
|
<Compile Include="ToolForms\Old\PinDuoDuoLoginForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\PinDuoDuoLoginForm.designer.cs">
|
<Compile Include="ToolForms\Old\PinDuoDuoLoginForm.designer.cs">
|
||||||
<DependentUpon>PinDuoDuoLoginForm.cs</DependentUpon>
|
<DependentUpon>PinDuoDuoLoginForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\ProxyForm.cs">
|
<Compile Include="ToolForms\Old\ProxyForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\ProxyForm.designer.cs">
|
<Compile Include="ToolForms\Old\ProxyForm.designer.cs">
|
||||||
<DependentUpon>ProxyForm.cs</DependentUpon>
|
<DependentUpon>ProxyForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\TextForm.cs">
|
<Compile Include="ToolForms\Old\TextForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\TextForm.designer.cs">
|
<Compile Include="ToolForms\Old\TextForm.designer.cs">
|
||||||
<DependentUpon>TextForm.cs</DependentUpon>
|
<DependentUpon>TextForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\TokenNewForm.cs">
|
<Compile Include="ToolForms\Old\TokenNewForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\Old\TokenNewForm.designer.cs">
|
<Compile Include="ToolForms\Old\TokenNewForm.designer.cs">
|
||||||
<DependentUpon>TokenNewForm.cs</DependentUpon>
|
<DependentUpon>TokenNewForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainForm.cs">
|
<Compile Include="MainForm.cs">
|
||||||
@@ -490,17 +490,47 @@
|
|||||||
<Compile Include="MainForm.designer.cs">
|
<Compile Include="MainForm.designer.cs">
|
||||||
<DependentUpon>MainForm.cs</DependentUpon>
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminAccountForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminAccountForm.Designer.cs">
|
||||||
|
<DependentUpon>PDDAdminAccountForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminForm.Designer.cs">
|
||||||
|
<DependentUpon>PDDAdminForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminShopAddSubSaForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminShopAddSubSaForm.Designer.cs">
|
||||||
|
<DependentUpon>PDDAdminShopAddSubSaForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminShopListForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminShopListForm.Designer.cs">
|
||||||
|
<DependentUpon>PDDAdminShopListForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminShopLoginForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="PDDForms\AdminForms\PDDAdminShopLoginForm.Designer.cs">
|
||||||
|
<DependentUpon>PDDAdminShopLoginForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="PDDForms\ShopForms\PDDShopAddEditForm.cs">
|
<Compile Include="PDDForms\ShopForms\PDDShopAddEditForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="PDDForms\ShopForms\PDDShopAddEditForm.Designer.cs">
|
<Compile Include="PDDForms\ShopForms\PDDShopAddEditForm.Designer.cs">
|
||||||
<DependentUpon>PDDShopAddEditForm.cs</DependentUpon>
|
<DependentUpon>PDDShopAddEditForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="PDDForms\ShopForms\MPddShopForm.cs">
|
<Compile Include="PDDForms\ShopForms\A_PddShopForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="PDDForms\ShopForms\MPddShopForm.Designer.cs">
|
<Compile Include="PDDForms\ShopForms\A_PddShopForm.Designer.cs">
|
||||||
<DependentUpon>MPddShopForm.cs</DependentUpon>
|
<DependentUpon>A_PddShopForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="PDDForms\ShopForms\PDDShopListForm.cs">
|
<Compile Include="PDDForms\ShopForms\PDDShopListForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
@@ -533,7 +563,7 @@
|
|||||||
<DependentUpon>PDDSubAccountShopEditForm.cs</DependentUpon>
|
<DependentUpon>PDDSubAccountShopEditForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="BLL\ShopBLL.cs" />
|
<Compile Include="BLL\ShopBLL.cs" />
|
||||||
<Compile Include="PDDForms\ShopForms\ShopBrowserObject.cs" />
|
<Compile Include="PDDForms\ShopForms\PDDShopBrowserObject.cs" />
|
||||||
<Compile Include="PDDForms\ShopForms\UcSubAccount.cs">
|
<Compile Include="PDDForms\ShopForms\UcSubAccount.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -554,10 +584,10 @@
|
|||||||
<Compile Include="TaobaoLoginForm.designer.cs">
|
<Compile Include="TaobaoLoginForm.designer.cs">
|
||||||
<DependentUpon>TaobaoLoginForm.cs</DependentUpon>
|
<DependentUpon>TaobaoLoginForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\ShowImgForm.cs">
|
<Compile Include="ToolForms\ShowImgForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="KJDForms\ToolForms\ShowImgForm.Designer.cs">
|
<Compile Include="ToolForms\ShowImgForm.Designer.cs">
|
||||||
<DependentUpon>ShowImgForm.cs</DependentUpon>
|
<DependentUpon>ShowImgForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="UserComponent\ButtonLc.cs">
|
<Compile Include="UserComponent\ButtonLc.cs">
|
||||||
@@ -691,13 +721,13 @@
|
|||||||
<EmbeddedResource Include="KJDForms\AdminForms\AdminShopLoginForm.resx">
|
<EmbeddedResource Include="KJDForms\AdminForms\AdminShopLoginForm.resx">
|
||||||
<DependentUpon>AdminShopLoginForm.cs</DependentUpon>
|
<DependentUpon>AdminShopLoginForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\BaseForms\BaseForm.resx">
|
<EmbeddedResource Include="BaseForms\BaseForm.resx">
|
||||||
<DependentUpon>BaseForm.cs</DependentUpon>
|
<DependentUpon>BaseForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\BaseForms\BaseMsgForm.resx">
|
<EmbeddedResource Include="BaseForms\BaseMsgForm.resx">
|
||||||
<DependentUpon>BaseMsgForm.cs</DependentUpon>
|
<DependentUpon>BaseMsgForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\BaseForms\LRBaseForm.resx">
|
<EmbeddedResource Include="BaseForms\LRBaseForm.resx">
|
||||||
<DependentUpon>LRBaseForm.cs</DependentUpon>
|
<DependentUpon>LRBaseForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\OrderForms\OrderForm.resx">
|
<EmbeddedResource Include="KJDForms\OrderForms\OrderForm.resx">
|
||||||
@@ -805,47 +835,62 @@
|
|||||||
<EmbeddedResource Include="KJDForms\SystemForms\SystemRemoveRestrictionsForm.resx">
|
<EmbeddedResource Include="KJDForms\SystemForms\SystemRemoveRestrictionsForm.resx">
|
||||||
<DependentUpon>SystemRemoveRestrictionsForm.cs</DependentUpon>
|
<DependentUpon>SystemRemoveRestrictionsForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\CefForm.resx">
|
<EmbeddedResource Include="ToolForms\CefForm.resx">
|
||||||
<DependentUpon>CefForm.cs</DependentUpon>
|
<DependentUpon>CefForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\ChangeIPForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\ChangeIPForm.resx">
|
||||||
<DependentUpon>ChangeIPForm.cs</DependentUpon>
|
<DependentUpon>ChangeIPForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\IeForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\IeForm.resx">
|
||||||
<DependentUpon>IeForm.cs</DependentUpon>
|
<DependentUpon>IeForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\JDVerifyForm\CollectVerifyForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\JDVerifyForm\CollectVerifyForm.resx">
|
||||||
<DependentUpon>CollectVerifyForm.cs</DependentUpon>
|
<DependentUpon>CollectVerifyForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\KeywordsForms\KeywordsCatchFrom.resx">
|
<EmbeddedResource Include="ToolForms\Old\KeywordsForms\KeywordsCatchFrom.resx">
|
||||||
<DependentUpon>KeywordsCatchFrom.cs</DependentUpon>
|
<DependentUpon>KeywordsCatchFrom.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\MeituMessageDialog.resx">
|
<EmbeddedResource Include="ToolForms\Old\MeituMessageDialog.resx">
|
||||||
<DependentUpon>MeituMessageDialog.cs</DependentUpon>
|
<DependentUpon>MeituMessageDialog.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\PinDuoDuoCaptchaForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\PinDuoDuoCaptchaForm.resx">
|
||||||
<DependentUpon>PinDuoDuoCaptchaForm.cs</DependentUpon>
|
<DependentUpon>PinDuoDuoCaptchaForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\PinDuoDuoLoginForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\PinDuoDuoLoginForm.resx">
|
||||||
<DependentUpon>PinDuoDuoLoginForm.cs</DependentUpon>
|
<DependentUpon>PinDuoDuoLoginForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\ProxyForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\ProxyForm.resx">
|
||||||
<DependentUpon>ProxyForm.cs</DependentUpon>
|
<DependentUpon>ProxyForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\TextForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\TextForm.resx">
|
||||||
<DependentUpon>TextForm.cs</DependentUpon>
|
<DependentUpon>TextForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\Old\TokenNewForm.resx">
|
<EmbeddedResource Include="ToolForms\Old\TokenNewForm.resx">
|
||||||
<DependentUpon>TokenNewForm.cs</DependentUpon>
|
<DependentUpon>TokenNewForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="MainForm.resx">
|
<EmbeddedResource Include="MainForm.resx">
|
||||||
<DependentUpon>MainForm.cs</DependentUpon>
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="PDDForms\AdminForms\PDDAdminAccountForm.resx">
|
||||||
|
<DependentUpon>PDDAdminAccountForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="PDDForms\AdminForms\PDDAdminForm.resx">
|
||||||
|
<DependentUpon>PDDAdminForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="PDDForms\AdminForms\PDDAdminShopAddSubSaForm.resx">
|
||||||
|
<DependentUpon>PDDAdminShopAddSubSaForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="PDDForms\AdminForms\PDDAdminShopListForm.resx">
|
||||||
|
<DependentUpon>PDDAdminShopListForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="PDDForms\AdminForms\PDDAdminShopLoginForm.resx">
|
||||||
|
<DependentUpon>PDDAdminShopLoginForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="PDDForms\ShopForms\PDDShopAddEditForm.resx">
|
<EmbeddedResource Include="PDDForms\ShopForms\PDDShopAddEditForm.resx">
|
||||||
<DependentUpon>PDDShopAddEditForm.cs</DependentUpon>
|
<DependentUpon>PDDShopAddEditForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="PDDForms\ShopForms\MPddShopForm.resx">
|
<EmbeddedResource Include="PDDForms\ShopForms\A_PddShopForm.resx">
|
||||||
<DependentUpon>MPddShopForm.cs</DependentUpon>
|
<DependentUpon>A_PddShopForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="PDDForms\ShopForms\PDDShopListForm.resx">
|
<EmbeddedResource Include="PDDForms\ShopForms\PDDShopListForm.resx">
|
||||||
<DependentUpon>PDDShopListForm.cs</DependentUpon>
|
<DependentUpon>PDDShopListForm.cs</DependentUpon>
|
||||||
@@ -873,7 +918,7 @@
|
|||||||
<EmbeddedResource Include="TaobaoLoginForm.resx">
|
<EmbeddedResource Include="TaobaoLoginForm.resx">
|
||||||
<DependentUpon>TaobaoLoginForm.cs</DependentUpon>
|
<DependentUpon>TaobaoLoginForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="KJDForms\ToolForms\ShowImgForm.resx">
|
<EmbeddedResource Include="ToolForms\ShowImgForm.resx">
|
||||||
<DependentUpon>ShowImgForm.cs</DependentUpon>
|
<DependentUpon>ShowImgForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="UserControls\StatusBarUserControl.resx">
|
<EmbeddedResource Include="UserControls\StatusBarUserControl.resx">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.AdminForms
|
namespace TemuKJD.KJDForms.AdminForms
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.AdminForms;
|
using TemuKJD.KJDForms.AdminForms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductSelectForms;
|
using TemuKJD.KJDForms.ProductSelectForms;
|
||||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.BLL;
|
using TemuKJD.BLL;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.AdminForms
|
namespace TemuKJD.KJDForms.AdminForms
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.AdminForms
|
namespace TemuKJD.KJDForms.AdminForms
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.BLL;
|
using TemuKJD.BLL;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using CefSharp;
|
|||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
//using TemuKJD.DashBoardForms;
|
//using TemuKJD.DashBoardForms;
|
||||||
using TemuKJD.Helper;
|
using TemuKJD.Helper;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using NaiBa.CefHelper;
|
using NaiBa.CefHelper;
|
||||||
using NaiBa.CefHelper.Handler;
|
using NaiBa.CefHelper.Handler;
|
||||||
@@ -24,8 +24,8 @@ using System.Windows.Forms;
|
|||||||
using Work;
|
using Work;
|
||||||
using Work.BLL.Tools;
|
using Work.BLL.Tools;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
|
||||||
using TemuKJD.BLL;
|
using TemuKJD.BLL;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.AdminForms
|
namespace TemuKJD.KJDForms.AdminForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.OrderForms
|
namespace TemuKJD.KJDForms.OrderForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ using System.Text;
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using NaiBa.Util.Extension;
|
using NaiBa.Util.Extension;
|
||||||
using Work.CollectClass;
|
using Work.CollectClass;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using AllBase.Model.Param.FissionManage;
|
using AllBase.Model.Param.FissionManage;
|
||||||
using Work;
|
using Work;
|
||||||
using Work.Api;
|
using Work.Api;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using AllBase.Model.Param.FissionManage;
|
using AllBase.Model.Param.FissionManage;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
using NaiBa.Util;
|
using NaiBa.Util;
|
||||||
using System;
|
using System;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using AllBase.Helper;
|
|||||||
using AllBase.Model.Param.FissionManage;
|
using AllBase.Model.Param.FissionManage;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using NaiBa.Util.Extension;
|
using NaiBa.Util.Extension;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
using CefSharp;
|
using CefSharp;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductForms.FissionUserControl
|
namespace TemuKJD.KJDForms.ProductForms.FissionUserControl
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using AllBase.Model.Param.ProductManage;
|
using AllBase.Model.Param.ProductManage;
|
||||||
using AllBase;
|
using AllBase;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductForms;
|
using TemuKJD.KJDForms.ProductForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductForms.FissionUserControl
|
namespace TemuKJD.KJDForms.ProductForms.FissionUserControl
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductForms
|
namespace TemuKJD.KJDForms.ProductForms
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.ProductSelectForms;
|
using TemuKJD.KJDForms.ProductSelectForms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||||
using AllBase;
|
using AllBase;
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductForms
|
namespace TemuKJD.KJDForms.ProductForms
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -15,8 +15,9 @@ using System.Text;
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@@ -25,6 +25,7 @@ using System.Globalization;
|
|||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using TemuKJD.BLL;
|
using TemuKJD.BLL;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -17,9 +17,10 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductSelectForms
|
namespace TemuKJD.KJDForms.ProductSelectForms
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@@ -26,6 +26,7 @@ using System.Text.RegularExpressions;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
using TemuKJD.BLL;
|
using TemuKJD.BLL;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,10 +16,11 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductSelectForms;
|
using TemuKJD.KJDForms.ProductSelectForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
namespace TemuKJD.KJDForms.ProductThirdSelectForms
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ShopForms;
|
using TemuKJD.KJDForms.ShopForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.SalesCenterForms
|
namespace TemuKJD.KJDForms.SalesCenterForms
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.SalesCenterForms
|
namespace TemuKJD.KJDForms.SalesCenterForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ShopForms
|
namespace TemuKJD.KJDForms.ShopForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.AdminForms;
|
using TemuKJD.KJDForms.AdminForms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductSelectForms;
|
using TemuKJD.KJDForms.ProductSelectForms;
|
||||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||||
using TemuKJD.KJDForms.ShopForms.Statistics;
|
using TemuKJD.KJDForms.ShopForms.Statistics;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using NaiBa.Util.Extension;
|
using NaiBa.Util.Extension;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using System;
|
using System;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using CefSharp;
|
|||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
//using TemuKJD.DashBoardForms;
|
//using TemuKJD.DashBoardForms;
|
||||||
using TemuKJD.Helper;
|
using TemuKJD.Helper;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using NaiBa.CefHelper;
|
using NaiBa.CefHelper;
|
||||||
using NaiBa.CefHelper.Handler;
|
using NaiBa.CefHelper.Handler;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -10,8 +10,9 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
|
using TemuKJD.ToolForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.UserComponent;
|
using TemuKJD.UserComponent;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
namespace TemuKJD.KJDForms.ShopForms.Statistics
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.SystemForms
|
namespace TemuKJD.KJDForms.SystemForms
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.SystemForms
|
namespace TemuKJD.KJDForms.SystemForms
|
||||||
{
|
{
|
||||||
|
|||||||
+3
-3
@@ -13,7 +13,7 @@ using DevComponents.DotNetBar;
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using Work;
|
using Work;
|
||||||
using TemuKJD.UserForm;
|
using TemuKJD.UserForm;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ToolForms;
|
using TemuKJD.KJDForms.ToolForms;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
@@ -650,9 +650,9 @@ namespace TemuKJD
|
|||||||
{
|
{
|
||||||
if (shopForm == null)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,661 @@
|
|||||||
|
|
||||||
|
namespace TemuKJD.PDDForms.AdminForms
|
||||||
|
{
|
||||||
|
partial class PDDAdminAccountForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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<ShopSubAccountInfo> AllUsers { get; set; } = new List<ShopSubAccountInfo>();
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,153 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="UserIdColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="UserNickNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="mobileColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="groupIdColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="groupNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colCompany.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="shopCountColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSaLevel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSaLevelName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="editColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="deleteColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
+189
@@ -0,0 +1,189 @@
|
|||||||
|
namespace TemuKJD.PDDForms.AdminForms
|
||||||
|
{
|
||||||
|
partial class PDDAdminForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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<PDDAdminAccountForm> adminAccountForm = new Lazy<PDDAdminAccountForm>();
|
||||||
|
public Lazy<PDDAdminShopListForm> adminShopForm = new Lazy<PDDAdminShopListForm>();
|
||||||
|
//public Lazy<DbProductListForm> dbProductListForm = new Lazy<DbProductListForm>();
|
||||||
|
//public Lazy<DbPriceMarkUpForm> dbPriceMarkUpForm = new Lazy<DbPriceMarkUpForm>();
|
||||||
|
//public Lazy<DbProductSelectListManageForm> dbProductSelectListManageForm = new Lazy<DbProductSelectListManageForm>();
|
||||||
|
//public Lazy<ProductThirdSelectListManageForm> productThirdSelectListManageForm = new Lazy<ProductThirdSelectListManageForm>();
|
||||||
|
//public Lazy<AdminProductPriceCheckForm> adminProductPriceCheckForm = new Lazy<AdminProductPriceCheckForm>();
|
||||||
|
|
||||||
|
public PDDAdminForm()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
tv.SelectedNode = tv.Nodes[0].Nodes[0];
|
||||||
|
tv.ExpandGroup(tv.Nodes[0].Name);
|
||||||
|
|
||||||
|
List<string> hideName = new List<string>() { "超级用户管理", "超级店铺管理", "选品数据库", "选品加价管理", "认领待上传", "库存上传", "商品核价" };
|
||||||
|
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 显示隐藏层
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="f"></param>
|
||||||
|
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 { }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File renamed without changes.
@@ -0,0 +1,195 @@
|
|||||||
|
|
||||||
|
namespace TemuKJD.PDDForms.AdminForms
|
||||||
|
{
|
||||||
|
partial class PDDAdminShopAddSubSaForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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<string> lstShopLoginName = new List<string>();
|
||||||
|
|
||||||
|
List<ShopSubAccountInfo> lstSubSa = new List<ShopSubAccountInfo>();
|
||||||
|
public PDDAdminShopAddSubSaForm(List<string> ShopSelectIds = null)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
if (ShopSelectIds != null)
|
||||||
|
lstShopLoginName.AddRange(ShopSelectIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOk_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var selectRow = this.dgvSaUser.Rows.Cast<DataGridViewRow>().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;
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,310 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSubSaId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSubUserName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSubSaName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,942 @@
|
|||||||
|
|
||||||
|
namespace TemuKJD.PDDForms.AdminForms
|
||||||
|
{
|
||||||
|
partial class PDDAdminShopListForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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<ShopLoginInfo> lstAdminShopInfo { get; set; } = new List<ShopLoginInfo>();
|
||||||
|
|
||||||
|
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<string>() { /*"colMinus",*/ "colProductRemaining", "colPlus" }, "选品限额");
|
||||||
|
this.dgvShop.AddMergeColumn(new List<string>() { /*"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<string> 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<string> 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<string> GetCheckedList()
|
||||||
|
{
|
||||||
|
List<string> shopLoginNameList = new List<string>();
|
||||||
|
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<string> GetCheckedShopIdList()
|
||||||
|
{
|
||||||
|
List<string> shopNameList = new List<string>();
|
||||||
|
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<ShopLoginInfo> AdminGetServerShopLst(out int pageCount, int page = 1, int pageSize = 50)
|
||||||
|
{
|
||||||
|
List<ShopLoginInfo> list = new List<ShopLoginInfo>();
|
||||||
|
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<string> shopLoginNameList = GetCheckedList();
|
||||||
|
if (!shopLoginNameList.Any())
|
||||||
|
{
|
||||||
|
BaseMsgForm.ShowError("请选择需要检测的店铺");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Task.Run(() =>
|
||||||
|
{
|
||||||
|
CheckShopListLogin(shopLoginNameList.Distinct().ToArray());
|
||||||
|
SearchShop(this.ucSplitPage1.CurrentPage);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 检测店铺授权状态
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="shopLoginNames"></param>
|
||||||
|
/// <param name="isShowProgress"></param>
|
||||||
|
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<DataGridViewRow>().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<DataGridViewRow>().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<DataGridViewRow>().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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,207 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colLoginName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colShopAccount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="conNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colMinus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colProductRemaining.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colPlus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colCookie.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colUser.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSubUser.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colGroupName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colUploadAccount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colBuyAccount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colChatAccount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colGotoShop.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colShopOperate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colRelogin.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colRelogin2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colMultiLogin.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colApiAuth.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colBuyApiAuth.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colImportCookies.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colCopyCookies.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colUpload.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colSubSa.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colEdit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="colDelete.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,399 @@
|
|||||||
|
namespace TemuKJD.PDDForms.AdminForms
|
||||||
|
{
|
||||||
|
partial class PDDAdminShopLoginForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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<ShopCompany> lstShopCompany = new List<ShopCompany>();
|
||||||
|
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(); //自动关闭弹窗
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 判断登录,保存店铺
|
||||||
|
/// </summary>
|
||||||
|
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<Cookie> cookieList = CEFBrowser.GetCookieList(shopCookieHead, cefWebBrowser.RequestContext.GetCookieManager(null)); // cef138
|
||||||
|
List<Cookie> 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<Cookie> cookieList2 = CEFBrowser.GetCookieList(shopCookieHead2, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||||
|
List<Cookie> 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自动关闭弹窗
|
||||||
|
/// </summary>
|
||||||
|
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) { }
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自动登录店铺后台
|
||||||
|
/// </summary>
|
||||||
|
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<productLst.length; i++) {
|
||||||
|
if (productLst[i].innerHTML.indexOf('提取商品') < 0 && productLst[i].innerHTML.indexOf('SPU ID') >= 0) {
|
||||||
|
var sSpuId = productLst[i].innerText.replace('\r','').replace('\n','').replace('SPU ID:', '');
|
||||||
|
productLst[i].innerHTML = productLst[i].innerHTML.replace(""></div>"", ""><input type=\""button\"" style=\""margin-left: 50px; width:60px; text-align:center\"" value=\""提取商品\"" onclick=\""shopObj.getProduct('"" + sSpuId + ""'," + this.currentSupplierId + @")\""></div>"");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}";
|
||||||
|
cefWebBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(sAddInputJs);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自动登录
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="webBrowser"></param>
|
||||||
|
/// <param name="_account"></param>
|
||||||
|
/// <param name="_password"></param>
|
||||||
|
private void InputUserNameAndPassword(ChromiumWebBrowser webBrowser, string _account, string _password)
|
||||||
|
{
|
||||||
|
string jsStr1 = "function getInputItem () {var usernameId = document.getElementById('usernameId'); if (usernameId) return 'true';} getInputItem();";
|
||||||
|
Task<JavascriptResponse> 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,298 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
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==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
namespace TemuKJD.PDDForms.ShopForms
|
namespace TemuKJD.PDDForms.ShopForms
|
||||||
{
|
{
|
||||||
partial class MPddShopForm
|
partial class A_PddShopForm
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
+3
-3
@@ -10,20 +10,20 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.AdminForms;
|
using TemuKJD.KJDForms.AdminForms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductSelectForms;
|
using TemuKJD.KJDForms.ProductSelectForms;
|
||||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||||
using TemuKJD.KJDForms.ShopForms.Statistics;
|
using TemuKJD.KJDForms.ShopForms.Statistics;
|
||||||
|
|
||||||
namespace TemuKJD.PDDForms.ShopForms
|
namespace TemuKJD.PDDForms.ShopForms
|
||||||
{
|
{
|
||||||
public partial class MPddShopForm : BaseForm
|
public partial class A_PddShopForm : BaseForm
|
||||||
{
|
{
|
||||||
public Lazy<PDDShopListForm> shopListForm = new Lazy<PDDShopListForm>();
|
public Lazy<PDDShopListForm> shopListForm = new Lazy<PDDShopListForm>();
|
||||||
public Lazy<PDDSubAccountListForm> sbuAccountForm = new Lazy<PDDSubAccountListForm>();
|
public Lazy<PDDSubAccountListForm> sbuAccountForm = new Lazy<PDDSubAccountListForm>();
|
||||||
|
|
||||||
|
|
||||||
public MPddShopForm()
|
public A_PddShopForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
+2
-2
@@ -9,12 +9,12 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Work;
|
using Work;
|
||||||
|
|
||||||
namespace TemuKJD.PDDForms.ShopForms
|
namespace TemuKJD.PDDForms.ShopForms
|
||||||
{
|
{
|
||||||
public class ShopBrowserObject
|
public class PDDShopBrowserObject
|
||||||
{
|
{
|
||||||
public delegate void InfoReceivedHandler(string information);
|
public delegate void InfoReceivedHandler(string information);
|
||||||
public event InfoReceivedHandler OnInfoReceived;
|
public event InfoReceivedHandler OnInfoReceived;
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.Extension;
|
using TemuKJD.Extension;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using NaiBa.Util.Extension;
|
using NaiBa.Util.Extension;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using System;
|
using System;
|
||||||
@@ -241,7 +241,7 @@ namespace TemuKJD.PDDForms.ShopForms
|
|||||||
|
|
||||||
#region 服务端店铺Cookie管理
|
#region 服务端店铺Cookie管理
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 添加京东店铺Cookies
|
/// 添加店铺Cookies
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="shopName">店铺名称</param>
|
/// <param name="shopName">店铺名称</param>
|
||||||
/// <param name="shopCookies">cookies</param>
|
/// <param name="shopCookies">cookies</param>
|
||||||
|
|||||||
+100
-80
@@ -31,6 +31,10 @@
|
|||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDShopLoginForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDShopLoginForm));
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.btnLoginAgain = 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.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.btnCopyPassword = new TemuKJD.UserControls.ButtonEx();
|
this.btnCopyPassword = new TemuKJD.UserControls.ButtonEx();
|
||||||
@@ -42,18 +46,15 @@
|
|||||||
this.chkCloseAfterLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
this.chkCloseAfterLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||||
this.txtAddress = new System.Windows.Forms.TextBox();
|
this.txtAddress = new System.Windows.Forms.TextBox();
|
||||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
this.btnReturnPackage = new TemuKJD.UserControls.ButtonEx();
|
||||||
this.btnMultiLogin = new DevComponents.DotNetBar.PanelEx();
|
|
||||||
this.cmbMultiCookieName = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
|
||||||
this.pnlMultiLogin = new System.Windows.Forms.Panel();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||||
this.splitContainer1.Panel2.SuspendLayout();
|
this.splitContainer1.Panel2.SuspendLayout();
|
||||||
this.splitContainer1.SuspendLayout();
|
this.splitContainer1.SuspendLayout();
|
||||||
|
this.pnlMultiLogin.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||||
this.splitContainer2.Panel1.SuspendLayout();
|
this.splitContainer2.Panel1.SuspendLayout();
|
||||||
this.splitContainer2.Panel2.SuspendLayout();
|
this.splitContainer2.Panel2.SuspendLayout();
|
||||||
this.splitContainer2.SuspendLayout();
|
this.splitContainer2.SuspendLayout();
|
||||||
this.pnlMultiLogin.SuspendLayout();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// splitContainer1
|
// splitContainer1
|
||||||
@@ -69,6 +70,7 @@
|
|||||||
// splitContainer1.Panel2
|
// splitContainer1.Panel2
|
||||||
//
|
//
|
||||||
this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
|
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.btnLoginAgain);
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.pnlMultiLogin);
|
this.splitContainer1.Panel2.Controls.Add(this.pnlMultiLogin);
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.label2);
|
this.splitContainer1.Panel2.Controls.Add(this.label2);
|
||||||
@@ -102,6 +104,80 @@
|
|||||||
this.btnLoginAgain.UseVisualStyleBackColor = false;
|
this.btnLoginAgain.UseVisualStyleBackColor = false;
|
||||||
this.btnLoginAgain.Click += new System.EventHandler(this.btnLoginAgain_Click);
|
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
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.Location = new System.Drawing.Point(23, 35);
|
this.label2.Location = new System.Drawing.Point(23, 35);
|
||||||
@@ -254,88 +330,31 @@
|
|||||||
this.txtAddress.TabIndex = 7;
|
this.txtAddress.TabIndex = 7;
|
||||||
this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
|
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.btnReturnPackage.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||||
this.btnDel.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnReturnPackage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
this.btnDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnReturnPackage.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnReturnPackage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.btnDel.Location = new System.Drawing.Point(161, 3);
|
this.btnReturnPackage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnDel.Name = "btnDel";
|
this.btnReturnPackage.ForeColor = System.Drawing.Color.White;
|
||||||
this.btnDel.Size = new System.Drawing.Size(20, 24);
|
this.btnReturnPackage.Location = new System.Drawing.Point(674, 30);
|
||||||
this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnReturnPackage.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
this.btnReturnPackage.Name = "btnReturnPackage";
|
||||||
this.btnDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
this.btnReturnPackage.Size = new System.Drawing.Size(136, 25);
|
||||||
this.btnDel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
this.btnReturnPackage.TabIndex = 464;
|
||||||
this.btnDel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
this.btnReturnPackage.Text = "提交退货到库存管理";
|
||||||
this.btnDel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
this.btnReturnPackage.UseVisualStyleBackColor = false;
|
||||||
this.btnDel.Style.GradientAngle = 90;
|
this.btnReturnPackage.Visible = false;
|
||||||
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);
|
|
||||||
//
|
//
|
||||||
// btnMultiLogin
|
// PDDShopLoginForm
|
||||||
//
|
|
||||||
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
|
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.ClientSize = new System.Drawing.Size(1440, 800);
|
this.ClientSize = new System.Drawing.Size(1440, 800);
|
||||||
this.Controls.Add(this.splitContainer2);
|
this.Controls.Add(this.splitContainer2);
|
||||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.Name = "ShopLoginForm";
|
this.Name = "PDDShopLoginForm";
|
||||||
this.ShowMaximizeBox = true;
|
this.ShowMaximizeBox = true;
|
||||||
this.Text = "店铺登录";
|
this.Text = "店铺登录";
|
||||||
this.TitleText = "店铺登录";
|
this.TitleText = "店铺登录";
|
||||||
@@ -346,12 +365,12 @@
|
|||||||
this.splitContainer1.Panel2.PerformLayout();
|
this.splitContainer1.Panel2.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||||
this.splitContainer1.ResumeLayout(false);
|
this.splitContainer1.ResumeLayout(false);
|
||||||
|
this.pnlMultiLogin.ResumeLayout(false);
|
||||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||||
this.splitContainer2.Panel1.PerformLayout();
|
this.splitContainer2.Panel1.PerformLayout();
|
||||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||||
this.splitContainer2.ResumeLayout(false);
|
this.splitContainer2.ResumeLayout(false);
|
||||||
this.pnlMultiLogin.ResumeLayout(false);
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -375,5 +394,6 @@
|
|||||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbMultiCookieName;
|
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbMultiCookieName;
|
||||||
private DevComponents.DotNetBar.PanelEx btnMultiLogin;
|
private DevComponents.DotNetBar.PanelEx btnMultiLogin;
|
||||||
private DevComponents.DotNetBar.PanelEx btnDel;
|
private DevComponents.DotNetBar.PanelEx btnDel;
|
||||||
|
private UserControls.ButtonEx btnReturnPackage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ using CefSharp;
|
|||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
//using TemuKJD.DashBoardForms;
|
//using TemuKJD.DashBoardForms;
|
||||||
using TemuKJD.Helper;
|
using TemuKJD.Helper;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using NaiBa.CefHelper;
|
using NaiBa.CefHelper;
|
||||||
using NaiBa.CefHelper.Handler;
|
using NaiBa.CefHelper.Handler;
|
||||||
@@ -291,7 +291,7 @@ namespace TemuKJD.PDDForms.ShopForms
|
|||||||
cefWebBrowser.Dock = DockStyle.Fill;
|
cefWebBrowser.Dock = DockStyle.Fill;
|
||||||
|
|
||||||
//js绑定C#对象
|
//js绑定C#对象
|
||||||
ShopBrowserObject shopObj = new ShopBrowserObject();
|
PDDShopBrowserObject shopObj = new PDDShopBrowserObject();
|
||||||
shopObj.OnInfoReceived += ShopObj_OnInfoReceived;
|
shopObj.OnInfoReceived += ShopObj_OnInfoReceived;
|
||||||
CefSharpSettings.WcfEnabled = true;
|
CefSharpSettings.WcfEnabled = true;
|
||||||
cefWebBrowser.JavascriptObjectRepository.Register(
|
cefWebBrowser.JavascriptObjectRepository.Register(
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase.Helper;
|
using AllBase.Helper;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ using AllBase.Model.Param.CollectManage;
|
|||||||
using AllBase.Model.Param.ProductManage;
|
using AllBase.Model.Param.ProductManage;
|
||||||
using AllBase.Model.Param.ShopManage;
|
using AllBase.Model.Param.ShopManage;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using TemuKJD.KJDForms.ProductForms;
|
using TemuKJD.KJDForms.ProductForms;
|
||||||
using NaiBa.Util;
|
using NaiBa.Util;
|
||||||
using NaiBa.Util.Extension;
|
using NaiBa.Util.Extension;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ using System.Threading.Tasks;
|
|||||||
using CefSharp;
|
using CefSharp;
|
||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
using Work;
|
using Work;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using NaiBa.CefHelper;
|
using NaiBa.CefHelper;
|
||||||
|
|
||||||
namespace TemuKJD
|
namespace TemuKJD
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace TemuKJD.KJDForms.ToolForms
|
namespace TemuKJD.ToolForms
|
||||||
{
|
{
|
||||||
partial class CefForm
|
partial class CefForm
|
||||||
{
|
{
|
||||||
@@ -15,10 +15,11 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
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;
|
ChromiumWebBrowser cefWebBrowser = null;
|
||||||
|
|
||||||
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ using AllBase;
|
|||||||
using CefSharp;
|
using CefSharp;
|
||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
using DevComponents.DotNetBar;
|
using DevComponents.DotNetBar;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using NaiBa.CefHelper;
|
using NaiBa.CefHelper;
|
||||||
|
|
||||||
namespace TemuKJD.KJDForms.ToolForms
|
namespace TemuKJD.KJDForms.ToolForms
|
||||||
Generated
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using AllBase;
|
using AllBase;
|
||||||
using CefSharp;
|
using CefSharp;
|
||||||
using CefSharp.WinForms;
|
using CefSharp.WinForms;
|
||||||
using TemuKJD.KJDForms.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
Loaded 100 of 130 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user