29Wx状态初始化
This commit is contained in:
1 parent
9fd5579fcd
commit
40c702883c
322 files changed
+155553
No files matched your search
@@ -0,0 +1,84 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.14.36221.1 d17.14
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "29WxOrderAllBase", "AllBase\29WxOrderAllBase.csproj", "{6461D807-B1C8-45F0-B388-E0CA1A418DE0}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "29供应链-微信小店", "29供应链-微信小店", "{1A7830FA-AC8F-40FB-A232-F0626812B8BE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "29WxOrder", "29WxOrder\29WxOrder.csproj", "{D51A1BB0-17BB-44C3-9129-1F3187E82729}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "29WxOrderWork", "Work\29WxOrderWork.csproj", "{1AD45D66-6872-4522-ACF0-04E2C0514048}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|Mixed Platforms = Release|Mixed Platforms
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|x64.ActiveCfg = Debug|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|x64.Build.0 = Debug|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|Any CPU.Build.0 = Release|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|x64.Build.0 = Release|Any CPU
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|x86.ActiveCfg = Release|x86
|
||||
{6461D807-B1C8-45F0-B388-E0CA1A418DE0}.Release|x86.Build.0 = Release|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|x64.ActiveCfg = Debug|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|x64.Build.0 = Debug|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Debug|x86.Build.0 = Debug|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|Any CPU.Build.0 = Release|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|x64.ActiveCfg = Release|x64
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|x64.Build.0 = Release|x64
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|x86.ActiveCfg = Release|x86
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729}.Release|x86.Build.0 = Release|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Debug|x86.Build.0 = Debug|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|Any CPU.Build.0 = Release|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|x64.Build.0 = Release|Any CPU
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|x86.ActiveCfg = Release|x86
|
||||
{1AD45D66-6872-4522-ACF0-04E2C0514048}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{D51A1BB0-17BB-44C3-9129-1F3187E82729} = {1A7830FA-AC8F-40FB-A232-F0626812B8BE}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {38687A61-0347-49AC-98C7-E7F7148C0234}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,600 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props')" />
|
||||
<Import Project="..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props" Condition="Exists('..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props')" />
|
||||
<Import Project="..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props" Condition="Exists('..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props')" />
|
||||
<Import Project="..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props')" />
|
||||
<Import Project="..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{D51A1BB0-17BB-44C3-9129-1F3187E82729}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>_29WxOrder</RootNamespace>
|
||||
<AssemblyName>29WxOrder</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<LangVersion>default</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<LangVersion>default</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.6.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Portable.BouncyCastle.1.8.6\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp, Version=138.0.340.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp.Core, Version=138.0.340.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CefSharp.Common.138.0.340\lib\net462\CefSharp.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp.WinForms, Version=138.0.340.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CefSharp.WinForms.138.0.340\lib\net462\CefSharp.WinForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DevComponents.DotNetBar2, Version=14.0.0.3, Culture=neutral, PublicKeyToken=c39c3242a43eee2b, processorArchitecture=MSIL" />
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.1.9, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NaiBa.CefHelper.138">
|
||||
<HintPath>..\..\KJD Cef138\DllReference\NaiBa.CefHelper.138.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NaiBa.Util, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\NaiBa.Util.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NaiBa.Util.Winform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\NaiBa.Util.Winform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OOXML, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.OOXML.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OpenXml4Net, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.OpenXml4Net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OpenXmlFormats, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.OpenXmlFormats.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="zxing, Version=0.12.0.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DllReference\zxing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BoundJs.cs" />
|
||||
<Compile Include="BoundObject.cs" />
|
||||
<Compile Include="BuyForms\AutoBuyOrder.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BuyForms\AutoBuyOrder.Designer.cs">
|
||||
<DependentUpon>AutoBuyOrder.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BuyForms\BuyBrower.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BuyForms\BuyBrower.Designer.cs">
|
||||
<DependentUpon>BuyBrower.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BuyForms\BuyProductBrower.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BuyForms\BuyProductBrower.Designer.cs">
|
||||
<DependentUpon>BuyProductBrower.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CEFKeyBoardHander.cs" />
|
||||
<Compile Include="CookieVisitor.cs" />
|
||||
<Compile Include="Extension\DataGridViewExtension.cs" />
|
||||
<Compile Include="FactoryExportForms\FactoryExportForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FactoryExportForms\FactoryExportForm.Designer.cs">
|
||||
<DependentUpon>FactoryExportForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Helper\CEFHelper.cs" />
|
||||
<Compile Include="Helper\LifeSpanHandlerLocal.cs" />
|
||||
<Compile Include="Helper\CustomResourceRequestHandler.cs" />
|
||||
<Compile Include="JsEvent.cs" />
|
||||
<Compile Include="LoginForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="LoginForm.Designer.cs">
|
||||
<DependentUpon>LoginForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyClip.cs" />
|
||||
<Compile Include="MyControl\ButtonSwitch.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\ButtonSwitch.Designer.cs">
|
||||
<DependentUpon>ButtonSwitch.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\DataGridViewHelper.cs" />
|
||||
<Compile Include="MyControl\DGVHeaderMouseEnterHelper.cs" />
|
||||
<Compile Include="MyControl\MyCheckBox.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyCheckBox.Designer.cs">
|
||||
<DependentUpon>MyCheckBox.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyDataGridView.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyProDetailsControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyProDetailsControl.Designer.cs">
|
||||
<DependentUpon>MyProDetailsControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyProgressBar.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyProSkuItemsControl.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\MyProSkuItemsControl.Designer.cs">
|
||||
<DependentUpon>MyProSkuItemsControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\TextAndImageColumn.cs" />
|
||||
<Compile Include="MyControl\UcPager.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MyControl\UcPager.Designer.cs">
|
||||
<DependentUpon>UcPager.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\AfterSaleOrderListForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\AfterSaleOrderListForm.Designer.cs">
|
||||
<DependentUpon>AfterSaleOrderListForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\AfterSaleOrderRefundAddressForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\AfterSaleOrderRefundAddressForm.Designer.cs">
|
||||
<DependentUpon>AfterSaleOrderRefundAddressForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\AfterSaleReturnRefundForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\AfterSaleReturnRefundForm.Designer.cs">
|
||||
<DependentUpon>AfterSaleReturnRefundForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\BuyOrderForms.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\BuyOrderForms.Designer.cs">
|
||||
<DependentUpon>BuyOrderForms.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\BuyOrderListForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\BuyOrderListForm.Designer.cs">
|
||||
<DependentUpon>BuyOrderListForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\BuyOrderPifaSelectForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\BuyOrderPifaSelectForm.Designer.cs">
|
||||
<DependentUpon>BuyOrderPifaSelectForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\Bu_YinBowerForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\Bu_YinBowerForm.Designer.cs">
|
||||
<DependentUpon>Bu_YinBowerForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\DgvHeaderEditForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\DgvHeaderEditForm.Designer.cs">
|
||||
<DependentUpon>DgvHeaderEditForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\ExpressOrderForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\ExpressOrderForm.Designer.cs">
|
||||
<DependentUpon>ExpressOrderForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\TransitAddressForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\TransitAddressForm.Designer.cs">
|
||||
<DependentUpon>TransitAddressForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\OrderEdit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\OrderEdit.Designer.cs">
|
||||
<DependentUpon>OrderEdit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\RemarkEditForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\RemarkEditForm.Designer.cs">
|
||||
<DependentUpon>RemarkEditForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\SendOrderListForms.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\SendOrderListForms.Designer.cs">
|
||||
<DependentUpon>SendOrderListForms.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\SetOnceOnlyUpIdForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\SetOnceOnlyUpIdForm.Designer.cs">
|
||||
<DependentUpon>SetOnceOnlyUpIdForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\SuccessOrderListForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrderForms\SuccessOrderListForm.Designer.cs">
|
||||
<DependentUpon>SuccessOrderListForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SetForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SetForm.Designer.cs">
|
||||
<DependentUpon>SetForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ShopForms\OAForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ShopForms\OAForm.Designer.cs">
|
||||
<DependentUpon>OAForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ShopForms\PddShopLoginForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ShopForms\PddShopLoginForm.Designer.cs">
|
||||
<DependentUpon>PddShopLoginForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ShopForms\ShopBrower.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ShopForms\ShopBrower.Designer.cs">
|
||||
<DependentUpon>ShopBrower.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="StartUp.cs" />
|
||||
<Compile Include="SupportQrCodeForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SupportQrCodeForm.Designer.cs">
|
||||
<DependentUpon>SupportQrCodeForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\CefForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\CefForm.designer.cs">
|
||||
<DependentUpon>CefForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\ImportPddMultiBuyerForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\ImportPddMultiBuyerForm.Designer.cs">
|
||||
<DependentUpon>ImportPddMultiBuyerForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\PddMultiBuyerForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\PddMultiBuyerForm.Designer.cs">
|
||||
<DependentUpon>PddMultiBuyerForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\ProgressForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\ProgressForm.Designer.cs">
|
||||
<DependentUpon>ProgressForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\WechatPaymentForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ToolForms\WechatPaymentForm.Designer.cs">
|
||||
<DependentUpon>WechatPaymentForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="BuyForms\AutoBuyOrder.resx">
|
||||
<DependentUpon>AutoBuyOrder.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="BuyForms\BuyBrower.resx">
|
||||
<DependentUpon>BuyBrower.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="BuyForms\BuyProductBrower.resx">
|
||||
<DependentUpon>BuyProductBrower.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FactoryExportForms\FactoryExportForm.resx">
|
||||
<DependentUpon>FactoryExportForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="LoginForm.resx">
|
||||
<DependentUpon>LoginForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MainForm.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MyControl\ButtonSwitch.resx">
|
||||
<DependentUpon>ButtonSwitch.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MyControl\MyCheckBox.resx">
|
||||
<DependentUpon>MyCheckBox.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MyControl\MyProDetailsControl.resx">
|
||||
<DependentUpon>MyProDetailsControl.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MyControl\MyProSkuItemsControl.resx">
|
||||
<DependentUpon>MyProSkuItemsControl.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MyControl\UcPager.resx">
|
||||
<DependentUpon>UcPager.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\AfterSaleOrderListForm.resx">
|
||||
<DependentUpon>AfterSaleOrderListForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\AfterSaleReturnRefundForm.resx">
|
||||
<DependentUpon>AfterSaleReturnRefundForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\BuyOrderForms.resx">
|
||||
<DependentUpon>BuyOrderForms.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\BuyOrderListForm.resx">
|
||||
<DependentUpon>BuyOrderListForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\BuyOrderPifaSelectForm.resx">
|
||||
<DependentUpon>BuyOrderPifaSelectForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\Bu_YinBowerForm.resx">
|
||||
<DependentUpon>Bu_YinBowerForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\DgvHeaderEditForm.resx">
|
||||
<DependentUpon>DgvHeaderEditForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\ExpressOrderForm.resx">
|
||||
<DependentUpon>ExpressOrderForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\TransitAddressForm.resx">
|
||||
<DependentUpon>TransitAddressForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\OrderEdit.resx">
|
||||
<DependentUpon>OrderEdit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\RemarkEditForm.resx">
|
||||
<DependentUpon>RemarkEditForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\SendOrderListForms.resx">
|
||||
<DependentUpon>SendOrderListForms.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\SetOnceOnlyUpIdForm.resx">
|
||||
<DependentUpon>SetOnceOnlyUpIdForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OrderForms\SuccessOrderListForm.resx">
|
||||
<DependentUpon>SuccessOrderListForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="SetForm.resx">
|
||||
<DependentUpon>SetForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ShopForms\OAForm.resx">
|
||||
<DependentUpon>OAForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ShopForms\PddShopLoginForm.resx">
|
||||
<DependentUpon>PddShopLoginForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ShopForms\ShopBrower.resx">
|
||||
<DependentUpon>ShopBrower.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SupportQrCodeForm.resx">
|
||||
<DependentUpon>SupportQrCodeForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ToolForms\CefForm.resx">
|
||||
<DependentUpon>CefForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ToolForms\ImportPddMultiBuyerForm.resx">
|
||||
<DependentUpon>ImportPddMultiBuyerForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ToolForms\PddMultiBuyerForm.resx">
|
||||
<DependentUpon>PddMultiBuyerForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ToolForms\ProgressForm.resx">
|
||||
<DependentUpon>ProgressForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ToolForms\WechatPaymentForm.resx">
|
||||
<DependentUpon>WechatPaymentForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\app.manifest" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="DLL\" />
|
||||
<Folder Include="FunctionForms\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\default_pic.png" />
|
||||
<Content Include="Resources\jzz.png" />
|
||||
<Content Include="Resources\qrcode.png" />
|
||||
<Content Include="Resources\yiwancheng1.png" />
|
||||
<None Include="Resources\yiwancheng.png" />
|
||||
<None Include="Resources\x-2.0.png" />
|
||||
<Content Include="icon.ico" />
|
||||
<Content Include="Resources\BaseMsgErr.png" />
|
||||
<Content Include="Resources\BaseMsgInfo.png" />
|
||||
<Content Include="Resources\BaseMsgQue.png" />
|
||||
<None Include="Resources\close.hover.png" />
|
||||
<None Include="Resources\close.png" />
|
||||
<None Include="Resources\max.hover.png" />
|
||||
<None Include="Resources\max.png" />
|
||||
<None Include="Resources\min.hover.png" />
|
||||
<None Include="Resources\min.png" />
|
||||
<None Include="Resources\normal.hover.png" />
|
||||
<None Include="Resources\normal.png" />
|
||||
<Content Include="Resources\btncheckoff1.png" />
|
||||
<Content Include="Resources\btncheckon1.png" />
|
||||
<Content Include="Resources\LittleCatLogo.png" />
|
||||
<None Include="Resources\logo.png" />
|
||||
<None Include="Resources\seting.png" />
|
||||
<None Include="Resources\seting1.png" />
|
||||
<Content Include="Resources\user_ico.png" />
|
||||
<Content Include="Resources\x-2.1.png" />
|
||||
<Content Include="Resources\x-3.0.png" />
|
||||
<Content Include="Resources\x-3.1.png" />
|
||||
<Content Include="Resources\x-4.0.png" />
|
||||
<Content Include="Resources\x-4.1.png" />
|
||||
<Content Include="Resources\x-5.0.png" />
|
||||
<Content Include="Resources\x-5.1.png" />
|
||||
<Content Include="Resources\x-6.0.png" />
|
||||
<Content Include="Resources\x-6.1.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AllBase\29WxOrderAllBase.csproj">
|
||||
<Project>{6461D807-B1C8-45F0-B388-E0CA1A418DE0}</Project>
|
||||
<Name>29WxOrderAllBase</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Work\29WxOrderWork.csproj">
|
||||
<Project>{1ad45d66-6872-4522-acf0-04e2c0514048}</Project>
|
||||
<Name>29WxOrderWork</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cef.redist.x64.79.1.36\build\cef.redist.x64.props'))" />
|
||||
<Error Condition="!Exists('..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cef.redist.x86.79.1.36\build\cef.redist.x86.props'))" />
|
||||
<Error Condition="!Exists('..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\chromiumembeddedframework.runtime.win-x64.138.0.34\build\chromiumembeddedframework.runtime.win-x64.props'))" />
|
||||
<Error Condition="!Exists('..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\chromiumembeddedframework.runtime.win-x86.138.0.34\build\chromiumembeddedframework.runtime.win-x86.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.props'))" />
|
||||
<Error Condition="!Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.138.0.340\build\CefSharp.Common.targets')" />
|
||||
</Project>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.3.1.9" newVersion="1.3.1.9" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="CefSharp.WinForms" publicKeyToken="40c4b6fc221f4138" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-138.0.340.0" newVersion="138.0.340.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="CefSharp.Core" publicKeyToken="40c4b6fc221f4138" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-138.0.340.0" newVersion="138.0.340.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="CefSharp" publicKeyToken="40c4b6fc221f4138" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-138.0.340.0" newVersion="138.0.340.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
Generated
+173
@@ -0,0 +1,173 @@
|
||||
|
||||
namespace FindLittleRabbitOrder.BaseForms
|
||||
{
|
||||
partial class BaseForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.pbMinBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbNormalBase = new System.Windows.Forms.PictureBox();
|
||||
this.pbMaxBase = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox3 = new System.Windows.Forms.PictureBox();
|
||||
this.lbTitle = new System.Windows.Forms.Label();
|
||||
this.pbCloseBase = new System.Windows.Forms.PictureBox();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panel2.Controls.Add(this.pbMinBase);
|
||||
this.panel2.Controls.Add(this.pbNormalBase);
|
||||
this.panel2.Controls.Add(this.pbMaxBase);
|
||||
this.panel2.Controls.Add(this.pictureBox3);
|
||||
this.panel2.Controls.Add(this.lbTitle);
|
||||
this.panel2.Controls.Add(this.pbCloseBase);
|
||||
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(386, 32);
|
||||
this.panel2.TabIndex = 2;
|
||||
//
|
||||
// pbMinBase
|
||||
//
|
||||
this.pbMinBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbMinBase.Image = global::FindLittleRabbitOrder.Properties.Resources.min;
|
||||
this.pbMinBase.Location = new System.Drawing.Point(258, 0);
|
||||
this.pbMinBase.Name = "pbMinBase";
|
||||
this.pbMinBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbMinBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbMinBase.TabIndex = 1;
|
||||
this.pbMinBase.TabStop = false;
|
||||
this.pbMinBase.Click += new System.EventHandler(this.PictureBox2_Click);
|
||||
this.pbMinBase.MouseLeave += new System.EventHandler(this.PictureBox2_MouseLeave);
|
||||
this.pbMinBase.MouseHover += new System.EventHandler(this.PictureBox2_MouseHover);
|
||||
//
|
||||
// pbNormalBase
|
||||
//
|
||||
this.pbNormalBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbNormalBase.Image = global::FindLittleRabbitOrder.Properties.Resources.normal;
|
||||
this.pbNormalBase.Location = new System.Drawing.Point(290, 0);
|
||||
this.pbNormalBase.Name = "pbNormalBase";
|
||||
this.pbNormalBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbNormalBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbNormalBase.TabIndex = 6;
|
||||
this.pbNormalBase.TabStop = false;
|
||||
this.pbNormalBase.Visible = false;
|
||||
this.pbNormalBase.Click += new System.EventHandler(this.pbNormalBase_Click);
|
||||
this.pbNormalBase.MouseLeave += new System.EventHandler(this.pbNormalBase_MouseLeave);
|
||||
this.pbNormalBase.MouseHover += new System.EventHandler(this.pbNormalBase_MouseHover);
|
||||
//
|
||||
// pbMaxBase
|
||||
//
|
||||
this.pbMaxBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbMaxBase.Image = global::FindLittleRabbitOrder.Properties.Resources.max;
|
||||
this.pbMaxBase.Location = new System.Drawing.Point(322, 0);
|
||||
this.pbMaxBase.Name = "pbMaxBase";
|
||||
this.pbMaxBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbMaxBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbMaxBase.TabIndex = 5;
|
||||
this.pbMaxBase.TabStop = false;
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbMaxBase.Click += new System.EventHandler(this.pbMaxBase_Click);
|
||||
this.pbMaxBase.MouseLeave += new System.EventHandler(this.pbMaxBase_MouseLeave);
|
||||
this.pbMaxBase.MouseHover += new System.EventHandler(this.pbMaxBase_MouseHover);
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox3.Location = new System.Drawing.Point(5, 3);
|
||||
this.pictureBox3.Name = "pictureBox3";
|
||||
this.pictureBox3.Size = new System.Drawing.Size(23, 23);
|
||||
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox3.TabIndex = 3;
|
||||
this.pictureBox3.TabStop = false;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.AutoSize = true;
|
||||
this.lbTitle.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.lbTitle.Location = new System.Drawing.Point(31, 6);
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.Size = new System.Drawing.Size(45, 17);
|
||||
this.lbTitle.TabIndex = 2;
|
||||
this.lbTitle.Text = "label1";
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pbCloseBase.Image = global::FindLittleRabbitOrder.Properties.Resources.close;
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(354, 0);
|
||||
this.pbCloseBase.Name = "pbCloseBase";
|
||||
this.pbCloseBase.Size = new System.Drawing.Size(32, 32);
|
||||
this.pbCloseBase.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pbCloseBase.TabIndex = 0;
|
||||
this.pbCloseBase.TabStop = false;
|
||||
this.pbCloseBase.Click += new System.EventHandler(this.PictureBox1_Click);
|
||||
this.pbCloseBase.MouseLeave += new System.EventHandler(this.PictureBox1_MouseLeave);
|
||||
this.pbCloseBase.MouseHover += new System.EventHandler(this.PictureBox1_MouseHover);
|
||||
//
|
||||
// BaseForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.ClientSize = new System.Drawing.Size(386, 183);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "BaseForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "BaseForm";
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMinBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNormalBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbMaxBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.PictureBox pbMinBase;
|
||||
private System.Windows.Forms.PictureBox pbNormalBase;
|
||||
private System.Windows.Forms.PictureBox pbMaxBase;
|
||||
private System.Windows.Forms.PictureBox pictureBox3;
|
||||
private System.Windows.Forms.Label lbTitle;
|
||||
private System.Windows.Forms.PictureBox pbCloseBase;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,253 @@
|
||||
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;
|
||||
|
||||
namespace FindLittleRabbitOrder.BaseForms
|
||||
{
|
||||
public partial class BaseForm : Form
|
||||
{
|
||||
const int WM_NCHITTEST = 0x0084;
|
||||
const int HTLEFT = 10; //左边界
|
||||
const int HTRIGHT = 11; //右边界
|
||||
const int HTTOP = 12; //上边界
|
||||
const int HTTOPLEFT = 13; //左上角
|
||||
const int HTTOPRIGHT = 14; //右上角
|
||||
const int HTBOTTOM = 15; //下边界
|
||||
const int HTBOTTOMLEFT = 0x10; //左下角
|
||||
const int HTBOTTOMRIGHT = 17; //右下角
|
||||
|
||||
protected bool Minimized { get { return this.pbMinBase.Visible; } set { this.pbMinBase.Visible = value; } }
|
||||
|
||||
protected override void WndProc(ref Message m)
|
||||
{
|
||||
switch (m.Msg)
|
||||
{
|
||||
case WM_NCHITTEST:
|
||||
base.WndProc(ref m);
|
||||
Point vPoint = new Point((int)m.LParam & 0xFFFF,
|
||||
(int)m.LParam >> 16 & 0xFFFF);
|
||||
vPoint = PointToClient(vPoint);
|
||||
if (vPoint.X <= 5)
|
||||
if (vPoint.Y <= 5)
|
||||
m.Result = (IntPtr)HTTOPLEFT;
|
||||
else if (vPoint.Y >= ClientSize.Height - 5)
|
||||
m.Result = (IntPtr)HTBOTTOMLEFT;
|
||||
else m.Result = (IntPtr)HTLEFT;
|
||||
else if (vPoint.X >= ClientSize.Width - 5)
|
||||
if (vPoint.Y <= 5)
|
||||
m.Result = (IntPtr)HTTOPRIGHT;
|
||||
else if (vPoint.Y >= ClientSize.Height - 5)
|
||||
m.Result = (IntPtr)HTBOTTOMRIGHT;
|
||||
else m.Result = (IntPtr)HTRIGHT;
|
||||
else if (vPoint.Y <= 5)
|
||||
m.Result = (IntPtr)HTTOP;
|
||||
else if (vPoint.Y >= ClientSize.Height - 5)
|
||||
m.Result = (IntPtr)HTBOTTOM;
|
||||
break;
|
||||
default:
|
||||
base.WndProc(ref m);
|
||||
break;
|
||||
}
|
||||
}
|
||||
public BaseForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
|
||||
}
|
||||
|
||||
private void LcBaseForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
//if (BaseClass.Ico != null)
|
||||
// Iconx = Icon = BaseClass.Ico;
|
||||
//else
|
||||
// Iconx = this.Icon = BaseClass.Ico = ImageBuild.ConvertToIcon(global::FindLittleRabbitOrder.Properties.Resources.icon);
|
||||
|
||||
|
||||
if (this.IsShowMax)
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pbMaxBase.Visible = true;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PictureBox2_Click(object sender, EventArgs e)
|
||||
{
|
||||
WindowState = FormWindowState.Minimized;
|
||||
}
|
||||
|
||||
public virtual void PictureBox1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//pictureBox3.Image?.Dispose();
|
||||
Close();
|
||||
}
|
||||
|
||||
private Icon _iconx;
|
||||
public Icon Iconx
|
||||
{
|
||||
set
|
||||
{
|
||||
_iconx = value;
|
||||
if (_iconx == null) return;
|
||||
pictureBox3.Image = _iconx.ToBitmap();
|
||||
}
|
||||
}
|
||||
|
||||
private bool isShowMax = false;
|
||||
public bool IsShowMax
|
||||
{
|
||||
get { return isShowMax; }
|
||||
set
|
||||
{
|
||||
isShowMax = value;
|
||||
if (isShowMax)
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pbMaxBase.Visible = true;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string TitleText
|
||||
{
|
||||
get
|
||||
{
|
||||
return Text;
|
||||
}
|
||||
set
|
||||
{
|
||||
lbTitle.Text = Text;
|
||||
}
|
||||
}
|
||||
private Point mouseOffset;//记录鼠标指针的坐标
|
||||
private bool isMouseDown;//记录鼠标左键是否按下
|
||||
private void Panel1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (isMouseDown)
|
||||
{//获取鼠标的位置
|
||||
Point mousePos = MousePosition;
|
||||
mousePos.Offset(mouseOffset.X, mouseOffset.Y);
|
||||
Location = mousePos;
|
||||
}
|
||||
}
|
||||
|
||||
private void Panel1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
mouseOffset = new Point(-e.X, -e.Y);
|
||||
isMouseDown = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void Panel1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
isMouseDown = false;
|
||||
}
|
||||
|
||||
private void PictureBox1_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbCloseBase.Image = global::FindLittleRabbitOrder.Properties.Resources.close_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
|
||||
}
|
||||
|
||||
private void PictureBox1_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbCloseBase.Image = global::FindLittleRabbitOrder.Properties.Resources.close;
|
||||
this.Cursor = Cursors.Default;
|
||||
|
||||
}
|
||||
|
||||
private void PictureBox2_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMinBase.Image = global::FindLittleRabbitOrder.Properties.Resources.min_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
|
||||
}
|
||||
|
||||
private void PictureBox2_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMinBase.Image = global::FindLittleRabbitOrder.Properties.Resources.min;
|
||||
this.Cursor = Cursors.Default;
|
||||
|
||||
}
|
||||
|
||||
public virtual void HideTitle()
|
||||
{
|
||||
// this.panel1.Visible = false;
|
||||
}
|
||||
|
||||
#region 窗体提交数据完成事件
|
||||
public event Action<object> SaveComplete;
|
||||
protected virtual void OnSaveComplete(object param)
|
||||
{
|
||||
this.SaveComplete?.Invoke(param);
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void pbNormalBase_Click(object sender, EventArgs e)
|
||||
{
|
||||
WindowState = FormWindowState.Normal;
|
||||
this.pbMaxBase.Visible = true;
|
||||
this.pbNormalBase.Visible = false;
|
||||
}
|
||||
|
||||
private void pbNormalBase_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbNormalBase.Image = global::FindLittleRabbitOrder.Properties.Resources.normal_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
}
|
||||
|
||||
private void pbNormalBase_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbNormalBase.Image = global::FindLittleRabbitOrder.Properties.Resources.normal;
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
private void pbMaxBase_Click(object sender, EventArgs e)
|
||||
{
|
||||
WindowState = FormWindowState.Maximized;
|
||||
this.pbMaxBase.Visible = false;
|
||||
this.pbNormalBase.Visible = true;
|
||||
}
|
||||
|
||||
private void pbMaxBase_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMaxBase.Image = global::FindLittleRabbitOrder.Properties.Resources.max_hover;
|
||||
this.Cursor = Cursors.Hand;
|
||||
}
|
||||
|
||||
private void pbMaxBase_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
this.pbMaxBase.Image = global::FindLittleRabbitOrder.Properties.Resources.max;
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
|
||||
namespace FindLittleRabbitOrder.BaseForms
|
||||
{
|
||||
partial class BaseMsgForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.pnlCancel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlConfirm = new DevComponents.DotNetBar.PanelEx();
|
||||
this.picTip = new System.Windows.Forms.PictureBox();
|
||||
this.lblMsg = new System.Windows.Forms.Label();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picTip)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.White;
|
||||
this.panel2.Controls.Add(this.pnlCancel);
|
||||
this.panel2.Controls.Add(this.pnlConfirm);
|
||||
this.panel2.Controls.Add(this.picTip);
|
||||
this.panel2.Controls.Add(this.lblMsg);
|
||||
this.panel2.Location = new System.Drawing.Point(3, 32);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(382, 182);
|
||||
this.panel2.TabIndex = 2;
|
||||
//
|
||||
// pnlCancel
|
||||
//
|
||||
this.pnlCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlCancel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlCancel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.pnlCancel.Location = new System.Drawing.Point(280, 132);
|
||||
this.pnlCancel.Name = "pnlCancel";
|
||||
this.pnlCancel.Size = new System.Drawing.Size(80, 30);
|
||||
this.pnlCancel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.pnlCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.pnlCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlCancel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Custom;
|
||||
this.pnlCancel.Style.ForeColor.Color = System.Drawing.Color.Black;
|
||||
this.pnlCancel.Style.GradientAngle = 90;
|
||||
this.pnlCancel.TabIndex = 43;
|
||||
this.pnlCancel.Text = "取 消";
|
||||
this.pnlCancel.Click += new System.EventHandler(this.pnlCancel_Click);
|
||||
//
|
||||
// pnlConfirm
|
||||
//
|
||||
this.pnlConfirm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlConfirm.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlConfirm.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlConfirm.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlConfirm.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.pnlConfirm.Location = new System.Drawing.Point(163, 132);
|
||||
this.pnlConfirm.Name = "pnlConfirm";
|
||||
this.pnlConfirm.Size = new System.Drawing.Size(80, 30);
|
||||
this.pnlConfirm.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlConfirm.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlConfirm.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlConfirm.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pnlConfirm.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.pnlConfirm.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.pnlConfirm.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlConfirm.Style.GradientAngle = 90;
|
||||
this.pnlConfirm.TabIndex = 42;
|
||||
this.pnlConfirm.Text = "确 定";
|
||||
this.pnlConfirm.Click += new System.EventHandler(this.pnlConfirm_Click);
|
||||
//
|
||||
// picTip
|
||||
//
|
||||
this.picTip.Location = new System.Drawing.Point(25, 52);
|
||||
this.picTip.Name = "picTip";
|
||||
this.picTip.Size = new System.Drawing.Size(64, 64);
|
||||
this.picTip.TabIndex = 41;
|
||||
this.picTip.TabStop = false;
|
||||
//
|
||||
// lblMsg
|
||||
//
|
||||
this.lblMsg.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblMsg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblMsg.Location = new System.Drawing.Point(112, 52);
|
||||
this.lblMsg.Name = "lblMsg";
|
||||
this.lblMsg.Size = new System.Drawing.Size(248, 65);
|
||||
this.lblMsg.TabIndex = 40;
|
||||
this.lblMsg.Text = "信息";
|
||||
this.lblMsg.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// BaseMsgForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.ClientSize = new System.Drawing.Size(388, 217);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.Name = "BaseMsgForm";
|
||||
this.Text = "BaseMsgForm";
|
||||
this.TitleText = "BaseMsgForm";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
|
||||
this.Controls.SetChildIndex(this.panel2, 0);
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.picTip)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DevComponents.DotNetBar.PanelEx pnlCancel;
|
||||
private DevComponents.DotNetBar.PanelEx pnlConfirm;
|
||||
private System.Windows.Forms.PictureBox picTip;
|
||||
private System.Windows.Forms.Label lblMsg;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FindLittleRabbitOrder.BaseForms
|
||||
{
|
||||
public partial class BaseMsgForm : BaseForm
|
||||
{
|
||||
public BaseMsgForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Minimized = this.MinimizeBox = false;
|
||||
this.AcceptButton = pnlConfirm;
|
||||
SetWindowRegion();
|
||||
}
|
||||
#region 设置窗体圆角
|
||||
/// <summary>
|
||||
/// 设置窗体的Region
|
||||
/// </summary>
|
||||
public void SetWindowRegion()
|
||||
{
|
||||
GraphicsPath FormPath;
|
||||
Rectangle rect = new Rectangle(0, 0, this.Width, this.Height);
|
||||
FormPath = GetRoundedRectPath(rect, 6);
|
||||
this.Region = new Region(FormPath);
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 绘制圆角路径
|
||||
/// </summary>
|
||||
/// <param name="rect"></param>
|
||||
/// <param name="radius"></param>
|
||||
/// <returns></returns>
|
||||
private GraphicsPath GetRoundedRectPath(Rectangle rect, int radius)
|
||||
{
|
||||
int diameter = radius;
|
||||
Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter));
|
||||
GraphicsPath path = new GraphicsPath();
|
||||
|
||||
// 左上角
|
||||
path.AddArc(arcRect, 180, 90);
|
||||
|
||||
// 右上角
|
||||
arcRect.X = rect.Right - diameter;
|
||||
path.AddArc(arcRect, 270, 90);
|
||||
|
||||
// 右下角
|
||||
arcRect.Y = rect.Bottom - diameter;
|
||||
path.AddArc(arcRect, 0, 90);
|
||||
|
||||
// 左下角
|
||||
arcRect.X = rect.Left;
|
||||
path.AddArc(arcRect, 90, 90);
|
||||
path.CloseFigure();//闭合曲线
|
||||
return path;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public static BaseMsgForm ShowInfo(string msg, string caption = "", FormLevel fl = FormLevel.MEDIUM)
|
||||
{
|
||||
string title = string.IsNullOrEmpty(caption) ? "系统提示" : caption;
|
||||
BaseMsgForm msgBox = CreateMsgForm(msg, fl, title);
|
||||
msgBox.picTip.Image = global::FindLittleRabbitOrder.Properties.Resources.BaseMsgInfo;
|
||||
msgBox.ShowDialog();
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
private static BaseMsgForm CreateMsgForm(string msg, FormLevel fl, string title)
|
||||
{
|
||||
BaseMsgForm msgBox = new BaseMsgForm { Text = title, lblMsg = { Text = msg }, TitleText = title };
|
||||
if (fl.Equals(FormLevel.LARGE))
|
||||
{
|
||||
msgBox.Width = (int)FormLevel.LARGE;
|
||||
msgBox.Height = 280;
|
||||
}
|
||||
msgBox.pnlConfirm.Location = msgBox.pnlCancel.Location; // 把确认按钮移到取消按钮上面
|
||||
msgBox.pnlCancel.Visible = false;
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
public static BaseMsgForm ShowError(string msg, string caption = "", FormLevel fl = FormLevel.MEDIUM)
|
||||
{
|
||||
string title = string.IsNullOrEmpty(caption) ? "系统错误" : caption;
|
||||
BaseMsgForm msgBox = CreateMsgForm(msg, fl, title);
|
||||
msgBox.picTip.Image = global::FindLittleRabbitOrder.Properties.Resources.BaseMsgErr;
|
||||
msgBox.ShowDialog();
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
public static BaseMsgForm ShowConfirm(string msg, string caption = "", FormLevel fl = FormLevel.MEDIUM)
|
||||
{
|
||||
string title = string.IsNullOrEmpty(caption) ? "系统提示确认" : caption;
|
||||
BaseMsgForm msgBox = new BaseMsgForm
|
||||
{
|
||||
Text = title,
|
||||
lblMsg = { Text = msg },
|
||||
TitleText = title,
|
||||
picTip = { Image = global::FindLittleRabbitOrder.Properties.Resources.BaseMsgQue }
|
||||
};
|
||||
if (fl.Equals(FormLevel.LARGE))
|
||||
{
|
||||
msgBox.Width = (int)FormLevel.LARGE;
|
||||
}
|
||||
msgBox.ShowDialog();
|
||||
return msgBox;
|
||||
}
|
||||
|
||||
private void pnlConfirm_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void pnlCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
}
|
||||
|
||||
public enum FormLevel
|
||||
{
|
||||
SMALL,
|
||||
MEDIUM,
|
||||
LARGE = 500
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -0,0 +1,31 @@
|
||||
using AllBase;
|
||||
using CefSharp.WinForms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public class BoundJs
|
||||
{
|
||||
public static ChromiumWebBrowser OwnerBrowser;
|
||||
//public SearchSameForm SearchForm;
|
||||
public BoundJs(ChromiumWebBrowser OwnerBrowserx/*, SearchSameForm searchForm*/)//构造与JS交互的方法
|
||||
{
|
||||
OwnerBrowser = OwnerBrowserx;
|
||||
//SearchForm = searchForm;
|
||||
}
|
||||
public void myfunc(string aniContent)
|
||||
{
|
||||
BaseClass.AntiContent = aniContent;
|
||||
}
|
||||
|
||||
public void addproId(string upId)
|
||||
{
|
||||
//SearchForm.SetUpProductId(upId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using CefSharp;
|
||||
using AllBase;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
|
||||
public class BoundObject
|
||||
{
|
||||
public string MyProperty { get; set; }
|
||||
public void MyMethod(string param1)
|
||||
{
|
||||
try
|
||||
{
|
||||
JsEvent.ChatHtml = param1;
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
MyProperty = param1;
|
||||
new JsEvent().openMyPc(param1);
|
||||
}
|
||||
|
||||
public void TestCallback(IJavascriptCallback javascriptCallback)
|
||||
{
|
||||
using (javascriptCallback)
|
||||
{
|
||||
var response = new string[] { MyProperty };
|
||||
javascriptCallback.ExecuteAsync(response);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
partial class ZiDongPaiDan
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "ZiDongPaiDan";
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
public partial class ZiDongPaiDan : Form
|
||||
{
|
||||
public ZiDongPaiDan()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
Generated
+66
@@ -0,0 +1,66 @@
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
partial class BuyBrower
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Location = new System.Drawing.Point(1, 34);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(402, 656);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// BuyBrower
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(405, 692);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "BuyBrower";
|
||||
this.Text = "BuyBrower";
|
||||
this.TitleText = "BuyBrower";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BuyBrower_FormClosing);
|
||||
this.Load += new System.EventHandler(this.BuyBrower_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,447 @@
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using _29WxOrder.Helper;
|
||||
using NaiBa.CefHelper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.BaseForms;
|
||||
using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
public partial class BuyBrower : BaseForm
|
||||
{
|
||||
public BuyBrower()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public MainForm mainForm;
|
||||
public string userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36";
|
||||
public ChromiumWebBrowser cefWebBrowser1 = null;
|
||||
private NaiBa.CefHelper.Handler.CustomResourceRequestHandler resourceRequestHandler = null;
|
||||
public string webUrl = "";
|
||||
public static string Uid = "";
|
||||
public static bool GetIni = true;
|
||||
/// <summary>
|
||||
/// 1拼多多 2淘宝 3 1688 99 巨量百应
|
||||
/// </summary>
|
||||
public int webtype = 0;
|
||||
public void BuyBrower_Load(object sender, EventArgs e)
|
||||
{
|
||||
loginEd = false;
|
||||
if (GetIni && CollectionClass.Province.Count == 0)
|
||||
{
|
||||
new Thread(Ini).Start();
|
||||
GetIni = false;
|
||||
}
|
||||
|
||||
this.TitleText = this.Text = "买手号登录";
|
||||
if (webUrl.Contains("pinduoduo"))
|
||||
{
|
||||
this.Location = new Point(405, 692);
|
||||
}
|
||||
else
|
||||
{
|
||||
int xWidth = SystemInformation.PrimaryMonitorSize.Width;//获取显示器屏幕宽度
|
||||
int yHeight = SystemInformation.PrimaryMonitorSize.Height;//高度
|
||||
this.Location = new Point((xWidth / 2) - (this.Width / 2), (yHeight / 2) - (this.Height / 2));
|
||||
}
|
||||
if (cefWebBrowser1 == null)
|
||||
{
|
||||
cefWebBrowser1 = new ChromiumWebBrowser(webUrl);
|
||||
resourceRequestHandler = new NaiBa.CefHelper.Handler.CustomResourceRequestHandler();
|
||||
resourceRequestHandler.UserAgent = userAgent;
|
||||
cefWebBrowser1.RequestHandler = new NaiBa.CefHelper.Handler.CustomRequestHandler(resourceRequestHandler);
|
||||
cefWebBrowser1.FrameLoadStart += CefWebBrowser_FrameLoadStart;
|
||||
cefWebBrowser1.FrameLoadEnd += cefWebBrowser1_FrameLoadEnd;
|
||||
var lifeSapnHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
|
||||
cefWebBrowser1.LifeSpanHandler = lifeSapnHandler;
|
||||
cefWebBrowser1.LoadError += cefWebBrowser1_LoadError;
|
||||
cefWebBrowser1.Dock = DockStyle.Fill;
|
||||
|
||||
//cefWebBrowser1.RegisterJsObject("bound", new BoundObject(), BindingOptions.DefaultBinder); // CEF67
|
||||
// 注册C#类为JS对象
|
||||
//CefSharpSettings.LegacyJavascriptBindingEnabled = true;
|
||||
CefSharpSettings.WcfEnabled = true;
|
||||
cefWebBrowser1.JavascriptObjectRepository.Register("bound", new BoundObject(), isAsync: false, options: BindingOptions.DefaultBinder);
|
||||
|
||||
|
||||
cefWebBrowser1.KeyboardHandler = new CEFKeyBoardHander();
|
||||
|
||||
panel1.Controls.Add(cefWebBrowser1);
|
||||
}
|
||||
else
|
||||
{
|
||||
cefWebBrowser1.Load(webUrl);
|
||||
}
|
||||
|
||||
//cefWebBrowser1.ExecuteScriptAsync("this.globalThis || (this.globalThis = this)");
|
||||
}
|
||||
|
||||
public void Ini()
|
||||
{
|
||||
string path = "temp/province";
|
||||
if (!Directory.Exists("temp"))
|
||||
Directory.CreateDirectory("temp");
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
||||
string mainDomain = "";
|
||||
if (webtype == 1)
|
||||
{
|
||||
mainDomain = "yangkeduo.com";
|
||||
while (string.IsNullOrEmpty(Uid))
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
if (BaseClass.CookiesAll.ContainsKey("yangkeduo.com") && BaseClass.CookiesAll[mainDomain].ContainsKey("pdd_user_id"))
|
||||
Uid = BaseClass.CookiesAll[mainDomain]["pdd_user_id"];
|
||||
}
|
||||
}
|
||||
else if (webtype == 2)
|
||||
{
|
||||
mainDomain = "taobao.com";
|
||||
while (string.IsNullOrEmpty(Uid))
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
if (BaseClass.CookiesAll.ContainsKey("taobao.com") && BaseClass.CookiesAll[mainDomain].ContainsKey("aui"))
|
||||
Uid = BaseClass.CookiesAll[mainDomain]["aui"];
|
||||
}
|
||||
}
|
||||
else if (webtype == 3)
|
||||
{
|
||||
mainDomain = "1688.com";
|
||||
while (string.IsNullOrEmpty(Uid))
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
if (BaseClass.CookiesAll.ContainsKey("1688.com") && BaseClass.CookiesAll[mainDomain].ContainsKey("unb"))
|
||||
Uid = BaseClass.CookiesAll[mainDomain]["unb"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
string html = GetProvince("1");
|
||||
var m = BaseRegex.GetMatchRegex(ref html, @"\{(.+?)\}");
|
||||
for (int i = 0; m != null && i < m.Count; i++)
|
||||
{
|
||||
string list = m[i].Groups[0].Value;
|
||||
ProvinceBase p = new ProvinceBase();
|
||||
p.name = BaseRegex.GetStringJson(ref list, "region_name");
|
||||
if (CollectionClass.Province.ContainsKey(p.name))
|
||||
continue;
|
||||
p.id = BaseRegex.GetStringJson(ref list, "region_id");
|
||||
p.parent_id = BaseRegex.GetStringJson(ref list, "parent_id");
|
||||
html = GetProvince(p.id);
|
||||
var mm = BaseRegex.GetMatchRegex(ref html, @"\{(.+?)\}");
|
||||
for (int j = 0; mm != null && j < mm.Count; j++)
|
||||
{
|
||||
list = mm[j].Groups[0].Value;
|
||||
ProvinceBase pp = new ProvinceBase();
|
||||
pp.name = BaseRegex.GetStringJson(ref list, "region_name");
|
||||
pp.id = BaseRegex.GetStringJson(ref list, "region_id");
|
||||
pp.parent_id = BaseRegex.GetStringJson(ref list, "parent_id");
|
||||
if (p.city.ContainsKey(pp.name))
|
||||
continue;
|
||||
html = GetProvince(pp.id);
|
||||
var mmm = BaseRegex.GetMatchRegex(ref html, @"\{(.+?)\}");
|
||||
for (int k = 0; mmm != null && k < mmm.Count; k++)
|
||||
{
|
||||
list = mmm[k].Groups[0].Value;
|
||||
ProvinceBase ppp = new ProvinceBase();
|
||||
ppp.name = BaseRegex.GetStringJson(ref list, "region_name");
|
||||
ppp.id = BaseRegex.GetStringJson(ref list, "region_id");
|
||||
ppp.parent_id = BaseRegex.GetStringJson(ref list, "parent_id");
|
||||
if (pp.city.ContainsKey(ppp.name))
|
||||
continue;
|
||||
pp.city[ppp.name] = ppp;
|
||||
}
|
||||
p.city[pp.name] = pp;
|
||||
}
|
||||
CollectionClass.Province[p.name] = p;
|
||||
}
|
||||
}
|
||||
public string GetProvince(string pid)
|
||||
{
|
||||
string path = "temp/province";
|
||||
string url = "http://apiv4.yangkeduo.com/api/galen/v2/regions/" + pid + "?pdduid=" + Uid;
|
||||
string refere = BaseClass.PddMobileUrlx + "addresses.html";
|
||||
string html = "", file = path + "/" + pid + ".king";
|
||||
|
||||
if (FileBase.Exists(file))
|
||||
html = FileBase.ReadAllText(file, Encoding.UTF8);
|
||||
else
|
||||
{
|
||||
html = GetPostTaobaoHtml.UploadTaobao(url, refere, true);
|
||||
FileBase.WriteAllText(file, html, Encoding.UTF8);
|
||||
Thread.Sleep(200);
|
||||
}
|
||||
return html;
|
||||
}
|
||||
private void cefWebBrowser1_LoadError(object sender, LoadErrorEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void CefWebBrowser_FrameLoadStart(object sender, FrameLoadStartEventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(userAgent))
|
||||
{
|
||||
// 使用JavaScript修改UserAgent
|
||||
cefWebBrowser1.GetBrowser().MainFrame.ExecuteJavaScriptAsync("navigator.__defineGetter__('userAgent', function(){ return '" + userAgent + "'});navigator.userAgent;");
|
||||
}
|
||||
}
|
||||
private bool loginEd = false;
|
||||
private void cefWebBrowser1_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
string url = cefWebBrowser1.Address;
|
||||
string loginOkUrl = "yangkeduo.com/personal.html";//"?refer_page_name=login";
|
||||
string ALloginOkUrl = "https://work.1688.com/home/buyer.htm?_path_=buyer2017Base/2017buyerbase_trade/buyList&spm=a262jm.9273823.wkalibar.d8.5d884aadnN1j9G";
|
||||
//https://work.1688.com/home/buyer.htm?_path_=buyer2017Base/2017buyerbase_trade/buyList&spm=a262jm.9273823.wkalibar.d8.5d884aadnN1j9G
|
||||
if ((url.Contains(loginOkUrl) || url.Contains("pinduoduo.com/personal.html")) && !url.Contains("?refxj=xj")) // 登录成功
|
||||
{
|
||||
var task02 = e.Frame.GetSourceAsync();
|
||||
task02.ContinueWith(t =>
|
||||
{
|
||||
if (!t.IsFaulted)
|
||||
{
|
||||
string resultStr = t.Result;
|
||||
string name = BaseRegex.GetMatchRegexString(ref resultStr, @"""nickname"":""([^']+?)""");
|
||||
string uid = BaseRegex.GetMatchRegexString(ref resultStr, @"""uid"":""([^']+?)""");
|
||||
if (!string.IsNullOrEmpty(name))
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
cookie.Clear();
|
||||
CookieVisitor visitor = new CookieVisitor();
|
||||
visitor.SendCookie += visitor_SendCookie;
|
||||
ICookieManager cookieManager = cefWebBrowser1.GetCookieManager();
|
||||
cookieManager.VisitAllCookies(visitor);
|
||||
PddBuyUser pddBuyUsers = new PddBuyUser();
|
||||
Thread.Sleep(2000);
|
||||
cookie.RemoveAll(x => x.Domain.Contains("mobile.yangkeduo.com") || x.Domain.Contains("mobil.yangkeduo.com"));
|
||||
pddBuyUsers.SaveCookies(uid, name, cookie);
|
||||
BaseMsgForm.ShowInfo("登录成功");
|
||||
mainForm.ReflashBuyUsers();
|
||||
mainForm.PddSelectedItem(uid);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Hide();
|
||||
}));
|
||||
Thread.Sleep(500);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Close();
|
||||
}));
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
//return;
|
||||
}
|
||||
else if (url.Contains("https://i.taobao.com/my_taobao.htm") || url.Contains("https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm"))
|
||||
{
|
||||
|
||||
var task02 = e.Frame.GetSourceAsync();
|
||||
task02.ContinueWith(t =>
|
||||
{
|
||||
if ((t.Result.Contains("所有订单") || t.Result.Contains("全部功能")) && loginEd == false)
|
||||
{
|
||||
loginEd = true;
|
||||
if (!t.IsFaulted)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
cookie.Clear();
|
||||
CookieVisitor visitor = new CookieVisitor();
|
||||
visitor.SendCookie += visitor_SendCookie;
|
||||
ICookieManager cookieManager = cefWebBrowser1.GetCookieManager();
|
||||
cookieManager.VisitAllCookies(visitor);
|
||||
Thread.Sleep(2000);
|
||||
new TaoBaoBuyUser().SaveCookies(cookie);
|
||||
BaseMsgForm.ShowInfo("登录成功");
|
||||
mainForm.ReflashBuyUsers();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Hide();
|
||||
}));
|
||||
Thread.Sleep(500);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Close();
|
||||
}));
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
else if (url.Contains(ALloginOkUrl) && url.IndexOf(ALloginOkUrl) == 0)
|
||||
{
|
||||
var task02 = e.Frame.GetSourceAsync();
|
||||
task02.ContinueWith(t =>
|
||||
{
|
||||
if (!t.IsFaulted)
|
||||
{
|
||||
string resultStr = t.Result;
|
||||
if (resultStr.Contains("ts-loginid"))
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
cookie.Clear();
|
||||
CookieVisitor visitor = new CookieVisitor();
|
||||
visitor.SendCookie += visitor_SendCookie;
|
||||
ICookieManager cookieManager = cefWebBrowser1.GetCookieManager();
|
||||
cookieManager.VisitAllCookies(visitor);
|
||||
ALBuyUser alBuyUser = new ALBuyUser();
|
||||
Thread.Sleep(2000);
|
||||
string uid = alBuyUser.SaveCookies(cookie);
|
||||
BaseMsgForm.ShowInfo("登录成功");
|
||||
mainForm.ReflashBuyUsers();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Hide();
|
||||
}));
|
||||
Thread.Sleep(500);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Close();
|
||||
}));
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
else if (url.Contains("https://buyin.jinritemai.com/dashboard/merch-picking-hall"))
|
||||
{
|
||||
//https://buyin.jinritemai.com/dashboard/merch-picking-hall/center
|
||||
//https://buyin.jinritemai.com/dashboard/merch-picking-hall/center
|
||||
var task02 = e.Frame.GetSourceAsync();
|
||||
task02.ContinueWith(t =>
|
||||
{
|
||||
if (!t.IsFaulted)
|
||||
{
|
||||
string resultStr = t.Result;
|
||||
string name = BaseRegex.GetMatchRegexString(ref resultStr, "class=\"btn-item-role-exchange-name__title\">([\\s\\S]+?)</span><span");
|
||||
|
||||
if (name != "" && name != null)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
cookie.Clear();
|
||||
CookieVisitor visitor = new CookieVisitor();
|
||||
visitor.SendCookie += visitor_SendCookie;
|
||||
ICookieManager cookieManager = cefWebBrowser1.GetCookieManager();
|
||||
cookieManager.VisitAllCookies(visitor);
|
||||
Thread.Sleep(2000);
|
||||
buyin_saveCookie(name, cookie);
|
||||
BaseMsgForm.ShowInfo("登录成功");
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Hide();
|
||||
}));
|
||||
Thread.Sleep(500);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (this.Created)
|
||||
this.Close();
|
||||
}));
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 保存cookie
|
||||
/// </summary>
|
||||
public void buyin_saveCookie(string name, List<CefSharp.Cookie> cookie)
|
||||
{
|
||||
string cookies = "";
|
||||
|
||||
foreach (CefSharp.Cookie item in cookie)
|
||||
{
|
||||
cookies += item.Name + "=" + item.Value + ";";
|
||||
}
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("user_login_cookies&act=douyin_buy_in_add");
|
||||
StringBuilder data = new StringBuilder();
|
||||
data.Append("&user_name=" + name);
|
||||
data.Append("&user_id=1");
|
||||
data.Append("&cookies=" + GetHtml.UrlEncodeUtf8(cookies));
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
List<CefSharp.Cookie> cookie = new List<CefSharp.Cookie>();
|
||||
private void visitor_SendCookie(CefSharp.Cookie obj)
|
||||
{
|
||||
string web = "";
|
||||
switch (webtype)
|
||||
{
|
||||
case 1:
|
||||
web = "yangkeduo.com";
|
||||
if (obj.Domain.Contains(web))
|
||||
{
|
||||
cookie.Add(obj);
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
web = ".taobao.com";
|
||||
if (obj.Domain.Contains(web) || obj.Domain == ".mmstat.com" || obj.Domain == "g.alicdn.com")
|
||||
{
|
||||
cookie.Add(obj);
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
web = "1688.com";
|
||||
if (obj.Domain.Contains(web))
|
||||
{
|
||||
cookie.Add(obj);
|
||||
}
|
||||
break;
|
||||
case 99:
|
||||
web = ".jinritemai.com";
|
||||
if (obj.Domain.Contains(web))
|
||||
{
|
||||
cookie.Add(obj);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public bool isCloseForm = false;//关闭窗体的标识
|
||||
private void BuyBrower_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
isCloseForm = true;
|
||||
this.Hide();
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
partial class BuyProductBrower
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Location = new System.Drawing.Point(2, 33);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(373, 560);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// BuyProductBrower
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(376, 594);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "BuyProductBrower";
|
||||
this.Text = "BuyProductBrower";
|
||||
this.TitleText = "BuyProductBrower";
|
||||
this.Load += new System.EventHandler(this.BuyProductBrower_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using NaiBa.CefHelper;
|
||||
using NaiBa.CefHelper.Handler;
|
||||
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 Work.BaseForms;
|
||||
using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.BuyForms
|
||||
{
|
||||
public partial class BuyProductBrower : BaseForm
|
||||
{
|
||||
public ChromiumWebBrowser cefWebBrowser = null;
|
||||
public string WebUrl = "";
|
||||
public string cookies;
|
||||
public BuyProductBrower()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public string userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36";
|
||||
public string buyermobile = "";
|
||||
|
||||
private void BuyProductBrower_Load(object sender, EventArgs e)
|
||||
{
|
||||
string domain = "";
|
||||
if (WebUrl.Contains("1688.com"))
|
||||
{
|
||||
domain = "1688.com";
|
||||
if (WebUrl.StartsWith("https://trade.1688.com"))
|
||||
{
|
||||
domain = "taobao.com";
|
||||
}
|
||||
}
|
||||
else if (WebUrl.Contains("yangkeduo.com"))
|
||||
{
|
||||
domain = "yangkeduo.com";
|
||||
}
|
||||
else if (WebUrl.Contains("pinduoduo.com"))
|
||||
{
|
||||
domain = "pinduoduo.com";
|
||||
}
|
||||
else if (WebUrl.Contains("taobao.com"))
|
||||
{
|
||||
domain = "taobao.com";
|
||||
}
|
||||
|
||||
|
||||
if (!this.TitleText.Contains("详情") && !this.TitleText.Contains("订单"))
|
||||
this.TitleText = this.TitleText = this.Text = "详情";
|
||||
|
||||
if (cefWebBrowser == null)
|
||||
{
|
||||
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(WebUrl, false);
|
||||
CustomResourceRequestHandler resourceRequestHandler = new CustomResourceRequestHandler();
|
||||
resourceRequestHandler.UserAgent = userAgent;
|
||||
cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
|
||||
cefWebBrowser.KeyboardHandler = new KeyboardHandler();
|
||||
cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
|
||||
if (domain.Contains("taobao.com"))
|
||||
{
|
||||
//CEFBrowser.SetCookieAsync(".taobao.com", cookies, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
//CEFBrowser.SetCookieAsync(".1688.com", cookies, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
//CEFBrowser.SetCookieAsync(".tmall.com", cookies, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
}
|
||||
cefWebBrowser.Dock = DockStyle.Fill;
|
||||
|
||||
this.panel1.Controls.Add(cefWebBrowser);
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (cefWebBrowser.IsLoading)
|
||||
{
|
||||
System.Threading.Thread.Sleep(1);
|
||||
}
|
||||
CEFBrowser.SetCookieAsync(domain, cookies, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
});
|
||||
//cefWebBrowser.SendToBack();
|
||||
}
|
||||
else
|
||||
{
|
||||
CEFBrowser.DeleteCookie(cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
CEFBrowser.SetCookieAsync(domain, cookies, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
cefWebBrowser.Load(WebUrl);
|
||||
}
|
||||
}
|
||||
|
||||
private void CefWebBrowser_FrameLoadEnd(object sender, FrameLoadEndEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -0,0 +1,51 @@
|
||||
using CefSharp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public class CEFKeyBoardHander : IKeyboardHandler
|
||||
{
|
||||
public bool OnKeyEvent(IWebBrowser browserControl, IBrowser browser, KeyType type, int windowsKeyCode, int nativeKeyCode, CefEventFlags modifiers, bool isSystemKey)
|
||||
{
|
||||
if (type == KeyType.KeyUp && Enum.IsDefined(typeof(Keys), windowsKeyCode))
|
||||
{
|
||||
var key = (Keys)windowsKeyCode;
|
||||
switch (key)
|
||||
{
|
||||
case Keys.F12:
|
||||
browser.ShowDevTools();
|
||||
break;
|
||||
|
||||
case Keys.F5:
|
||||
|
||||
if (modifiers == CefEventFlags.ControlDown)
|
||||
{
|
||||
//MessageBox.Show("ctrl+f5");
|
||||
browser.Reload(true); //强制忽略缓存
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//MessageBox.Show("f5");
|
||||
browser.Reload();
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool OnPreKeyEvent(IWebBrowser browserControl, IBrowser browser, KeyType type, int windowsKeyCode, int nativeKeyCode, CefEventFlags modifiers, bool isSystemKey, ref bool isKeyboardShortcut)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public class CookieVisitor : CefSharp.ICookieVisitor
|
||||
{
|
||||
public event Action<CefSharp.Cookie> SendCookie;
|
||||
public bool Visit(CefSharp.Cookie cookie, int count, int total, ref bool deleteCookie)
|
||||
{
|
||||
deleteCookie = false;
|
||||
if (SendCookie != null)
|
||||
{
|
||||
SendCookie(cookie);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,244 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
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;
|
||||
|
||||
namespace _29WxOrder.Extension
|
||||
{
|
||||
public static class DataGridViewExtension
|
||||
{
|
||||
public static object GetCellValueFromColumnName(this DataGridViewCellCollection CellCollection, string name)
|
||||
{
|
||||
return CellCollection.Cast<DataGridViewCell>().FirstOrDefault(c => c.OwningColumn.Name == name)?.Value;
|
||||
}
|
||||
|
||||
public static CheckBox AddSelectorColumn(this DataGridView dgv, string columnName = "Selected", Action<DataGridViewColumn> addHeaderCheckBoxOverride = null)
|
||||
{
|
||||
if (dgv.Columns[columnName] == null)
|
||||
{
|
||||
return null;
|
||||
|
||||
//var dt = dgv.Table();
|
||||
|
||||
//var dcol = new DataColumn(columnName, typeof(bool));
|
||||
//dt.Columns.Add(dcol);
|
||||
|
||||
//dt.ColumnChanged += (s, e) =>
|
||||
//{
|
||||
// var chCols = e.Row.GetChangedColumns();
|
||||
// if (chCols.Count == 1 && chCols[0].Equals(dcol))
|
||||
// e.Row.AcceptChanges();
|
||||
//};
|
||||
}
|
||||
|
||||
var col = dgv.Columns[columnName];
|
||||
col.HeaderText = "";
|
||||
col.ReadOnly = false;
|
||||
if (addHeaderCheckBoxOverride != null)
|
||||
{
|
||||
addHeaderCheckBoxOverride(col);
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
return col.AddHeaderCheckBox();
|
||||
}
|
||||
}
|
||||
|
||||
public static CheckBox AddHeaderCheckBox(this DataGridViewColumn column, HorizontalAlignment align = HorizontalAlignment.Center, int leftBorderOffset = 0, int rightBorderOffset = 0, Func<object, bool> getValue = null, Action<object, bool> setValue = null, bool isSetCheckedChangedEvent = true, CheckBox checkBox = null)
|
||||
{
|
||||
if (column.DataGridView == null) throw new ArgumentNullException("First you need to add the column to grid.");
|
||||
|
||||
// Creating checkbox without panel
|
||||
if (checkBox == null)
|
||||
{
|
||||
checkBox = new CheckBox();
|
||||
checkBox.Name = "chk" + column.Name;
|
||||
}
|
||||
checkBox.Size = new Size(14, 14);
|
||||
checkBox.BackColor = Color.Transparent;
|
||||
checkBox.Enabled = true;
|
||||
|
||||
// Reset properties
|
||||
checkBox.Padding = new Padding(0);
|
||||
checkBox.Margin = new Padding(0);
|
||||
checkBox.Text = "";
|
||||
|
||||
var changedByUser = true;
|
||||
var dgv = column.DataGridView;
|
||||
|
||||
if (isSetCheckedChangedEvent)
|
||||
{
|
||||
checkBox.CheckedChanged += (s, e) =>
|
||||
{
|
||||
if (changedByUser)
|
||||
{
|
||||
try
|
||||
{
|
||||
changedByUser = false;
|
||||
|
||||
if (dgv.IsCurrentCellInEditMode && dgv.CurrentCell.OwningColumn.Name.Equals(column.Name))
|
||||
dgv.EndEdit();
|
||||
|
||||
var dgvRows = new List<DataGridViewRow>((dgv.SelectedRows.Count < 2 ? (ICollection)dgv.Rows : dgv.SelectedRows).Cast<DataGridViewRow>());
|
||||
|
||||
if (column.IsDataBound)
|
||||
{
|
||||
//adding to list because of BindingSource sort by that column
|
||||
var boundItems = new List<object>();
|
||||
var areDataRows = dgvRows.Count < 1 || dgvRows[0].DataBoundItem is DataRowView;
|
||||
if (areDataRows)
|
||||
{
|
||||
foreach (DataGridViewRow row in dgvRows)
|
||||
boundItems.Add(((DataRowView)row.DataBoundItem).Row);
|
||||
foreach (DataRow dr in boundItems)
|
||||
{
|
||||
var val = dr[column.DataPropertyName];
|
||||
if ((val is bool && (bool)val) != checkBox.Checked)
|
||||
dr[column.DataPropertyName] = checkBox.Checked;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataGridViewRow row in dgvRows)
|
||||
boundItems.Add(row.DataBoundItem);
|
||||
foreach (var item in boundItems)
|
||||
{
|
||||
var val = getValue(item);
|
||||
if (val != checkBox.Checked)
|
||||
setValue(item, checkBox.Checked);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataGridViewRow dgr in dgvRows)
|
||||
{
|
||||
var cell = dgr.Cells[column.Name];
|
||||
if ((cell.Value is bool && (bool)cell.Value) != checkBox.Checked)
|
||||
cell.Value = checkBox.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
changedByUser = true;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Add checkbox to datagrid cell
|
||||
dgv.Controls.Add(checkBox);
|
||||
|
||||
Action onColResize = () =>
|
||||
{
|
||||
try
|
||||
{
|
||||
var colCheck = dgv.Columns[column.Name];
|
||||
if (colCheck == null) return;
|
||||
int colLeft = (dgv.RowHeadersVisible ? dgv.RowHeadersWidth : 0) - (colCheck.Frozen ? 0 : dgv.HorizontalScrollingOffset);
|
||||
foreach (DataGridViewColumn col in dgv.Columns)
|
||||
{
|
||||
if (col.DisplayIndex >= colCheck.DisplayIndex) break;
|
||||
if (!col.Visible) continue;
|
||||
colLeft += col.Width;
|
||||
}
|
||||
|
||||
var newPoint = new Point(colLeft + 1, (dgv.ColumnHeadersHeight + 1) / 2 - checkBox.Height / 2 + 1);
|
||||
|
||||
if (align == HorizontalAlignment.Left)
|
||||
newPoint.X += 3;
|
||||
else if (align == HorizontalAlignment.Center)
|
||||
newPoint.X += colCheck.Width / 2 - checkBox.Width / 2;
|
||||
else if (align == HorizontalAlignment.Right)
|
||||
newPoint.X += colCheck.Width - checkBox.Width - 3;
|
||||
|
||||
var minLeft = colLeft + leftBorderOffset;
|
||||
var maxLeft = colLeft + colCheck.Width - checkBox.Width + rightBorderOffset;
|
||||
|
||||
if (newPoint.X < minLeft) newPoint.X = minLeft;
|
||||
if (newPoint.X > maxLeft) newPoint.X = maxLeft;
|
||||
|
||||
checkBox.Location = newPoint;
|
||||
checkBox.Visible = colCheck.Visible;
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
};
|
||||
dgv.ColumnWidthChanged += (s, e) => onColResize();
|
||||
dgv.ColumnHeadersHeightChanged += (s, e) => onColResize();
|
||||
dgv.Scroll += (s, e) => onColResize();
|
||||
dgv.Resize += (s, e) => onColResize();
|
||||
dgv.Sorted += (s, e) => onColResize();
|
||||
dgv.RowHeadersWidthChanged += (s, e) => onColResize();
|
||||
dgv.ColumnStateChanged += (s, e) => onColResize();
|
||||
|
||||
Action<object> onDataChanged = (e) =>
|
||||
{
|
||||
if (!changedByUser) return;
|
||||
if (e is DataColumnChangeEventArgs)
|
||||
{
|
||||
if (!((DataColumnChangeEventArgs)e).Column.ColumnName.Equals(column.Name))
|
||||
return;
|
||||
}
|
||||
else if (e is ListChangedEventArgs)
|
||||
{
|
||||
var prop = ((ListChangedEventArgs)e).PropertyDescriptor;
|
||||
if (prop != null && !prop.Name.Equals(column.DataPropertyName))
|
||||
return;
|
||||
}
|
||||
|
||||
bool allAreTrue = true;
|
||||
foreach (DataGridViewRow row in dgv.SelectedRows.Count < 2 ? (ICollection)dgv.Rows : dgv.SelectedRows)
|
||||
{
|
||||
var val = row.Cells[column.Name].Value;
|
||||
if (!(val is bool) || !(bool)val)
|
||||
{
|
||||
allAreTrue = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
changedByUser = false;
|
||||
var tag = checkBox.Tag;
|
||||
checkBox.Tag = "AUTO";
|
||||
try
|
||||
{
|
||||
if (isSetCheckedChangedEvent)
|
||||
{
|
||||
checkBox.Checked = allAreTrue;
|
||||
}
|
||||
}
|
||||
finally { checkBox.Tag = tag; }
|
||||
}
|
||||
finally
|
||||
{
|
||||
changedByUser = true;
|
||||
}
|
||||
};
|
||||
dgv.CellClick += (s, e) => onDataChanged(e);
|
||||
dgv.CellContentClick += (s, e) => onDataChanged(e);
|
||||
dgv.SelectionChanged += (s, e) => onDataChanged(e);
|
||||
if (dgv.DataSource is BindingSource)
|
||||
((BindingSource)dgv.DataSource).ListChanged += (s, e) => onDataChanged(e);
|
||||
else if (dgv.DataSource is DataSet)
|
||||
((DataSet)dgv.DataSource).Tables[dgv.DataMember].ColumnChanged += (s, e) => onDataChanged(e);
|
||||
else if (dgv.DataSource is DataTable)
|
||||
((DataTable)dgv.DataSource).ColumnChanged += (s, e) => onDataChanged(e);
|
||||
|
||||
onColResize();
|
||||
|
||||
return checkBox;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,402 @@
|
||||
namespace _29WxOrder.FactoryExportForms
|
||||
{
|
||||
partial class FactoryExportForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FactoryExportForm));
|
||||
this.dgvOrder = new _29WxOrder.MyControl.MyDataGridView();
|
||||
this.col_shop_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_shop_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_up_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_c_biz_desc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_sku = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productImgSku = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.col_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_buy_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission_scale = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_id = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_mobile = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_address = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_create_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_promise_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_send_remaining_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_start_buy = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.修改订单状态ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.已完成ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新选中订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.导出订单列表ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(1148, 0);
|
||||
//
|
||||
// dgvOrder
|
||||
//
|
||||
this.dgvOrder.AllowUserToAddRows = false;
|
||||
this.dgvOrder.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
|
||||
this.dgvOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvOrder.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvOrder.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvOrder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvOrder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvOrder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.col_shop_id,
|
||||
this.col_shop_name,
|
||||
this.col_title,
|
||||
this.col_up_product_id,
|
||||
this.col_product_id,
|
||||
this.col_c_biz_desc,
|
||||
this.col_sku,
|
||||
this.productImgSku,
|
||||
this.col_price,
|
||||
this.col_buy_price,
|
||||
this.commission_scale,
|
||||
this.commission,
|
||||
this.col_count,
|
||||
this.col_order_id,
|
||||
this.col_name,
|
||||
this.col_mobile,
|
||||
this.col_address,
|
||||
this.col_create_time,
|
||||
this.col_order_promise_time,
|
||||
this.col_order_send_remaining_time,
|
||||
this.col_order_start_buy,
|
||||
this.col_remark});
|
||||
this.dgvOrder.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.dgvOrder.CustomSortColumns.AddRange(new object[] {
|
||||
"col_shop_id",
|
||||
"col_shop_name",
|
||||
"col_name",
|
||||
"col_mobile",
|
||||
"col_order_id",
|
||||
"col_product_id",
|
||||
"col_create_time"});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvOrder.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvOrder.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvOrder.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.dgvOrder.IsCustomSort = false;
|
||||
this.dgvOrder.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgvOrder.Name = "dgvOrder";
|
||||
this.dgvOrder.ReadOnly = true;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dgvOrder.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvOrder.RowTemplate.Height = 23;
|
||||
this.dgvOrder.ShowCellToolTips = false;
|
||||
this.dgvOrder.Size = new System.Drawing.Size(1180, 587);
|
||||
this.dgvOrder.TabIndex = 1;
|
||||
//
|
||||
// col_shop_id
|
||||
//
|
||||
this.col_shop_id.HeaderText = "店铺编号";
|
||||
this.col_shop_id.Name = "col_shop_id";
|
||||
this.col_shop_id.ReadOnly = true;
|
||||
this.col_shop_id.Width = 80;
|
||||
//
|
||||
// col_shop_name
|
||||
//
|
||||
this.col_shop_name.HeaderText = "店铺名称";
|
||||
this.col_shop_name.Name = "col_shop_name";
|
||||
this.col_shop_name.ReadOnly = true;
|
||||
//
|
||||
// col_title
|
||||
//
|
||||
this.col_title.HeaderText = "商品名称";
|
||||
this.col_title.Name = "col_title";
|
||||
this.col_title.ReadOnly = true;
|
||||
//
|
||||
// col_up_product_id
|
||||
//
|
||||
this.col_up_product_id.HeaderText = "上家ID";
|
||||
this.col_up_product_id.Name = "col_up_product_id";
|
||||
this.col_up_product_id.ReadOnly = true;
|
||||
//
|
||||
// col_product_id
|
||||
//
|
||||
this.col_product_id.HeaderText = "本店ID";
|
||||
this.col_product_id.Name = "col_product_id";
|
||||
this.col_product_id.ReadOnly = true;
|
||||
this.col_product_id.Width = 120;
|
||||
//
|
||||
// col_c_biz_desc
|
||||
//
|
||||
this.col_c_biz_desc.HeaderText = "商品描述";
|
||||
this.col_c_biz_desc.Name = "col_c_biz_desc";
|
||||
this.col_c_biz_desc.ReadOnly = true;
|
||||
this.col_c_biz_desc.Width = 80;
|
||||
//
|
||||
// col_sku
|
||||
//
|
||||
this.col_sku.HeaderText = "规格";
|
||||
this.col_sku.Name = "col_sku";
|
||||
this.col_sku.ReadOnly = true;
|
||||
//
|
||||
// productImgSku
|
||||
//
|
||||
this.productImgSku.HeaderText = "图片";
|
||||
this.productImgSku.Name = "productImgSku";
|
||||
this.productImgSku.ReadOnly = true;
|
||||
this.productImgSku.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.productImgSku.Width = 80;
|
||||
//
|
||||
// col_price
|
||||
//
|
||||
this.col_price.HeaderText = "售价";
|
||||
this.col_price.Name = "col_price";
|
||||
this.col_price.ReadOnly = true;
|
||||
this.col_price.Width = 60;
|
||||
//
|
||||
// col_buy_price
|
||||
//
|
||||
this.col_buy_price.HeaderText = "进价";
|
||||
this.col_buy_price.Name = "col_buy_price";
|
||||
this.col_buy_price.ReadOnly = true;
|
||||
this.col_buy_price.Width = 60;
|
||||
//
|
||||
// commission_scale
|
||||
//
|
||||
this.commission_scale.HeaderText = "佣金率";
|
||||
this.commission_scale.Name = "commission_scale";
|
||||
this.commission_scale.ReadOnly = true;
|
||||
this.commission_scale.Width = 60;
|
||||
//
|
||||
// commission
|
||||
//
|
||||
this.commission.HeaderText = "佣金";
|
||||
this.commission.Name = "commission";
|
||||
this.commission.ReadOnly = true;
|
||||
this.commission.Width = 60;
|
||||
//
|
||||
// col_count
|
||||
//
|
||||
this.col_count.HeaderText = "数量";
|
||||
this.col_count.Name = "col_count";
|
||||
this.col_count.ReadOnly = true;
|
||||
this.col_count.Width = 40;
|
||||
//
|
||||
// col_order_id
|
||||
//
|
||||
this.col_order_id.HeaderText = "订单号";
|
||||
this.col_order_id.Name = "col_order_id";
|
||||
this.col_order_id.ReadOnly = true;
|
||||
this.col_order_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_order_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_order_id.Width = 130;
|
||||
//
|
||||
// col_name
|
||||
//
|
||||
this.col_name.HeaderText = "姓名";
|
||||
this.col_name.Name = "col_name";
|
||||
this.col_name.ReadOnly = true;
|
||||
//
|
||||
// col_mobile
|
||||
//
|
||||
this.col_mobile.HeaderText = "电话";
|
||||
this.col_mobile.Name = "col_mobile";
|
||||
this.col_mobile.ReadOnly = true;
|
||||
//
|
||||
// col_address
|
||||
//
|
||||
this.col_address.HeaderText = "地址";
|
||||
this.col_address.Name = "col_address";
|
||||
this.col_address.ReadOnly = true;
|
||||
//
|
||||
// col_create_time
|
||||
//
|
||||
this.col_create_time.HeaderText = "订单确认时间";
|
||||
this.col_create_time.Name = "col_create_time";
|
||||
this.col_create_time.ReadOnly = true;
|
||||
this.col_create_time.Width = 120;
|
||||
//
|
||||
// col_order_promise_time
|
||||
//
|
||||
this.col_order_promise_time.HeaderText = "延迟发货时间";
|
||||
this.col_order_promise_time.Name = "col_order_promise_time";
|
||||
this.col_order_promise_time.ReadOnly = true;
|
||||
this.col_order_promise_time.Width = 120;
|
||||
//
|
||||
// col_order_send_remaining_time
|
||||
//
|
||||
this.col_order_send_remaining_time.HeaderText = "延迟剩余";
|
||||
this.col_order_send_remaining_time.Name = "col_order_send_remaining_time";
|
||||
this.col_order_send_remaining_time.ReadOnly = true;
|
||||
//
|
||||
// col_order_start_buy
|
||||
//
|
||||
this.col_order_start_buy.HeaderText = "开始拍单";
|
||||
this.col_order_start_buy.Name = "col_order_start_buy";
|
||||
this.col_order_start_buy.ReadOnly = true;
|
||||
this.col_order_start_buy.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_order_start_buy.Width = 80;
|
||||
//
|
||||
// col_remark
|
||||
//
|
||||
this.col_remark.HeaderText = "后台备注";
|
||||
this.col_remark.Name = "col_remark";
|
||||
this.col_remark.ReadOnly = true;
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.BackColor = System.Drawing.Color.White;
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.修改订单状态ToolStripMenuItem,
|
||||
this.更新选中订单ToolStripMenuItem,
|
||||
this.导出订单列表ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(149, 70);
|
||||
//
|
||||
// 修改订单状态ToolStripMenuItem
|
||||
//
|
||||
this.修改订单状态ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.已完成ToolStripMenuItem});
|
||||
this.修改订单状态ToolStripMenuItem.Name = "修改订单状态ToolStripMenuItem";
|
||||
this.修改订单状态ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.修改订单状态ToolStripMenuItem.Text = "修改订单状态";
|
||||
//
|
||||
// 已完成ToolStripMenuItem
|
||||
//
|
||||
this.已完成ToolStripMenuItem.Name = "已完成ToolStripMenuItem";
|
||||
this.已完成ToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
|
||||
this.已完成ToolStripMenuItem.Text = "已完成";
|
||||
this.已完成ToolStripMenuItem.Click += new System.EventHandler(this.已完成ToolStripMenuItem_Click);
|
||||
//
|
||||
// 更新选中订单ToolStripMenuItem
|
||||
//
|
||||
this.更新选中订单ToolStripMenuItem.Name = "更新选中订单ToolStripMenuItem";
|
||||
this.更新选中订单ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.更新选中订单ToolStripMenuItem.Text = "更新选中订单";
|
||||
this.更新选中订单ToolStripMenuItem.Click += new System.EventHandler(this.更新选中订单ToolStripMenuItem_Click);
|
||||
//
|
||||
// 导出订单列表ToolStripMenuItem
|
||||
//
|
||||
this.导出订单列表ToolStripMenuItem.Name = "导出订单列表ToolStripMenuItem";
|
||||
this.导出订单列表ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.导出订单列表ToolStripMenuItem.Text = "导出订单列表";
|
||||
this.导出订单列表ToolStripMenuItem.Click += new System.EventHandler(this.导出订单列表ToolStripMenuItem_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.dgvOrder);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(2, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1180, 587);
|
||||
this.panel1.TabIndex = 4;
|
||||
//
|
||||
// FactoryExportForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1184, 621);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.IsShowMax = true;
|
||||
this.Name = "FactoryExportForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(2, 0, 2, 2);
|
||||
this.Text = "指定商品订单列表";
|
||||
this.TitleText = "指定商品订单列表";
|
||||
this.Load += new System.EventHandler(this.FactoryExportForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvOrder)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private MyControl.MyDataGridView dgvOrder;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_title;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_up_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_c_biz_desc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_sku;
|
||||
private System.Windows.Forms.DataGridViewImageColumn productImgSku;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_buy_price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission_scale;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_count;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_mobile;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_address;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_create_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_promise_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_send_remaining_time;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_start_buy;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_remark;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新选中订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 导出订单列表ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 修改订单状态ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 已完成ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,490 @@
|
||||
using AllBase;
|
||||
using AllBase.DouYinModel.Result;
|
||||
using AllBase.Model.Result;
|
||||
using _29WxOrder.OrderForms;
|
||||
using Newtonsoft.Json;
|
||||
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.Api;
|
||||
using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.FactoryExportForms
|
||||
{
|
||||
public partial class FactoryExportForm : BaseForm
|
||||
{
|
||||
public List<string> productIdList = new List<string>();
|
||||
List<DouYinOrderModel> lstDouYinOrder = new List<DouYinOrderModel>();
|
||||
public FactoryExportForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void FactoryExportForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
ReadServerOrder();
|
||||
});
|
||||
}
|
||||
|
||||
void ReadServerOrder()
|
||||
{
|
||||
lstDouYinOrder = new List<DouYinOrderModel>();
|
||||
foreach (var prodId in productIdList)
|
||||
{
|
||||
int totalCount = 0, currentCount = 0, page = 1, pageSize = 100, readPages = 1000;
|
||||
|
||||
reads:
|
||||
List<DouYinOrderModel> lstDouYinOrderTemp = new List<DouYinOrderModel>();
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=get");
|
||||
string data = "&order_status_buy=1&page=" + (page - 1) + "&pageSize=" + pageSize;
|
||||
// 按时间升序排列
|
||||
data += "&order_by=create_time";
|
||||
// 按时间升序排列
|
||||
data += "&order_by_asc=asc";
|
||||
// 商品id作为搜索条件
|
||||
data += "&search=" + prodId;
|
||||
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex("", "") + data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"data\""))
|
||||
{
|
||||
html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex("", "") + data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"data\""))
|
||||
return;
|
||||
}
|
||||
var jObject = JObject.Parse(html);
|
||||
string code = jObject["code"].ToString();
|
||||
if (code != "0" && code != "200")
|
||||
{
|
||||
return;
|
||||
}
|
||||
var jArr = jObject["data"]["list"];
|
||||
totalCount = Convert.ToInt32(jObject["data"]["count"]);
|
||||
foreach (JObject jObj in jArr)
|
||||
{
|
||||
try
|
||||
{
|
||||
string orderStr = jObj.ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(orderStr.Replace("\r\n", ""));
|
||||
lstDouYinOrderTemp.Add(douYinOrderModel);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
lstDouYinOrder.AddRange(lstDouYinOrderTemp);
|
||||
ShowDouYinOrderInDgv(lstDouYinOrderTemp);
|
||||
currentCount += lstDouYinOrderTemp.Count;
|
||||
|
||||
readPages--;
|
||||
if (readPages > 0 && currentCount < totalCount)
|
||||
{
|
||||
page++;
|
||||
goto reads;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void ShowDouYinOrderInDgv(List<DouYinOrderModel> orderModels)
|
||||
{
|
||||
var tasklst = new List<Task>();
|
||||
Dictionary<DataGridViewRow, string> dic = new Dictionary<DataGridViewRow, string>();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
for (int i = 0; i < orderModels.Count; i++)
|
||||
{
|
||||
var douYinOrderModel = orderModels[i];
|
||||
|
||||
TimeSpan ts1 = new TimeSpan(Convert.ToDateTime(douYinOrderModel.create_time == "2000-00-00 00:00:00" ? DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") : douYinOrderModel.create_time).Ticks);
|
||||
TimeSpan ts2 = new TimeSpan(DateTime.Now.AddHours(-48).Ticks);
|
||||
TimeSpan ts = ts1.Subtract(ts2).Duration();
|
||||
|
||||
DataGridViewRow r = new DataGridViewRow();
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.shop_id, }); /*"店铺编号"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.shop_name, }); /*"店铺名称"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.title, });
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = string.IsNullOrEmpty(douYinOrderModel.default_up_ids) ? douYinOrderModel.up_product_id : douYinOrderModel.default_up_ids, }); /*"上家ID"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.product_id, }); /*"本店ID"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.c_biz_desc, }); /*"描述"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.sku, }); /*"规格"*/
|
||||
r.Cells.Add(new DataGridViewImageCell() { Value = BuyOrderListForm.skuImgDefault, }); /*"图片"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.price, }); /*"售价"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.buy_price, }); /*"进价"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = string.IsNullOrEmpty(douYinOrderModel.commission_scale) ? "0.00" : douYinOrderModel.commission_scale, }); /*"佣金比例"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = string.IsNullOrEmpty(douYinOrderModel.commission) ? "0.00" : douYinOrderModel.commission, }); /*"佣金"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.count, }); /*"数量"*/
|
||||
r.Cells.Add(new DataGridViewLinkCell() { Value = douYinOrderModel.order_id, }); /*"买家订单号"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.name, }); /*"买家姓名"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.mobile, }); /*"买家电话"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.address, }); /*"买家地址"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = (douYinOrderModel.create_time == "2000-00-00 00:00:00" ? "2021-01-01 01:01:01" : douYinOrderModel.create_time), }); /*"订单确认时间"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = Convert.ToDateTime(douYinOrderModel.create_time == "2000-00-00 00:00:00" ? DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") : douYinOrderModel.create_time).AddHours(48).ToString("yyyy-MM-dd HH:mm:ss"), }); /*"延迟发货时间"*/
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = (ts2 > ts1 ? "超 " : "") + ts.Days.ToString("D2") + "天" + ts.Hours.ToString("D2") + "时" + ts.Minutes.ToString("D2") + "分", }); /*"延迟剩余"*/
|
||||
r.Cells.Add(new DataGridViewLinkCell() { Value = "开始拍单", });
|
||||
r.Cells.Add(new DataGridViewTextBoxCell() { Value = douYinOrderModel.remark, });
|
||||
dgvOrder.Rows.Add(r);
|
||||
|
||||
dic.Add(r, douYinOrderModel.sku_img);
|
||||
}
|
||||
dgvOrder.ClearSelection();
|
||||
}));
|
||||
|
||||
foreach (var r in dic.Keys)
|
||||
{
|
||||
var t = Task.Run(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
Bitmap skuImg = BuyOrderListForm.GetSkuImage(dic[r]);
|
||||
if (dgvOrder.Rows.Contains(r))
|
||||
r.Cells["productImgSku"].Value = skuImg;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
});
|
||||
tasklst.Add(t);
|
||||
if (tasklst.Count >= 100)
|
||||
{
|
||||
Task.WaitAll(tasklst.ToArray());
|
||||
tasklst = new List<Task>();
|
||||
}
|
||||
}
|
||||
Task.WaitAll(tasklst.ToArray());
|
||||
}
|
||||
|
||||
private void 更新选中订单ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!isUpadateOrderRun)
|
||||
{
|
||||
new Thread(UpdateOrderDetail).Start();
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseMsgForm.ShowInfo("订单更新中,请等待当前更新任务完成。", "提示");
|
||||
}
|
||||
}
|
||||
|
||||
private void 导出订单列表ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
outexcel();
|
||||
}
|
||||
|
||||
bool isUpadateOrderRun = false;
|
||||
void UpdateOrderDetail()
|
||||
{
|
||||
List<string> orderIds = new List<string>();
|
||||
var rows = this.dgvOrder.SelectedCells.Cast<DataGridViewCell>().Select(c => c.OwningRow).Distinct().ToList();
|
||||
Thread.Sleep(1000);
|
||||
foreach (DataGridViewRow dgvrows in rows)
|
||||
{
|
||||
orderIds.Add(dgvrows.Cells["col_order_id"].Value.ToString());
|
||||
}
|
||||
isUpadateOrderRun = true;
|
||||
try
|
||||
{
|
||||
foreach (string orderId in orderIds)
|
||||
{
|
||||
#region 更新订单
|
||||
UpdateOrderStatusAndEncrypt(orderId);
|
||||
if (orderIds.Count > 1)
|
||||
Thread.Sleep(Randomx.GetId(500, 1500));
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
isUpadateOrderRun = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新订单状态和解密
|
||||
/// </summary>
|
||||
/// <param name="orderId"></param>
|
||||
public void UpdateOrderStatusAndEncrypt(string orderId)
|
||||
{
|
||||
DouYinOrderModel douYinOrderModel = this.lstDouYinOrder.Find(x => x.order_id == orderId);
|
||||
DouShopLoginInfo shop = CollectionClass.DouShopLoginList.Find(x => x.ShopId == douYinOrderModel.shop_id.ToString());
|
||||
if (douYinOrderModel != null && shop != null)
|
||||
{
|
||||
DouyinApi dyapi = new DouyinApi(shop);
|
||||
Dictionary<string, string> dic = new Dictionary<string, string>() { };
|
||||
dic.Add("shop_order_id", douYinOrderModel.order_id);
|
||||
dyapi.JsonData = dic;
|
||||
string htmljm = dyapi.GetOrderDetail();
|
||||
string code = JObject.Parse(htmljm)["code"].ToString();
|
||||
if (code == "10000")
|
||||
{
|
||||
//3 已发货(全部发货)
|
||||
//2 备货中(待发货)
|
||||
string order_status = JObject.Parse(htmljm)["data"]["shop_order_detail"]["order_status"].ToString();
|
||||
if (order_status != "2") // 抖店订单状态不是备货中(2),则修改服务端状态为已完成(0)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&order_status_buy=0");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
CollectionClass.orderDataList.Remove(douYinOrderModel);
|
||||
this.lstDouYinOrder.Remove(douYinOrderModel);
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
var updateOrderType = UpdateOrderType.UpdateAll;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (douYinOrderModel.name.Contains("解密失败") || douYinOrderModel.name.Contains("#1##") || douYinOrderModel.name == "******" ||
|
||||
douYinOrderModel.mobile.Contains("解密失败") || douYinOrderModel.mobile.Contains("$1$$") || douYinOrderModel.mobile == "******" ||
|
||||
douYinOrderModel.address.Contains("解密失败") || douYinOrderModel.address.Contains("#1##") || douYinOrderModel.address == "******")
|
||||
{
|
||||
#region 解密
|
||||
string name_encrypt = JObject.Parse(htmljm)["data"]["shop_order_detail"]["encrypt_post_receiver"].ToString();
|
||||
string mobile_encrypt = JObject.Parse(htmljm)["data"]["shop_order_detail"]["encrypt_post_tel"].ToString();
|
||||
string address_encrypt = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["encrypt_detail"].ToString();
|
||||
dic = new Dictionary<string, string>() { };
|
||||
string cipher_infos = "[";
|
||||
if ((updateOrderType == UpdateOrderType.UpdateAll || updateOrderType == UpdateOrderType.UpdateName) &&
|
||||
(douYinOrderModel.name.Contains("解密失败") || douYinOrderModel.name.Contains("#1##") || douYinOrderModel.name == "******"))
|
||||
cipher_infos += "{\"auth_id\":\"" + douYinOrderModel.main_order_id + "\",\"cipher_text\":\"" + name_encrypt + "\"},";
|
||||
if ((updateOrderType == UpdateOrderType.UpdateAll || updateOrderType == UpdateOrderType.UpdateMobile) &&
|
||||
(douYinOrderModel.mobile.Contains("解密失败") || douYinOrderModel.mobile.Contains("$1$$") || douYinOrderModel.mobile == "******"))
|
||||
cipher_infos += "{\"auth_id\":\"" + douYinOrderModel.main_order_id + "\",\"cipher_text\":\"" + mobile_encrypt + "\"},";
|
||||
if ((updateOrderType == UpdateOrderType.UpdateAll || updateOrderType == UpdateOrderType.UpdateAddress) &&
|
||||
(douYinOrderModel.address.Contains("解密失败") || douYinOrderModel.address.Contains("#1##") || douYinOrderModel.address == "******"))
|
||||
cipher_infos += "{\"auth_id\":\"" + douYinOrderModel.main_order_id + "\",\"cipher_text\":\"" + address_encrypt + "\"}";
|
||||
cipher_infos = cipher_infos.TrimEnd(',') + "]";
|
||||
dic.Add("cipher_infos", cipher_infos);
|
||||
string expname = douYinOrderModel.name, expmobile = douYinOrderModel.mobile, expaddress = douYinOrderModel.address;
|
||||
if (shop != null)
|
||||
{
|
||||
DouyinApi apix = new DouyinApi(shop);
|
||||
apix.JsonData = dic;
|
||||
string htmljm_h = apix.GetOrderBatchDecrypt();
|
||||
string codejm = JObject.Parse(htmljm_h)["code"].ToString();
|
||||
if (codejm == "10000")
|
||||
{
|
||||
var jArrJM = JObject.Parse(htmljm_h)["data"]["decrypt_infos"];
|
||||
foreach (var itemjm in jArrJM)
|
||||
{
|
||||
string cipher_text = JObject.Parse(itemjm.ToString())["cipher_text"].ToString();
|
||||
if (cipher_text == name_encrypt)
|
||||
{
|
||||
expname = JObject.Parse(itemjm.ToString())["decrypt_text"].ToString();
|
||||
}
|
||||
else if (cipher_text == mobile_encrypt)
|
||||
{
|
||||
expmobile = JObject.Parse(itemjm.ToString())["decrypt_text"].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
//省
|
||||
string province = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["province"]["name"].ToString();
|
||||
//市
|
||||
string city = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["city"]["name"].ToString();
|
||||
//区
|
||||
string town = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["town"]["name"].ToString();
|
||||
//街道
|
||||
string street = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["street"]["name"].ToString();
|
||||
expaddress = province + city + town + street + JObject.Parse(itemjm.ToString())["decrypt_text"].ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
douYinOrderModel.name = expname;
|
||||
douYinOrderModel.mobile = expmobile;
|
||||
douYinOrderModel.address = expaddress;
|
||||
#endregion
|
||||
sb.Append("&name=" + GetHtml.UrlEncodeUtf8(expname));
|
||||
sb.Append("&mobile=" + GetHtml.UrlEncodeUtf8(expmobile));
|
||||
sb.Append("&address=" + GetHtml.UrlEncodeUtf8(expaddress));
|
||||
}
|
||||
douYinOrderModel.remark = JObject.Parse(htmljm)["data"]["shop_order_detail"]["seller_words"].ToString();
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string htmjg = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
douYinOrderModel.remark = JObject.Parse(htmljm)["data"]["shop_order_detail"]["seller_words"].ToString();
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新列订单显示
|
||||
/// </summary>
|
||||
/// <param name="order"></param>
|
||||
/// <param name="type">1 添加 修改 2删除 3更新佣金</param>
|
||||
public void SetOrderEditShowInDgvRows(DouYinOrderModel douYinOrderModel, int type)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (douYinOrderModel != null)
|
||||
{
|
||||
if (douYinOrderModel.order_status_buy != 1)
|
||||
{
|
||||
MainForm.instance.chaqi(douYinOrderModel.order_id, 3, douYinOrderModel.shop_id.ToString());
|
||||
}
|
||||
}
|
||||
IEnumerable<DataGridViewRow> enumerableList = this.dgvOrder.Rows.Cast<DataGridViewRow>();
|
||||
List<DataGridViewRow> list = (from item in enumerableList where item.Cells["col_order_id"].Value.ToString() == douYinOrderModel.order_id select item).ToList();
|
||||
if (type == 1)
|
||||
{
|
||||
Bitmap skuImg = BuyOrderListForm.GetSkuImage(douYinOrderModel.sku_img);
|
||||
TimeSpan ts1;
|
||||
if (douYinOrderModel.create_time.Contains("-"))
|
||||
{
|
||||
ts1 = new TimeSpan(Convert.ToDateTime(douYinOrderModel.create_time).Ticks);
|
||||
}
|
||||
else
|
||||
{
|
||||
ts1 = new TimeSpan(Convert.ToDateTime(BaseClass.StampToDateTimex(long.Parse(douYinOrderModel.create_time))).Ticks);
|
||||
}
|
||||
|
||||
TimeSpan ts2 = new TimeSpan(DateTime.Now.AddHours(-48).Ticks);
|
||||
TimeSpan ts = ts1.Subtract(ts2).Duration();
|
||||
if (list.Count > 0)
|
||||
{
|
||||
var item = dgvOrder.Rows[list[0].Index];
|
||||
item.Cells["col_name"].Value = douYinOrderModel.name;
|
||||
item.Cells["col_mobile"].Value = douYinOrderModel.mobile;
|
||||
item.Cells["col_address"].Value = douYinOrderModel.address;
|
||||
item.Cells["col_remark"].Value = douYinOrderModel.remark;
|
||||
}
|
||||
else
|
||||
{
|
||||
dgvOrder.Rows.Add(
|
||||
/*"店铺编号"*/douYinOrderModel.shop_id,
|
||||
/*"店铺名称"*/douYinOrderModel.shop_name,
|
||||
douYinOrderModel.title,
|
||||
/*"上家ID"*/string.IsNullOrEmpty(douYinOrderModel.default_up_ids) ? douYinOrderModel.up_product_id : douYinOrderModel.default_up_ids,
|
||||
/*"本店ID"*/douYinOrderModel.product_id,
|
||||
/*"描述"*/douYinOrderModel.c_biz_desc,
|
||||
/*"规格"*/douYinOrderModel.sku,
|
||||
/*"图片"*/ skuImg,
|
||||
/*"售价"*/ douYinOrderModel.price,
|
||||
/*"进价"*/douYinOrderModel.buy_price,
|
||||
/*"佣金比例"*/ string.IsNullOrEmpty(douYinOrderModel.commission_scale) ? "0.00" : douYinOrderModel.commission_scale,
|
||||
/*"佣金"*/ string.IsNullOrEmpty(douYinOrderModel.commission) ? "0.00" : douYinOrderModel.commission,
|
||||
/*"数量"*/douYinOrderModel.count,
|
||||
/*"买家订单号"*/douYinOrderModel.order_id,
|
||||
/*"买家姓名"*/douYinOrderModel.name,
|
||||
/*"买家电话"*/douYinOrderModel.mobile,
|
||||
/*"买家地址"*/douYinOrderModel.address,
|
||||
/*"订单确认时间"*/douYinOrderModel.create_time,
|
||||
/*"延迟发货时间"*/Convert.ToDateTime(douYinOrderModel.create_time).AddHours(48).ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
/*"延迟剩余"*/ts.Days.ToString() + "天" + ts.Hours.ToString() + "小时" + ts.Minutes.ToString() + "分钟",
|
||||
"开始拍单",
|
||||
douYinOrderModel.remark);
|
||||
}
|
||||
}
|
||||
else if (type == 2)
|
||||
{
|
||||
if (list.Count > 0)
|
||||
{
|
||||
this.dgvOrder.Rows.RemoveAt(list[0].Index);
|
||||
}
|
||||
|
||||
}
|
||||
else if (type == 3)
|
||||
{
|
||||
if (list.Count > 0)
|
||||
{
|
||||
var item = list[0];
|
||||
item.Cells["commission"].Value = douYinOrderModel.commission;
|
||||
item.Cells["commission_scale"].Value = douYinOrderModel.commission_scale;
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
public void outexcel()
|
||||
{
|
||||
string idsStr = "";
|
||||
foreach (var id in productIdList)
|
||||
{
|
||||
idsStr += id + "_";
|
||||
}
|
||||
OutExcel.ExportToExcel(OutExcel.ToDataTable(dgvOrder), idsStr);
|
||||
}
|
||||
|
||||
private void 已完成ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
List<string> orderIds = new List<string>();
|
||||
var rows = this.dgvOrder.SelectedCells.Cast<DataGridViewCell>().Select(c => c.OwningRow).Distinct().ToList();
|
||||
|
||||
foreach (DataGridViewRow dgvrows in rows)
|
||||
{
|
||||
orderIds.Add(dgvrows.Cells["col_order_id"].Value.ToString());
|
||||
}
|
||||
|
||||
foreach (var buyOrderId in orderIds)
|
||||
{
|
||||
if (buyOrderId == "0")
|
||||
return;
|
||||
|
||||
this.updateStatus(buyOrderId, 0);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void updateStatus(string order_id, int status)
|
||||
{
|
||||
if (status != 1)
|
||||
{
|
||||
DouYinOrderModel orderDetail = CollectionClass.orderDataList.Find(x => x.order_id == order_id);
|
||||
if (orderDetail != null && string.IsNullOrEmpty(orderDetail.remark))
|
||||
{
|
||||
MainForm.instance.chaqi(order_id, 3, orderDetail.shop_id.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + order_id);
|
||||
sb.Append("&order_status_buy=" + status);
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
DouYinOrderModel douYinOrderModel = this.lstDouYinOrder.FirstOrDefault(x => x.order_id == order_id);
|
||||
if (douYinOrderModel != null)
|
||||
{
|
||||
if (!CollectionClass.successOrderDataList.Any(d => d.order_id == douYinOrderModel.order_id))
|
||||
CollectionClass.successOrderDataList.Add(douYinOrderModel);
|
||||
MainForm.instance.successOrderListForm.SetOrderEditShowInDgvRows(douYinOrderModel, 1);
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.lstDouYinOrder.RemoveAll(x => x.order_id == order_id);
|
||||
DataGridViewRow r = dgvOrder.Rows.Cast<DataGridViewRow>().FirstOrDefault(item => item.Cells["col_order_id"].Value.ToString() == order_id);
|
||||
if (r != null)
|
||||
this.dgvOrder.Rows.Remove(r);
|
||||
|
||||
CollectionClass.orderDataList.RemoveAll(x => x.order_id == order_id);
|
||||
DataGridViewRow r1 = MainForm.instance.buyOrderListForm.DgvOrderList.Rows.Cast<DataGridViewRow>()
|
||||
.FirstOrDefault(item => item.Cells["col_order_id"].Value.ToString() == order_id);
|
||||
if (r1 != null)
|
||||
MainForm.instance.buyOrderListForm.DgvOrderList.Rows.Remove(r);
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,364 @@
|
||||
<?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="col_shop_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_shop_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_product_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_c_biz_desc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_sku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productImgSku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_buy_price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="commission_scale.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="commission.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_mobile.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_address.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_create_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_promise_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_send_remaining_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_start_buy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>20, 11</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>
|
||||
AAABAAEAgIAQcgAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
@@ -0,0 +1,76 @@
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace _29WxOrder.Helper
|
||||
{
|
||||
public class CEFHelper
|
||||
{
|
||||
// 鼠标左键按下,移动,移动...左键抬起。
|
||||
public static void CefMouseDrag(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 += (25 + 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.Specialized;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Diagnostics;
|
||||
using CefSharp;
|
||||
using NaiBa.Util;
|
||||
using NaiBa.Util.Extension;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using CefSharp.Handler;
|
||||
using CefSharp.ResponseFilter;
|
||||
using System.Collections.Concurrent;
|
||||
using NaiBa.Util.Helper;
|
||||
|
||||
namespace _29WxOrder.Helper
|
||||
{
|
||||
public class BaseResourceRequestHandler : ResourceRequestHandler
|
||||
{
|
||||
public string UserAgent = string.Empty;
|
||||
public Func<object, string, string, bool> BeforeResourceLoadEvent; // sender, requestUrl, postData, true(表示取消执行)
|
||||
public Action<object, string, string, string> ResourceLoadCompleteEvent; // sender, requestUrl, postData, responseData
|
||||
public Action<object, string, string, string> ResourceRedirectEvent; // sender, requestUrl, postData, redirectUrl
|
||||
public string[] ResourceContentTypeRegister = new string[] { "application/json", "javascript", "application/x-www-form-urlencoded", "text/html", "text/plain" };
|
||||
|
||||
public string GetCharSet(string charSet)
|
||||
{
|
||||
if (string.IsNullOrEmpty(charSet))
|
||||
{
|
||||
charSet = "UTF-8";
|
||||
}
|
||||
return charSet;
|
||||
}
|
||||
|
||||
public string GetPostData(IRequest request)
|
||||
{
|
||||
string postData = string.Empty;
|
||||
if (request.PostData != null && request.PostData.Elements.Any())
|
||||
{
|
||||
for (int i = 0; i < request.PostData.Elements.Count; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
string charset = GetCharSet(request.GetCharSet());
|
||||
try
|
||||
{
|
||||
if (request.PostData.Elements[i].Type != PostDataElementType.Empty)
|
||||
postData += request.PostData.Elements[i].GetBody(charset);
|
||||
}
|
||||
catch (Exception ex) { }
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteWithTime(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
return postData;
|
||||
}
|
||||
}
|
||||
|
||||
public class CustomResourceRequestHandler : BaseResourceRequestHandler
|
||||
{
|
||||
private ConcurrentDictionary<ulong, MemoryStream> responseDict = new ConcurrentDictionary<ulong, MemoryStream>();
|
||||
|
||||
protected override CefReturnValue OnBeforeResourceLoad(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, IRequestCallback callback)
|
||||
{
|
||||
Uri url;
|
||||
if (Uri.TryCreate(request.Url, UriKind.Absolute, out url) == false)
|
||||
{
|
||||
//If we're unable to parse the Uri then cancel the request
|
||||
// avoid throwing any exceptions here as we're being called by unmanaged code
|
||||
return CefReturnValue.Cancel;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(UserAgent))
|
||||
{
|
||||
var headers = request.Headers;
|
||||
headers["User-Agent"] = UserAgent;
|
||||
request.Headers = headers;
|
||||
}
|
||||
|
||||
//NOTE: If you do not wish to implement this method returning false is the default behaviour
|
||||
// We also suggest you explicitly Dispose of the callback as it wraps an unmanaged resource.
|
||||
//callback.Dispose();
|
||||
//return false;
|
||||
|
||||
//NOTE: When executing the callback in an async fashion need to check to see if it's disposed
|
||||
if (!callback.IsDisposed)
|
||||
{
|
||||
using (callback)
|
||||
{
|
||||
if (request.Method == "POST")
|
||||
{
|
||||
try
|
||||
{
|
||||
string postData = GetPostData(request);
|
||||
bool? result = BeforeResourceLoadEvent?.Invoke(chromiumWebBrowser, request.Url, postData);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteWithTime(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return CefReturnValue.Continue;
|
||||
}
|
||||
|
||||
protected override void OnResourceRedirect(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, IResponse response, ref string newUrl)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (ResourceRedirectEvent != null)
|
||||
{
|
||||
string postData = GetPostData(request);
|
||||
ResourceRedirectEvent.Invoke(chromiumWebBrowser, request.Url, postData, newUrl);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteWithTime(ex);
|
||||
}
|
||||
}
|
||||
|
||||
protected override bool OnProtocolExecution(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request)
|
||||
{
|
||||
return request.Url.StartsWith("mailto");
|
||||
}
|
||||
|
||||
protected override bool OnResourceResponse(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, IResponse response)
|
||||
{
|
||||
//NOTE: You cannot modify the response, only the request
|
||||
// You can now access the headers
|
||||
//var headers = response.Headers;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
protected override IResponseFilter GetResourceResponseFilter(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, IResponse response)
|
||||
{
|
||||
try
|
||||
{
|
||||
string contentType = response.Headers["Content-Type"];
|
||||
if (string.IsNullOrEmpty(contentType))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if (ResourceContentTypeRegister.Contains(contentType) || ResourceContentTypeRegister.Where(p => contentType.Contains(p)).Any())
|
||||
{
|
||||
if (ResourceLoadCompleteEvent != null)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
responseDict.TryAdd(request.Identifier, memoryStream);
|
||||
return new StreamResponseFilter(memoryStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteWithTime(ex);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
protected override void OnResourceLoadComplete(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, IResponse response, UrlRequestStatus status, long receivedContentLength)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (responseDict.ContainsKey(request.Identifier))
|
||||
{
|
||||
MemoryStream memoryStream = null;
|
||||
responseDict.TryRemove(request.Identifier, out memoryStream);
|
||||
|
||||
if (memoryStream != null)
|
||||
{
|
||||
byte[] data = memoryStream.ToArray();
|
||||
|
||||
string charset = GetCharSet(response.Charset);
|
||||
var responseData = Encoding.GetEncoding(charset).GetString(data);
|
||||
|
||||
string postData = GetPostData(request);
|
||||
ResourceLoadCompleteEvent.Invoke(chromiumWebBrowser, request.Url, postData, responseData);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteWithTime(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace _29WxOrder.Helper
|
||||
{
|
||||
public enum PopWindowType
|
||||
{
|
||||
NewWindow,
|
||||
SelfWindow,
|
||||
NewTitleWindow,
|
||||
}
|
||||
public class PopData
|
||||
{
|
||||
public string Url { get; set; }
|
||||
}
|
||||
public class LifeSpanHandlerLocal : ILifeSpanHandler
|
||||
{
|
||||
private PopWindowType popWindowType = PopWindowType.NewWindow;
|
||||
public event EventHandler<PopData> OnPop;
|
||||
public ChromiumWebBrowser parent;
|
||||
public LifeSpanHandlerLocal()
|
||||
{
|
||||
}
|
||||
|
||||
public LifeSpanHandlerLocal(PopWindowType _popWindowType)
|
||||
{
|
||||
popWindowType = _popWindowType;
|
||||
}
|
||||
|
||||
public bool DoClose(IWebBrowser browserControl, IBrowser browser)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public void OnAfterCreated(IWebBrowser chromiumWebBrowser, IBrowser browser)
|
||||
{
|
||||
if (!browser.IsDisposed && browser.IsPopup)
|
||||
{
|
||||
//GlobalFormConfig.MainFormInstance.InvokeOnUiThreadIfRequired(() =>
|
||||
//{
|
||||
// // 修改窗体左上角的图标
|
||||
// IntPtr handle = browser.GetHost().GetWindowHandle();
|
||||
// PInvokeHelper.SendMessage(handle, 0x80, IntPtr.Zero, NaiBaGlobalConfig.SoftwareConfig.LogoIcon.Handle);
|
||||
//});
|
||||
}
|
||||
}
|
||||
|
||||
public void OnBeforeClose(IWebBrowser browserControl, IBrowser browser)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool OnBeforePopup(IWebBrowser browserControl, IBrowser browser, IFrame frame, string targetUrl, string targetFrameName, WindowOpenDisposition targetDisposition, bool userGesture, IPopupFeatures popupFeatures, IWindowInfo windowInfo, IBrowserSettings browserSettings, ref bool noJavascriptAccess, out IWebBrowser newBrowser)
|
||||
{
|
||||
if (popWindowType == PopWindowType.NewWindow)
|
||||
{
|
||||
newBrowser = null;
|
||||
return false;
|
||||
}
|
||||
else if (popWindowType == PopWindowType.NewTitleWindow)
|
||||
{
|
||||
PopData p = new PopData() { Url = targetUrl };
|
||||
if (OnPop != null)
|
||||
OnPop(this, p);
|
||||
newBrowser = null;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// 不打开新的 tab
|
||||
browser.MainFrame.LoadUrl(targetUrl);
|
||||
newBrowser = null;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using AllBase;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
public class JsEvent
|
||||
{
|
||||
public Object MyParam { get; set; }
|
||||
|
||||
public Object GetMyParam()
|
||||
{
|
||||
if (MyParam.GetType().IsArray)
|
||||
{
|
||||
String s = "[";
|
||||
Object[] o = (Object[])MyParam;
|
||||
for (int i = 0; i < o.Length; i++)
|
||||
{
|
||||
s += "'" + o[i].ToString() + "'";
|
||||
if (i < (o.Length - 1))
|
||||
{
|
||||
s += ",";
|
||||
}
|
||||
}
|
||||
s += "]";
|
||||
return s;
|
||||
}
|
||||
return MyParam;
|
||||
}
|
||||
|
||||
public void openMyPc(String dir)
|
||||
{
|
||||
if (string.IsNullOrEmpty(dir) || dir.Length < 2 || !dir.Contains(","))
|
||||
return;
|
||||
string act = dir.Substring(0, 1);
|
||||
string value = dir.Substring(2);
|
||||
|
||||
if (act == "1")
|
||||
{
|
||||
BaseClass.ChromeUserAgent = value;
|
||||
return;
|
||||
}
|
||||
if (act == "2")
|
||||
{
|
||||
string html = value;
|
||||
string shopName = BaseRegex.GetMatchRegexString(ref html, @"<span class=""pdd-top-nav-nick"">([^<]+?)</span>");
|
||||
if (string.IsNullOrEmpty(shopName))
|
||||
return;
|
||||
return;
|
||||
}
|
||||
if (act == "3")
|
||||
{
|
||||
BaseClass.ChromeChatHtml = value;
|
||||
return;
|
||||
}
|
||||
if (act == "4")//获取用户信息
|
||||
{
|
||||
if (BaseClass.MainCatId > 0)
|
||||
return;
|
||||
string url = "http://mms.pinduoduo.com/userinfo";
|
||||
string refere = "http://mms.pinduoduo.com/Pdd.html";
|
||||
|
||||
return;
|
||||
}
|
||||
//====淘宝登录=====
|
||||
if (act == "5")
|
||||
{
|
||||
string html = value;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static string ChatHtml = "";
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+312
@@ -0,0 +1,312 @@
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
partial class LoginForm
|
||||
{
|
||||
/// <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(LoginForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.pnlShowRemember = new DevComponents.DotNetBar.PanelEx();
|
||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtmobile = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.txtpassword = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.checkBoxAutoLogin = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.remember = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.loginPanel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblContactSupport = new System.Windows.Forms.LinkLabel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.panelEx1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(321, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.lblContactSupport);
|
||||
this.panel1.Controls.Add(this.pictureBox1);
|
||||
this.panel1.Controls.Add(this.pnlShowRemember);
|
||||
this.panel1.Controls.Add(this.linkLabel2);
|
||||
this.panel1.Controls.Add(this.linkLabel1);
|
||||
this.panel1.Controls.Add(this.panelEx1);
|
||||
this.panel1.Controls.Add(this.txtmobile);
|
||||
this.panel1.Controls.Add(this.txtpassword);
|
||||
this.panel1.Controls.Add(this.checkBoxAutoLogin);
|
||||
this.panel1.Controls.Add(this.remember);
|
||||
this.panel1.Controls.Add(this.loginPanel);
|
||||
this.panel1.Location = new System.Drawing.Point(3, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(347, 227);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = global::_29WxOrder.Properties.Resources.icon;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(25, 87);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(66, 64);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox1.TabIndex = 45;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// pnlShowRemember
|
||||
//
|
||||
this.pnlShowRemember.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlShowRemember.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlShowRemember.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlShowRemember.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlShowRemember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.pnlShowRemember.Location = new System.Drawing.Point(246, 97);
|
||||
this.pnlShowRemember.Name = "pnlShowRemember";
|
||||
this.pnlShowRemember.Size = new System.Drawing.Size(16, 16);
|
||||
this.pnlShowRemember.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlShowRemember.Style.BackColor1.Color = System.Drawing.Color.Transparent;
|
||||
this.pnlShowRemember.Style.BackColor2.Color = System.Drawing.Color.Transparent;
|
||||
this.pnlShowRemember.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pnlShowRemember.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlShowRemember.Style.GradientAngle = 90;
|
||||
this.pnlShowRemember.TabIndex = 90;
|
||||
this.pnlShowRemember.Text = "▼";
|
||||
this.pnlShowRemember.Visible = false;
|
||||
this.pnlShowRemember.Click += new System.EventHandler(this.pnlShowRemember_Click);
|
||||
//
|
||||
// linkLabel2
|
||||
//
|
||||
this.linkLabel2.AutoSize = true;
|
||||
this.linkLabel2.Location = new System.Drawing.Point(268, 132);
|
||||
this.linkLabel2.Name = "linkLabel2";
|
||||
this.linkLabel2.Size = new System.Drawing.Size(53, 12);
|
||||
this.linkLabel2.TabIndex = 77;
|
||||
this.linkLabel2.TabStop = true;
|
||||
this.linkLabel2.Text = "找回密码";
|
||||
this.linkLabel2.Visible = false;
|
||||
//
|
||||
// linkLabel1
|
||||
//
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(268, 98);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(53, 12);
|
||||
this.linkLabel1.TabIndex = 76;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "注册用户";
|
||||
this.linkLabel1.Visible = false;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx1.Controls.Add(this.label3);
|
||||
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelEx1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(350, 70);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelEx1.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.TabIndex = 66;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.label3.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Bold);
|
||||
this.label3.ForeColor = System.Drawing.Color.White;
|
||||
this.label3.Location = new System.Drawing.Point(19, 13);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(313, 47);
|
||||
this.label3.TabIndex = 44;
|
||||
this.label3.Text = "小奶兔";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// txtmobile
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtmobile.Border.BackColor = System.Drawing.Color.Transparent;
|
||||
this.txtmobile.Border.BackColor2 = System.Drawing.Color.Transparent;
|
||||
this.txtmobile.Border.BackColorGradientType = DevComponents.DotNetBar.eGradientType.Radial;
|
||||
this.txtmobile.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtmobile.Border.BorderBottomWidth = 1;
|
||||
this.txtmobile.Border.BorderColor = System.Drawing.Color.DeepSkyBlue;
|
||||
this.txtmobile.Border.BorderGradientAngle = 0;
|
||||
this.txtmobile.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtmobile.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtmobile.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtmobile.Border.Class = "TextBoxBorder";
|
||||
this.txtmobile.Border.CornerDiameter = 3;
|
||||
this.txtmobile.Border.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.txtmobile.Location = new System.Drawing.Point(97, 93);
|
||||
this.txtmobile.Name = "txtmobile";
|
||||
this.txtmobile.Size = new System.Drawing.Size(168, 23);
|
||||
this.txtmobile.TabIndex = 51;
|
||||
this.txtmobile.WatermarkFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtmobile.WatermarkText = "请输入手机号";
|
||||
//
|
||||
// txtpassword
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtpassword.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtpassword.Border.BorderColor = System.Drawing.Color.DeepSkyBlue;
|
||||
this.txtpassword.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtpassword.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtpassword.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.txtpassword.Border.Class = "TextBoxBorder";
|
||||
this.txtpassword.Border.CornerDiameter = 3;
|
||||
this.txtpassword.Border.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.txtpassword.Location = new System.Drawing.Point(97, 126);
|
||||
this.txtpassword.Name = "txtpassword";
|
||||
this.txtpassword.PasswordChar = '*';
|
||||
this.txtpassword.Size = new System.Drawing.Size(168, 23);
|
||||
this.txtpassword.TabIndex = 52;
|
||||
this.txtpassword.WatermarkFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtpassword.WatermarkText = "请输入密码";
|
||||
//
|
||||
// checkBoxAutoLogin
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.checkBoxAutoLogin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.checkBoxAutoLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.checkBoxAutoLogin.Location = new System.Drawing.Point(191, 157);
|
||||
this.checkBoxAutoLogin.Name = "checkBoxAutoLogin";
|
||||
this.checkBoxAutoLogin.Size = new System.Drawing.Size(80, 22);
|
||||
this.checkBoxAutoLogin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.checkBoxAutoLogin.TabIndex = 58;
|
||||
this.checkBoxAutoLogin.Text = "自动登录";
|
||||
this.checkBoxAutoLogin.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(101)))), ((int)(((byte)(101)))));
|
||||
//
|
||||
// remember
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.remember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.remember.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.remember.Location = new System.Drawing.Point(104, 157);
|
||||
this.remember.Name = "remember";
|
||||
this.remember.Size = new System.Drawing.Size(80, 22);
|
||||
this.remember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.remember.TabIndex = 54;
|
||||
this.remember.Text = "记住密码";
|
||||
this.remember.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(101)))), ((int)(((byte)(101)))));
|
||||
this.remember.CheckedChanged += new System.EventHandler(this.remember_CheckedChanged);
|
||||
//
|
||||
// loginPanel
|
||||
//
|
||||
this.loginPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.loginPanel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.loginPanel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.loginPanel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.loginPanel.Location = new System.Drawing.Point(104, 189);
|
||||
this.loginPanel.Name = "loginPanel";
|
||||
this.loginPanel.Size = new System.Drawing.Size(151, 24);
|
||||
this.loginPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.loginPanel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.loginPanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.loginPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.loginPanel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.loginPanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.loginPanel.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.loginPanel.Style.GradientAngle = 90;
|
||||
this.loginPanel.TabIndex = 53;
|
||||
this.loginPanel.Text = "安 全 登 录";
|
||||
this.loginPanel.Click += new System.EventHandler(this.loginPanel_Click);
|
||||
//
|
||||
// lblContactSupport
|
||||
//
|
||||
this.lblContactSupport.AutoSize = true;
|
||||
this.lblContactSupport.Location = new System.Drawing.Point(268, 162);
|
||||
this.lblContactSupport.Name = "lblContactSupport";
|
||||
this.lblContactSupport.Size = new System.Drawing.Size(53, 12);
|
||||
this.lblContactSupport.TabIndex = 100;
|
||||
this.lblContactSupport.TabStop = true;
|
||||
this.lblContactSupport.Text = "联系客服";
|
||||
this.lblContactSupport.Visible = false;
|
||||
this.lblContactSupport.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblContactSupport_LinkClicked);
|
||||
//
|
||||
// LoginForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(353, 262);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "LoginForm";
|
||||
this.Text = "LoginForm";
|
||||
this.TitleText = "LoginForm";
|
||||
this.Load += new System.EventHandler(this.LoginForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.panelEx1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtmobile;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtpassword;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxAutoLogin;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX remember;
|
||||
private DevComponents.DotNetBar.PanelEx loginPanel;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel2;
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlShowRemember;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.LinkLabel lblContactSupport;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,352 @@
|
||||
using AllBase;
|
||||
using AllBase.DouYinModel.Param.LoginManage;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using NaiBa.Util;
|
||||
using NaiBa.Util.Helper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public partial class LoginForm : BaseForm
|
||||
{
|
||||
string[] argsuser;
|
||||
public LoginForm(string[] args)
|
||||
{
|
||||
InitializeComponent();
|
||||
if (FileBase.Exists(BaseClass.ProgromLogoIco))
|
||||
{
|
||||
Image img = Image.FromFile(BaseClass.ProgromLogoIco);
|
||||
BaseClass.Ico = ImgConvertToIcon.ConvertToIcon(img, false);
|
||||
Icon = BaseClass.Ico;
|
||||
}
|
||||
if (FileBase.Exists(BaseClass.ProgromLogo))
|
||||
{
|
||||
Image img = Image.FromFile(BaseClass.ProgromLogoIco);
|
||||
pictureBox1.Image = img;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(BaseClass.ProgramName))
|
||||
{
|
||||
label3.Text = BaseClass.ProgramName;
|
||||
}
|
||||
|
||||
this.TitleText = this.Text = "用户登录";
|
||||
this.Minimized = this.MinimizeBox = false;
|
||||
argsuser = args;
|
||||
}
|
||||
|
||||
private void LoginForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.TitleText = "登录";
|
||||
//15222912892
|
||||
if (BaseClass.Remember)
|
||||
{
|
||||
remember.Checked = true;
|
||||
txtmobile.Text = BaseClass.UserName;
|
||||
if (!string.IsNullOrEmpty(BaseClass.PassWord))
|
||||
txtpassword.Text = "******";
|
||||
}
|
||||
GetUserList();
|
||||
#if DEBUG
|
||||
pnlShowRemember.Visible = true;
|
||||
SetHideEvent(this);
|
||||
#endif
|
||||
if (argsuser.Length > 1)
|
||||
{
|
||||
txtmobile.Text = argsuser[0].Replace(" ", "");
|
||||
txtpassword.Text = "******";
|
||||
BaseClass.PassWord = argsuser[1].Replace(" ", "");
|
||||
loginPanel_Click(null, null);
|
||||
}
|
||||
|
||||
// 是否显示联系客服按钮
|
||||
if (FileBase.Exists("locales/ig.pak") || FileBase.Exists("locales/wl.pak"))
|
||||
lblContactSupport.Visible = false;
|
||||
else
|
||||
lblContactSupport.Visible = true;
|
||||
|
||||
#region 初始化cef
|
||||
CefSharpSettings.WcfEnabled = false;
|
||||
//CefSharpSettings.LegacyJavascriptBindingEnabled = true;
|
||||
CefSettings settings = new CefSettings();
|
||||
settings.CachePath = System.IO.Directory.GetCurrentDirectory() + @"\Cache";
|
||||
settings.UserAgent = BaseClass.ChromeUserAgent;
|
||||
settings.CefCommandLineArgs.Add("disable-gpu", "1");
|
||||
settings.IgnoreCertificateErrors = true;
|
||||
settings.Locale = "zh-CN";
|
||||
settings.LogSeverity = LogSeverity.Disable;
|
||||
Cef.Initialize(settings);
|
||||
#endregion
|
||||
}
|
||||
|
||||
void SetHideEvent(Control control)
|
||||
{
|
||||
control.Click += Control_Click;
|
||||
foreach (Control con in control.Controls)
|
||||
{
|
||||
SetHideEvent(con);
|
||||
}
|
||||
}
|
||||
|
||||
private void Control_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (sender != pnlShowRemember)
|
||||
{
|
||||
if (pnlRememberBox != null)
|
||||
{
|
||||
pnlRememberBox.Controls.Clear();
|
||||
pnlRememberBox.Visible = false;
|
||||
}
|
||||
pnlShowRemember.Text = "▼";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private void loginPanel_Click(object sender, EventArgs e)
|
||||
{
|
||||
BaseClass.LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
UserLogin ul = new UserLogin();
|
||||
//if (BaseClass.Remember&& BaseClass.UserName!="")
|
||||
//{
|
||||
// ul.Mobile = BaseClass.UserName;
|
||||
// ul.Password = "******";
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
ul.Mobile = txtmobile.Text;
|
||||
ul.Password = txtpassword.Text;
|
||||
// }
|
||||
|
||||
if (txtmobile.Text.Length != 11)
|
||||
{
|
||||
MessageBox.Show("手机号不正确", "提示");
|
||||
txtmobile.Focus();
|
||||
return;
|
||||
}
|
||||
if (txtpassword.Text.Length < 6)
|
||||
{
|
||||
MessageBox.Show("密码长度不正确", "提示");
|
||||
txtpassword.Text = "";
|
||||
txtpassword.Focus();
|
||||
return;
|
||||
}
|
||||
string message = "";
|
||||
int weakPassword = 0;
|
||||
int lockUserName = 0;
|
||||
string messageInfo = "";
|
||||
bool ok = ul.Get(ref message, out lockUserName, out weakPassword, out messageInfo);
|
||||
if (ok && BaseClass.Remember)
|
||||
{
|
||||
if (remember.Checked == true)
|
||||
{
|
||||
Initialization i = new Initialization();
|
||||
i.SaveConfig();
|
||||
|
||||
var eUser = UserParamList.FirstOrDefault(u => u.UserName == BaseClass.UserName);
|
||||
if (eUser != null)
|
||||
UserParamList.Remove(eUser);
|
||||
UserParamList.Add(new UserParam()
|
||||
{
|
||||
UserName = BaseClass.UserName,
|
||||
PasswordMd5 = BaseClass.PassWord
|
||||
});
|
||||
SaveUserList();
|
||||
}
|
||||
#region 设置UA
|
||||
string html = GetHtml.PostUtf8(BaseClass.UserAgentUrl, UserLogin.GetSignaturex());
|
||||
if (!string.IsNullOrEmpty(html) && !html.Contains("error") && !html.StartsWith("测试网络正常,现在时间是"))
|
||||
{
|
||||
BaseClass.ChromeUserAgent = html;
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseClass.ChromeUserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36";
|
||||
}
|
||||
var xx = FileBase.ReadTxt("\\temp\\userAgent", "useragent.txt");
|
||||
if (!string.IsNullOrEmpty(xx))
|
||||
{
|
||||
BaseClass.ChromeUserAgent = xx.Trim();
|
||||
}
|
||||
#endregion
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Dispose();
|
||||
this.Close();
|
||||
|
||||
}
|
||||
if (!ok)
|
||||
{
|
||||
BaseMsgForm.ShowError(message, "登录失败");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private void remember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
BaseClass.Remember = remember.Checked;
|
||||
}
|
||||
|
||||
private DevComponents.DotNetBar.PanelEx pnlRememberBox = null;
|
||||
/// <summary>
|
||||
/// 保存用户登录信息
|
||||
/// </summary>
|
||||
public static ConcurrentList<UserParam> UserParamList { get; set; } = new ConcurrentList<UserParam>();
|
||||
private void pnlShowRemember_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (pnlShowRemember.Text == "▲")
|
||||
{
|
||||
if (pnlRememberBox != null)
|
||||
{
|
||||
pnlRememberBox.Controls.Clear();
|
||||
pnlRememberBox.Visible = false;
|
||||
}
|
||||
pnlShowRemember.Text = "▼";
|
||||
return;
|
||||
}
|
||||
pnlShowRemember.Text = "▲";
|
||||
|
||||
ShowUserDropDown();
|
||||
}
|
||||
|
||||
private void ShowUserDropDown()
|
||||
{
|
||||
if (pnlRememberBox == null)
|
||||
{
|
||||
pnlRememberBox = new DevComponents.DotNetBar.PanelEx();
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
Control control = this.txtmobile;
|
||||
do
|
||||
{
|
||||
x += control.Location.X;
|
||||
y += control.Location.Y;
|
||||
control = control.Parent;
|
||||
}
|
||||
while (control != this && control != null);
|
||||
pnlRememberBox.Location = new Point(x, y + txtmobile.Height + 1);
|
||||
pnlRememberBox.Height = 105;
|
||||
pnlRememberBox.Width = txtmobile.Width;
|
||||
pnlRememberBox.AutoScroll = true;
|
||||
pnlRememberBox.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
pnlRememberBox.Style.BorderColor.Color = Color.DeepSkyBlue;
|
||||
pnlRememberBox.Padding = new Padding(1);
|
||||
pnlRememberBox.Style.BackColor1.Color = Color.White;
|
||||
pnlRememberBox.Style.BackColor2.Color = Color.White;
|
||||
|
||||
this.Controls.Add(pnlRememberBox);
|
||||
pnlRememberBox.BringToFront();
|
||||
}
|
||||
|
||||
pnlRememberBox.Visible = true;
|
||||
pnlRememberBox.Controls.Clear();
|
||||
int top = 0;
|
||||
foreach (var user in UserParamList)
|
||||
{
|
||||
var pnlUser = new DevComponents.DotNetBar.PanelEx();
|
||||
pnlUser.Dock = DockStyle.Top;
|
||||
pnlUser.Location = new Point(0, top);
|
||||
pnlUser.Tag = user;
|
||||
pnlUser.Height = 30;
|
||||
pnlUser.Text = user.UserName;
|
||||
pnlUser.Style.ForeColor.Color = Color.FromArgb(80, 80, 80);
|
||||
pnlUser.Style.Font = txtmobile.Font;
|
||||
pnlUser.Style.BackColor1.Color = Color.Transparent;
|
||||
pnlUser.Style.BackColor2.Color = Color.Transparent;
|
||||
pnlUser.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
|
||||
pnlUser.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
pnlUser.Style.BorderColor.Color = Color.FromArgb(225, 225, 225);
|
||||
pnlUser.Click += PnlUser_Click;
|
||||
|
||||
pnlRememberBox.Controls.Add(pnlUser);
|
||||
|
||||
var pnlClose = new DevComponents.DotNetBar.PanelEx();
|
||||
pnlClose.Location = new Point(146, 7);
|
||||
pnlClose.Tag = user;
|
||||
pnlClose.Height = 16;
|
||||
pnlClose.Width = 16;
|
||||
pnlClose.Text = "x";
|
||||
pnlClose.Style.Font = new Font("微软雅黑", 9F, FontStyle.Regular);
|
||||
pnlClose.Style.Alignment = StringAlignment.Center;
|
||||
pnlClose.Style.ForeColor.Color = Color.FromArgb(80, 80, 80);
|
||||
pnlClose.Style.BackColor1.Color = Color.Transparent;
|
||||
pnlClose.Style.BackColor2.Color = Color.Transparent;
|
||||
pnlClose.Style.Border = DevComponents.DotNetBar.eBorderType.None;
|
||||
pnlClose.StyleMouseOver.Alignment = StringAlignment.Center;
|
||||
pnlClose.StyleMouseOver.ForeColor.Color = Color.FromArgb(255, 255, 255);
|
||||
pnlClose.StyleMouseOver.BackColor1.Color = Color.FromArgb(127, 127, 127);
|
||||
pnlClose.StyleMouseOver.BackColor2.Color = Color.FromArgb(127, 127, 127);
|
||||
pnlClose.Cursor = Cursors.Hand;
|
||||
pnlClose.Click += PnlClose_Click;
|
||||
|
||||
pnlUser.Controls.Add(pnlClose);
|
||||
|
||||
top += 30;
|
||||
}
|
||||
}
|
||||
private void PnlClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
var pnl = sender as DevComponents.DotNetBar.PanelEx;
|
||||
if (pnl != null)
|
||||
{
|
||||
var user = pnl.Tag as UserParam;
|
||||
if (user != null)
|
||||
{
|
||||
UserParamList.Remove(user);
|
||||
SaveUserList();
|
||||
ShowUserDropDown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PnlUser_Click(object sender, EventArgs e)
|
||||
{
|
||||
var user = (sender as Panel)?.Tag as UserParam;
|
||||
if (user != null)
|
||||
{
|
||||
BaseClass.UserName = user.UserName;
|
||||
BaseClass.PassWord = user.PasswordMd5;
|
||||
this.txtmobile.Text = user.UserName;
|
||||
this.txtpassword.Text = "******";
|
||||
}
|
||||
pnlRememberBox.Visible = false;
|
||||
pnlRememberBox.Controls.Clear();
|
||||
pnlShowRemember.Text = "▼";
|
||||
}
|
||||
|
||||
public static void SaveUserList()
|
||||
{
|
||||
ConfigHelper.SaveConfig("user_account_list", UserParamList);
|
||||
}
|
||||
|
||||
public static void GetUserList()
|
||||
{
|
||||
#region 用户账户记忆功能
|
||||
UserParamList = ConfigHelper.LoadConfig<ConcurrentList<UserParam>>("user_account_list");
|
||||
if (UserParamList == null)
|
||||
UserParamList = new ConcurrentList<UserParam>();
|
||||
#endregion
|
||||
}
|
||||
|
||||
private void panelEx2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void lblContactSupport_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
SupportQrCodeForm qrForm = new SupportQrCodeForm();
|
||||
qrForm.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
Generated
+1792
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,128 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace _29WxOrder
|
||||
{
|
||||
public class MyClip
|
||||
{
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
static public extern IntPtr SetClipboardData(uint Format, IntPtr hData);
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
static extern uint EnumClipboardFormats(uint format); //枚举剪贴板内数据类型
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
private static extern Int32 OpenClipboard(IntPtr hWndNewOwner);
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
private static extern IntPtr GetClipboardData(uint uFormat);
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
private static extern Int32 CloseClipboard();
|
||||
[DllImport("kernel32.dll", SetLastError = true)]
|
||||
private static extern Int32 GlobalLock(IntPtr hMem);
|
||||
[DllImport("kernel32.dll", SetLastError = true)]
|
||||
private static extern Int32 GlobalUnlock(IntPtr hMem);
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern uint GlobalSize(IntPtr hMem);
|
||||
/// <summary>
|
||||
/// 剪贴板数据保存目标数据列表
|
||||
/// </summary>
|
||||
private static List<byte[]> bytes = new List<byte[]>();
|
||||
/// <summary>
|
||||
/// 剪贴板数据类型列表
|
||||
/// </summary>
|
||||
private static List<uint> formats = new List<uint>();
|
||||
/// <summary>
|
||||
/// 保存剪贴板内容,返回真为成功,false为失败。
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static bool saveClip()
|
||||
{
|
||||
try
|
||||
{
|
||||
bool fi = true;
|
||||
if (OpenClipboard((IntPtr)0) < 1)
|
||||
{
|
||||
fi = false;
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
bytes.Clear();
|
||||
formats.Clear();
|
||||
}
|
||||
IntPtr hMem = IntPtr.Zero;
|
||||
IntPtr lpStr = IntPtr.Zero;
|
||||
uint uFormat = 0;
|
||||
while (fi)
|
||||
{
|
||||
uFormat = EnumClipboardFormats(uFormat);//枚举剪贴板所有数据类型
|
||||
if (uFormat > 0)
|
||||
{
|
||||
formats.Add(uFormat);
|
||||
hMem = GetClipboardData(uFormat);
|
||||
lpStr = (IntPtr)GlobalLock(hMem);
|
||||
if (hMem != (IntPtr)0)
|
||||
{
|
||||
uint size = GlobalSize(hMem);
|
||||
IntPtr s = (IntPtr)GlobalLock(hMem);
|
||||
byte[] buffer = new byte[(int)size];
|
||||
if (size > 0)
|
||||
{
|
||||
Marshal.Copy(s, buffer, 0, (int)size);//将剪贴板数据保存到自定义字节数组
|
||||
}
|
||||
GlobalUnlock(hMem);
|
||||
bytes.Add(buffer);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fi = false;
|
||||
}
|
||||
}
|
||||
CloseClipboard();
|
||||
if (formats.Count > 0)
|
||||
{ return true; }
|
||||
else { return false; }
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/// <summary>
|
||||
/// 恢复保存的数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static bool restoreClip()
|
||||
{
|
||||
bool fi = true;
|
||||
if (formats.Count <= 0) { return false; }
|
||||
if (OpenClipboard((IntPtr)0) < 1)
|
||||
{
|
||||
fi = false;
|
||||
return false;
|
||||
}
|
||||
if (fi)
|
||||
{
|
||||
for (int i = 0; i < formats.Count; i++)
|
||||
{
|
||||
int size = bytes[i].Length;
|
||||
IntPtr si = Marshal.AllocHGlobal(size);
|
||||
if (size > 0)
|
||||
{
|
||||
Marshal.Copy(bytes[i], 0, si, size);
|
||||
}
|
||||
else { }
|
||||
SetClipboardData(formats[i], si);
|
||||
}
|
||||
}
|
||||
CloseClipboard();
|
||||
if (formats.Count > 0)
|
||||
{ return true; }
|
||||
else { return false; }
|
||||
}
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
partial class ButtonSwitch
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// ButtonSwitch
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.BackgroundImage = global::_29WxOrder.Properties.Resources.btncheckon1;
|
||||
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.DoubleBuffered = true;
|
||||
this.Name = "ButtonSwitch";
|
||||
this.Size = new System.Drawing.Size(63, 21);
|
||||
this.Click += new System.EventHandler(this.ButtonSwitch_Click);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public partial class ButtonSwitch : UserControl
|
||||
{
|
||||
public event EventHandler Switch;
|
||||
private bool _turnOn;
|
||||
public bool TurnOn
|
||||
{
|
||||
get
|
||||
{
|
||||
return _turnOn;
|
||||
}
|
||||
set
|
||||
{
|
||||
_turnOn = value;
|
||||
if (_turnOn)
|
||||
{
|
||||
this.BackgroundImage = global::_29WxOrder.Properties.Resources.btncheckon1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.BackgroundImage = global::_29WxOrder.Properties.Resources.btncheckoff1;
|
||||
}
|
||||
}
|
||||
}
|
||||
public ButtonSwitch()
|
||||
{
|
||||
TurnOn = true;
|
||||
this.BackgroundImage = global::_29WxOrder.Properties.Resources.btncheckon1;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void ButtonSwitch_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (TurnOn)
|
||||
{
|
||||
TurnOn = false;
|
||||
this.BackgroundImage = global::_29WxOrder.Properties.Resources.btncheckoff1;
|
||||
}
|
||||
else
|
||||
{
|
||||
TurnOn = true;
|
||||
this.BackgroundImage = global::_29WxOrder.Properties.Resources.btncheckon1;
|
||||
}
|
||||
Switch?.Invoke(null,null);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public class DGVHeaderMouseEnterHelper
|
||||
{
|
||||
public DGVHeaderMouseEnterHelper(DataGridView gridview)
|
||||
{
|
||||
gridview.CellPainting += new DataGridViewCellPaintingEventHandler(gridview_CellPainting);
|
||||
}
|
||||
|
||||
int top = 0;
|
||||
int left = 0;
|
||||
int height = 0;
|
||||
int width1 = 0;
|
||||
|
||||
public void gridview_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
|
||||
{
|
||||
#region 重绘datagridview表头
|
||||
DataGridView dgv = (DataGridView)(sender);
|
||||
if (e.RowIndex != -1) return;
|
||||
if (e.ColumnIndex == 12 && e.RowIndex == -1)
|
||||
{
|
||||
using (Pen gridLinePen = new Pen(ColorTranslator.FromHtml("#CBD2DA"))) //画笔颜色
|
||||
{
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top, left + width, top);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height / 2, left + width, top + height / 2);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height - 1, left + width, top + height - 1); //自定义区域下部横线
|
||||
width1 = 0;
|
||||
e.Graphics.DrawLine(gridLinePen, left - 1, top, left - 1, top + height - 2);
|
||||
|
||||
|
||||
}
|
||||
e.Handled = true;
|
||||
}
|
||||
if (e.ColumnIndex == 11 && e.RowIndex == -1)
|
||||
{
|
||||
using (Pen gridLinePen = new Pen(ColorTranslator.FromHtml("#CBD2DA"))) //画笔颜色
|
||||
{
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top, left + width, top);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height / 2, left + width, top + height / 2);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height - 1, left + width, top + height - 1); //自定义区域下部横线
|
||||
width1 = 0;
|
||||
e.Graphics.DrawLine(gridLinePen, left + dgv.Columns[10].Width , top, left + dgv.Columns[10].Width , top + height - 2);
|
||||
|
||||
|
||||
}
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
private List<TopHeader> _headers = new List<TopHeader>();
|
||||
public List<TopHeader> Headers
|
||||
{
|
||||
get { return _headers; }
|
||||
}
|
||||
|
||||
public struct TopHeader
|
||||
{
|
||||
public TopHeader(int index, int span, string text)
|
||||
{
|
||||
this.Index = index;
|
||||
this.Span = span;
|
||||
this.Text = text;
|
||||
}
|
||||
public int Index;
|
||||
public int Span;
|
||||
public string Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public class DataGridViewHelper
|
||||
{
|
||||
public DataGridViewHelper(DataGridView gridview)
|
||||
{
|
||||
gridview.CellPainting += new DataGridViewCellPaintingEventHandler(gridview_CellPainting);
|
||||
}
|
||||
|
||||
int top = 0;
|
||||
int left = 0;
|
||||
int height = 0;
|
||||
int width1 = 0;
|
||||
|
||||
public void gridview_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)
|
||||
{
|
||||
#region 重绘datagridview表头
|
||||
DataGridView dgv = (DataGridView)(sender);
|
||||
if (e.RowIndex != -1) return;
|
||||
foreach (TopHeader item in Headers)
|
||||
{
|
||||
if (e.ColumnIndex >= item.Index && e.ColumnIndex < item.Index + item.Span)
|
||||
{
|
||||
if (e.ColumnIndex == item.Index)
|
||||
{
|
||||
top = e.CellBounds.Top;
|
||||
left = e.CellBounds.Left;
|
||||
height = e.CellBounds.Height;
|
||||
}
|
||||
int width = 0;//总长度
|
||||
for (int i = item.Index; i < item.Span + item.Index; i++)
|
||||
{
|
||||
width += dgv.Columns[i].Width;
|
||||
}
|
||||
Rectangle rect = new Rectangle(left, top, width, e.CellBounds.Height);
|
||||
using (Brush backColorBrush = new SolidBrush(e.CellStyle.BackColor)) //Cell背景颜色
|
||||
{
|
||||
//抹去原来的cell背景
|
||||
//e.Graphics.FillRectangle(backColorBrush, rect);
|
||||
}
|
||||
using (Pen gridLinePen = new Pen(ColorTranslator.FromHtml("#DAE1ED"))) //画笔颜色
|
||||
{
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top, left + width, top);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height / 2, left + width, top + height / 2);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height - 1, left + width, top + height - 1); //自定义区域下部横线
|
||||
width1 = 0;
|
||||
e.Graphics.DrawLine(gridLinePen, left - 1, top+ height / 2, left - 1, top + height - 2);
|
||||
|
||||
|
||||
}
|
||||
using (Pen gridLinePen = new Pen(ColorTranslator.FromHtml("#EFF3F8"))) //画笔颜色
|
||||
{
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top, left + width, top);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height / 2, left + width, top + height / 2);
|
||||
//e.Graphics.DrawLine(gridLinePen, left, top + height - 1, left + width, top + height - 1); //自定义区域下部横线
|
||||
width1 = 0;
|
||||
e.Graphics.DrawLine(gridLinePen, left - 1, top, left - 1, top + height / 2);
|
||||
//e.AdvancedBorderStyle.Right = DataGridViewAdvancedCellBorderStyle.None;
|
||||
//dgv.AdvancedColumnHeadersBorderStyle.Right = DataGridViewAdvancedCellBorderStyle.None;
|
||||
/*for (int i = item.Index; i < item.Span + item.Index; i++)
|
||||
{
|
||||
if (i == 1 || i == 2)
|
||||
{
|
||||
width1 += dgv.Columns[i].Width - 1; //分隔区域首列
|
||||
}
|
||||
else
|
||||
{
|
||||
width1 += dgv.Columns[i].Width;
|
||||
}
|
||||
e.Graphics.DrawLine(gridLinePen, left + width1, top + height / 2, left + width1, top + height);
|
||||
}
|
||||
SizeF sf = e.Graphics.MeasureString(item.Text, e.CellStyle.Font);
|
||||
float lstr = (width - sf.Width) / 2;
|
||||
float rstr = (height / 2 - sf.Height) / 2;
|
||||
//画出文本框
|
||||
if (item.Text != "")
|
||||
{
|
||||
e.Graphics.DrawString(item.Text, e.CellStyle.Font,
|
||||
new SolidBrush(e.CellStyle.ForeColor),
|
||||
left + lstr,
|
||||
top + rstr,
|
||||
StringFormat.GenericDefault);
|
||||
}
|
||||
width = 0;
|
||||
width1 = 0;
|
||||
for (int i = item.Index; i < item.Span + item.Index; i++)
|
||||
{
|
||||
string columnValue = dgv.Columns[i].HeaderText;
|
||||
width1 = dgv.Columns[i].Width;
|
||||
sf = e.Graphics.MeasureString(columnValue, e.CellStyle.Font);
|
||||
lstr = (width1 - sf.Width) / 2;
|
||||
rstr = (height / 2 - sf.Height) / 2;
|
||||
if (columnValue != "")
|
||||
{
|
||||
e.Graphics.DrawString(columnValue, e.CellStyle.Font,
|
||||
new SolidBrush(e.CellStyle.ForeColor),
|
||||
left + width + lstr,
|
||||
top + height / 2 + rstr,
|
||||
StringFormat.GenericDefault);
|
||||
}
|
||||
width += dgv.Columns[i].Width;
|
||||
}*/
|
||||
}
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
private List<TopHeader> _headers = new List<TopHeader>();
|
||||
public List<TopHeader> Headers
|
||||
{
|
||||
get { return _headers; }
|
||||
}
|
||||
|
||||
public struct TopHeader
|
||||
{
|
||||
public TopHeader(int index, int span, string text)
|
||||
{
|
||||
this.Index = index;
|
||||
this.Span = span;
|
||||
this.Text = text;
|
||||
}
|
||||
public int Index;
|
||||
public int Span;
|
||||
public string Text;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
partial class MyCheckBox
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.lblShow = new System.Windows.Forms.Label();
|
||||
this.pictureBox = new System.Windows.Forms.PictureBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblShow
|
||||
//
|
||||
this.lblShow.AutoSize = true;
|
||||
this.lblShow.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.lblShow.Location = new System.Drawing.Point(31, 0);
|
||||
this.lblShow.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0);
|
||||
this.lblShow.Name = "lblShow";
|
||||
this.lblShow.Size = new System.Drawing.Size(53, 12);
|
||||
this.lblShow.TabIndex = 1;
|
||||
this.lblShow.Text = "CheckBox";
|
||||
this.lblShow.Click += new System.EventHandler(this.lblShow_Click);
|
||||
//
|
||||
// pictureBox
|
||||
//
|
||||
this.pictureBox.BackColor = System.Drawing.Color.White;
|
||||
this.pictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pictureBox.Location = new System.Drawing.Point(3, 2);
|
||||
this.pictureBox.Name = "pictureBox";
|
||||
this.pictureBox.Size = new System.Drawing.Size(12, 12);
|
||||
this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.pictureBox.TabIndex = 2;
|
||||
this.pictureBox.TabStop = false;
|
||||
this.pictureBox.Click += new System.EventHandler(this.pictureBox_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.pictureBox);
|
||||
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(31, 15);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// MyCheckBox
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.lblShow);
|
||||
this.Name = "MyCheckBox";
|
||||
this.Size = new System.Drawing.Size(84, 15);
|
||||
this.SizeChanged += new System.EventHandler(this.MyCheckBox_SizeChanged);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Label lblShow;
|
||||
private System.Windows.Forms.PictureBox pictureBox;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,182 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public partial class MyCheckBox : UserControl
|
||||
{
|
||||
public MyCheckBox()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private int width;
|
||||
[Description("控件宽度"), Category("自定义属性")]
|
||||
public int SelfWidth
|
||||
{
|
||||
get
|
||||
{
|
||||
return width;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.width = value;
|
||||
this.Width = value;
|
||||
}
|
||||
}
|
||||
|
||||
private string text;
|
||||
[Description("名称"), Category("自定义属性")]
|
||||
public string SelfText
|
||||
{
|
||||
get
|
||||
{
|
||||
return text;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
this.text = "CheckBox";
|
||||
//this.Text = value;
|
||||
this.lblShow.Text = "CheckBox";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.text = value;
|
||||
this.lblShow.Text = value;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private bool MyChecked;
|
||||
public bool SelfChecked
|
||||
{
|
||||
get
|
||||
{
|
||||
return MyChecked;
|
||||
}
|
||||
set
|
||||
{
|
||||
MyChecked = value;
|
||||
//if (value)
|
||||
//{
|
||||
// this.pictureBox.BackgroundImage = Properties.Resources.show;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.pictureBox.BackgroundImage = Properties.Resources.white;
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private Size size = new Size(12, 12);
|
||||
[Description("选中框大小"), Category("自定义属性")]
|
||||
public Size SelfCheckSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return size;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.pictureBox.Size = value;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//private System.Drawing.Bitmap img;
|
||||
//[Description("选中框背景图"), Category("自定义属性")]
|
||||
//public System.Drawing.Bitmap SelfCheckImg
|
||||
//{
|
||||
// get
|
||||
// {
|
||||
// return img;
|
||||
// }
|
||||
// set
|
||||
// {
|
||||
// if (value == null)
|
||||
// {
|
||||
// this.pictureBox.BackgroundImage = Properties.Resources.show;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// this.pictureBox.BackgroundImage = value;
|
||||
// }
|
||||
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
//private Image _imageItem;
|
||||
//[Description("选中图片"), Category("外观")]
|
||||
//public Image SelfSelectImage { get { return _imageItem; } }
|
||||
|
||||
//private string _ImageName;
|
||||
//[Description("图片路径"), Category("外观")]
|
||||
//public string SelfImageName
|
||||
//{
|
||||
// get { return _ImageName; }
|
||||
// set
|
||||
// {
|
||||
// _ImageName = value;
|
||||
// this._imageItem = Image.FromFile(_ImageName);
|
||||
// _ImageName = System.IO.Path.GetFileName(_ImageName);
|
||||
// Name = _ImageName;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
private void MyCheckBox_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.SelfWidth = this.Width;
|
||||
}
|
||||
|
||||
private void pictureBox_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (MyChecked)
|
||||
{
|
||||
// this.pictureBox.BackgroundImage = Properties.Resources.white;
|
||||
MyChecked = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
// this.pictureBox.BackgroundImage = Properties.Resources.show;
|
||||
MyChecked = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void lblShow_Click(object sender, EventArgs e)
|
||||
{
|
||||
pictureBox_Click(null, null);
|
||||
}
|
||||
|
||||
//新定义组件单击事件
|
||||
public new event EventHandler Click
|
||||
{
|
||||
add
|
||||
{
|
||||
base.Click += value;
|
||||
pictureBox.Click += value;
|
||||
lblShow.Click += value;
|
||||
}
|
||||
remove
|
||||
{
|
||||
base.Click -= value;
|
||||
pictureBox.Click -= value;
|
||||
lblShow.Click -= value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -0,0 +1,182 @@
|
||||
using DevComponents.DotNetBar.Controls;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.ComboBox;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public class MyDataGridView : DataGridViewX
|
||||
{
|
||||
public ToolTip toolTip = new ToolTip();
|
||||
|
||||
private bool isCustomSort = false;
|
||||
[Browsable(true), Description("是否自定义排序"), Category("自定义分组")]
|
||||
public bool IsCustomSort
|
||||
{
|
||||
get { return isCustomSort; }
|
||||
set
|
||||
{
|
||||
isCustomSort = value;
|
||||
foreach (DataGridViewColumn colunm in this.Columns)
|
||||
{
|
||||
if (isCustomSort)
|
||||
colunm.SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
else
|
||||
colunm.SortMode = DataGridViewColumnSortMode.Automatic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static ComboBox cBox = new ComboBox();
|
||||
[Browsable(true),
|
||||
Description("要自定义排序的列"),
|
||||
Category("自定义分组"),
|
||||
DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
|
||||
Localizable(true),
|
||||
Editor("System.Windows.Forms.Design.ListControlStringCollectionEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor)),
|
||||
MergableProperty(false)]
|
||||
public ObjectCollection CustomSortColumns { get; set; } = new ObjectCollection(new ComboBox());
|
||||
|
||||
public delegate void CustomSortEvent(object sender, string sortName, string sortType = "desc");
|
||||
public event CustomSortEvent CustomSorted;
|
||||
|
||||
public MyDataGridView()
|
||||
{
|
||||
this.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint); // 重绘
|
||||
this.ShowCellToolTips = false;
|
||||
|
||||
toolTip.Draw += toolTip1_Draw;
|
||||
|
||||
this.AlternatingRowsDefaultCellStyle.BackColor = Color.FromArgb(244, 244, 244);//隔行变色
|
||||
this.ColumnHeaderMouseClick += MyDataGridView_ColumnHeaderMouseClick;
|
||||
}
|
||||
|
||||
private void toolTip1_Draw(object sender, DrawToolTipEventArgs e)
|
||||
{
|
||||
e.Graphics.FillRectangle(Brushes.AliceBlue, e.Bounds);
|
||||
e.Graphics.DrawRectangle(Pens.Chocolate, new Rectangle(0, 0, e.Bounds.Width - 1, e.Bounds.Height - 1));
|
||||
e.Graphics.DrawString(toolTip.ToolTipTitle + e.ToolTipText, e.Font, Brushes.Red, e.Bounds);
|
||||
}
|
||||
|
||||
// 重绘
|
||||
private void dgv_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.RowBounds.Location.Y, this.RowHeadersWidth - 4, e.RowBounds.Height);
|
||||
TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(), this.RowHeadersDefaultCellStyle.Font, rectangle,
|
||||
this.RowHeadersDefaultCellStyle.ForeColor, TextFormatFlags.VerticalCenter | TextFormatFlags.Right);
|
||||
}
|
||||
|
||||
DataGridViewColumn colSort = null;
|
||||
Label lblSort = null;
|
||||
private void MyDataGridView_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
|
||||
{
|
||||
if (!this.isCustomSort)
|
||||
return;
|
||||
|
||||
if (e.ColumnIndex < 0)
|
||||
return;
|
||||
|
||||
if (CustomSortColumns.Count > 0 && !CustomSortColumns.Cast<object>().Select(l => l.ToString()).Contains(this.Columns[e.ColumnIndex].Name))
|
||||
return;
|
||||
|
||||
if (lblSort == null)
|
||||
{
|
||||
lblSort = new Label() { ForeColor = Color.White, BackColor = Color.Transparent, AutoSize = true, };
|
||||
this.Controls.Add(lblSort);
|
||||
|
||||
this.ColumnWidthChanged += (s, e) => onColResize();
|
||||
this.ColumnHeadersHeightChanged += (s, e) => onColResize();
|
||||
this.Scroll += (s, e) => onColResize();
|
||||
this.Resize += (s, e) => onColResize();
|
||||
this.Sorted += (s, e) => onColResize();
|
||||
this.RowHeadersWidthChanged += (s, e) => onColResize();
|
||||
this.ColumnStateChanged += (s, e) => onColResize();
|
||||
}
|
||||
|
||||
if (colSort != null && colSort != this.Columns[e.ColumnIndex])
|
||||
{
|
||||
lblSort.Text = "";
|
||||
colSort = this.Columns[e.ColumnIndex];
|
||||
}
|
||||
colSort = this.Columns[e.ColumnIndex];
|
||||
|
||||
if (lblSort.Text == "▲")
|
||||
{
|
||||
lblSort.Text = "";
|
||||
colSort = null;
|
||||
}
|
||||
else if (lblSort.Text == "▼")
|
||||
{
|
||||
lblSort.Text = "▲";
|
||||
}
|
||||
else
|
||||
{
|
||||
lblSort.Text = "▼";
|
||||
}
|
||||
|
||||
CustomSorted?.Invoke(this, colSort?.Name, lblSort.Text == "▲" ? "asc" : lblSort.Text == "▼" ? "desc" : null);
|
||||
onColResize();
|
||||
}
|
||||
|
||||
void onColResize()
|
||||
{
|
||||
if (colSort == null)
|
||||
return;
|
||||
|
||||
int colLeft = (this.RowHeadersVisible ? this.RowHeadersWidth : 0) - (colSort.Frozen ? 0 : this.HorizontalScrollingOffset);
|
||||
foreach (DataGridViewColumn col in this.Columns)
|
||||
{
|
||||
if (col.DisplayIndex >= colSort.DisplayIndex) break;
|
||||
if (!col.Visible) continue;
|
||||
colLeft += col.Width;
|
||||
}
|
||||
|
||||
var newPoint = new Point(colLeft + 1, (this.ColumnHeadersHeight + 1) / 2 - lblSort.Height / 2);
|
||||
newPoint.X += colSort.Width - lblSort.Width - 2;
|
||||
var minLeft = colLeft;
|
||||
var maxLeft = colLeft + colSort.Width - lblSort.Width;
|
||||
|
||||
if (newPoint.X < minLeft) newPoint.X = minLeft;
|
||||
if (newPoint.X > maxLeft) newPoint.X = maxLeft;
|
||||
|
||||
lblSort.Location = newPoint;
|
||||
}
|
||||
|
||||
#region 鼠标浮动
|
||||
protected override void OnCellMouseMove(DataGridViewCellMouseEventArgs e)
|
||||
{
|
||||
base.OnCellMouseMove(e);
|
||||
|
||||
if (e.RowIndex >= 0)
|
||||
{
|
||||
this.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.SkyBlue;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnCellMouseLeave(DataGridViewCellEventArgs e)
|
||||
{
|
||||
base.OnCellMouseLeave(e);
|
||||
|
||||
if (e.RowIndex != -1)
|
||||
{
|
||||
if (e.RowIndex % 2 == 0)
|
||||
{
|
||||
this.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.FromArgb(244, 244, 244);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
partial class MyProDetailsControl
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panelALL = new System.Windows.Forms.Panel();
|
||||
this.lblPrice = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.lblSaleCount = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pictureBoxImg = new System.Windows.Forms.PictureBox();
|
||||
this.lblTitle = new System.Windows.Forms.Label();
|
||||
this.labelLine = new System.Windows.Forms.Label();
|
||||
this.panelALL.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImg)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panelALL
|
||||
//
|
||||
this.panelALL.Controls.Add(this.lblPrice);
|
||||
this.panelALL.Controls.Add(this.label2);
|
||||
this.panelALL.Controls.Add(this.lblSaleCount);
|
||||
this.panelALL.Controls.Add(this.label1);
|
||||
this.panelALL.Controls.Add(this.pictureBoxImg);
|
||||
this.panelALL.Controls.Add(this.lblTitle);
|
||||
this.panelALL.Controls.Add(this.labelLine);
|
||||
this.panelALL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelALL.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelALL.Name = "panelALL";
|
||||
this.panelALL.Size = new System.Drawing.Size(142, 200);
|
||||
this.panelALL.TabIndex = 0;
|
||||
//
|
||||
// lblPrice
|
||||
//
|
||||
this.lblPrice.AutoSize = true;
|
||||
this.lblPrice.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblPrice.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.lblPrice.ForeColor = System.Drawing.Color.Red;
|
||||
this.lblPrice.Location = new System.Drawing.Point(12, 176);
|
||||
this.lblPrice.Name = "lblPrice";
|
||||
this.lblPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.lblPrice.Size = new System.Drawing.Size(44, 20);
|
||||
this.lblPrice.TabIndex = 23;
|
||||
this.lblPrice.Text = "21.86";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.ForeColor = System.Drawing.Color.Red;
|
||||
this.label2.Location = new System.Drawing.Point(2, 180);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.label2.Size = new System.Drawing.Size(15, 17);
|
||||
this.label2.TabIndex = 32;
|
||||
this.label2.Text = "¥";
|
||||
//
|
||||
// lblSaleCount
|
||||
//
|
||||
this.lblSaleCount.AutoSize = true;
|
||||
this.lblSaleCount.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblSaleCount.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.lblSaleCount.Location = new System.Drawing.Point(90, 181);
|
||||
this.lblSaleCount.Name = "lblSaleCount";
|
||||
this.lblSaleCount.Size = new System.Drawing.Size(29, 12);
|
||||
this.lblSaleCount.TabIndex = 31;
|
||||
this.lblSaleCount.Text = "0000";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.label1.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label1.Location = new System.Drawing.Point(61, 181);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 30;
|
||||
this.label1.Text = "已拼";
|
||||
//
|
||||
// pictureBoxImg
|
||||
//
|
||||
this.pictureBoxImg.Location = new System.Drawing.Point(0, 3);
|
||||
this.pictureBoxImg.Name = "pictureBoxImg";
|
||||
this.pictureBoxImg.Size = new System.Drawing.Size(140, 140);
|
||||
this.pictureBoxImg.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBoxImg.TabIndex = 29;
|
||||
this.pictureBoxImg.TabStop = false;
|
||||
this.pictureBoxImg.Click += new System.EventHandler(this.lblTitle_Click);
|
||||
//
|
||||
// lblTitle
|
||||
//
|
||||
this.lblTitle.AutoSize = true;
|
||||
this.lblTitle.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblTitle.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblTitle.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.lblTitle.Location = new System.Drawing.Point(2, 155);
|
||||
this.lblTitle.Name = "lblTitle";
|
||||
this.lblTitle.Size = new System.Drawing.Size(148, 12);
|
||||
this.lblTitle.TabIndex = 24;
|
||||
this.lblTitle.Text = "垃圾桶垃圾桶垃圾桶垃圾";
|
||||
this.lblTitle.Click += new System.EventHandler(this.lblTitle_Click);
|
||||
//
|
||||
// labelLine
|
||||
//
|
||||
this.labelLine.AutoSize = true;
|
||||
this.labelLine.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.labelLine.ForeColor = System.Drawing.Color.Gainsboro;
|
||||
this.labelLine.Location = new System.Drawing.Point(4, 143);
|
||||
this.labelLine.Name = "labelLine";
|
||||
this.labelLine.Size = new System.Drawing.Size(149, 12);
|
||||
this.labelLine.TabIndex = 1;
|
||||
this.labelLine.Text = "------------------------";
|
||||
//
|
||||
// MyProDetailsControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.panelALL);
|
||||
this.Name = "MyProDetailsControl";
|
||||
this.Size = new System.Drawing.Size(142, 200);
|
||||
this.panelALL.ResumeLayout(false);
|
||||
this.panelALL.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImg)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panelALL;
|
||||
private System.Windows.Forms.Label labelLine;
|
||||
private System.Windows.Forms.Label lblPrice;
|
||||
private System.Windows.Forms.Label lblTitle;
|
||||
private System.Windows.Forms.PictureBox pictureBoxImg;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label lblSaleCount;
|
||||
private System.Windows.Forms.Label label2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work.SearchSame;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public partial class MyProDetailsControl : UserControl
|
||||
{
|
||||
public MyProDetailsControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private string proUrl;
|
||||
public string ProUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
return proUrl;
|
||||
}
|
||||
set
|
||||
{
|
||||
proUrl = value;
|
||||
}
|
||||
}
|
||||
public void setControlValue()
|
||||
{
|
||||
//this.panelImg.Style.BackgroundImage = Image.FromStream(System.Net.WebRequest.Create("").GetResponse().GetResponseStream());
|
||||
var img = Image.FromStream(System.Net.WebRequest.Create("http://g-search2.alicdn.com/img/bao/uploaded/i4/i1/2206646420160/O1CN01W4W6aE1D3JwfBqd5x_!!2206646420160.jpg_250x250.jpg").GetResponse().GetResponseStream());
|
||||
this.pictureBoxImg.Image = img;
|
||||
}
|
||||
public void setControlValuex(ProductInfo pro)
|
||||
{
|
||||
//this.panelImg.Style.BackgroundImage = Image.FromStream(System.Net.WebRequest.Create("").GetResponse().GetResponseStream());
|
||||
var img = Image.FromStream(System.Net.WebRequest.Create(pro.MainProductImageUrl).GetResponse().GetResponseStream());
|
||||
this.pictureBoxImg.Image = img;
|
||||
this.lblTitle.Text = pro.ProductName;
|
||||
this.lblSaleCount.Text = pro.SaleCount.ToString() + "件";
|
||||
lblPrice.Text = pro.MinPrice.ToString();
|
||||
proUrl = pro.Platform == 2 ? "pd-" + pro.ProductId : "tb-" + pro.ProductId;
|
||||
}
|
||||
//定义委托
|
||||
public delegate void LblClickHandle(object sender, EventArgs e);
|
||||
//定义事件1
|
||||
public event LblClickHandle lblControlBtnClicked;
|
||||
private void lblTitle_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (lblControlBtnClicked != null)
|
||||
//lblControlBtnClicked(sender, e);//把按钮自身作为参数传递
|
||||
lblControlBtnClicked(sender, new ConEventArgs(proUrl));//把按钮自身作为参数传递
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class ConEventArgs : EventArgs
|
||||
{
|
||||
private string goodsPrice = "";
|
||||
public string GoodsPrice
|
||||
{
|
||||
get { return this.goodsPrice; }
|
||||
}
|
||||
private string goodsName = "";
|
||||
public string GoodsName
|
||||
{
|
||||
get { return this.goodsName; }
|
||||
}
|
||||
private int customerNumber = 0;
|
||||
public int CustomerNumber
|
||||
{
|
||||
get { return this.customerNumber; }
|
||||
}
|
||||
public string thumbUrl = "";
|
||||
public string ThumbUrl
|
||||
{
|
||||
get { return this.thumbUrl; }
|
||||
}
|
||||
public ConEventArgs(string tag, string goodsPrice, string goodsName, int customerNumber, string thumbUrl)
|
||||
{
|
||||
this.tag = tag;
|
||||
this.goodsPrice = goodsPrice;
|
||||
this.goodsName = goodsName;
|
||||
this.customerNumber = customerNumber;
|
||||
this.thumbUrl = thumbUrl;
|
||||
}
|
||||
|
||||
private string tag = "";
|
||||
//这里还可以继续添加其他需要传递的消息参数
|
||||
public ConEventArgs(string tag)
|
||||
{
|
||||
this.tag = tag;
|
||||
}
|
||||
public string Tag
|
||||
{
|
||||
get { return this.tag; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
partial class MyProSkuItemsControl
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.pictureBoxImg = new System.Windows.Forms.PictureBox();
|
||||
this.lblSkuId = new System.Windows.Forms.Label();
|
||||
this.lblPrice = new System.Windows.Forms.Label();
|
||||
this.panelBuy = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblSkuSpec = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImg)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
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(420, 56);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.pictureBoxImg);
|
||||
this.groupBox1.Controls.Add(this.lblSkuId);
|
||||
this.groupBox1.Controls.Add(this.lblPrice);
|
||||
this.groupBox1.Controls.Add(this.panelBuy);
|
||||
this.groupBox1.Controls.Add(this.lblSkuSpec);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(420, 56);
|
||||
this.groupBox1.TabIndex = 549;
|
||||
this.groupBox1.TabStop = false;
|
||||
//
|
||||
// pictureBoxImg
|
||||
//
|
||||
this.pictureBoxImg.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pictureBoxImg.Location = new System.Drawing.Point(3, 17);
|
||||
this.pictureBoxImg.Name = "pictureBoxImg";
|
||||
this.pictureBoxImg.Size = new System.Drawing.Size(35, 36);
|
||||
this.pictureBoxImg.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBoxImg.TabIndex = 0;
|
||||
this.pictureBoxImg.TabStop = false;
|
||||
//
|
||||
// lblSkuId
|
||||
//
|
||||
this.lblSkuId.AutoSize = true;
|
||||
this.lblSkuId.Location = new System.Drawing.Point(304, 23);
|
||||
this.lblSkuId.Name = "lblSkuId";
|
||||
this.lblSkuId.Size = new System.Drawing.Size(35, 12);
|
||||
this.lblSkuId.TabIndex = 545;
|
||||
this.lblSkuId.Text = "skuid";
|
||||
this.lblSkuId.Visible = false;
|
||||
//
|
||||
// lblPrice
|
||||
//
|
||||
this.lblPrice.AutoSize = true;
|
||||
this.lblPrice.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblPrice.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.lblPrice.ForeColor = System.Drawing.Color.Red;
|
||||
this.lblPrice.Location = new System.Drawing.Point(339, 19);
|
||||
this.lblPrice.Name = "lblPrice";
|
||||
this.lblPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.lblPrice.Size = new System.Drawing.Size(44, 20);
|
||||
this.lblPrice.TabIndex = 33;
|
||||
this.lblPrice.Text = "21.86";
|
||||
//
|
||||
// panelBuy
|
||||
//
|
||||
this.panelBuy.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelBuy.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelBuy.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelBuy.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelBuy.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.panelBuy.Location = new System.Drawing.Point(382, 20);
|
||||
this.panelBuy.Name = "panelBuy";
|
||||
this.panelBuy.Size = new System.Drawing.Size(32, 21);
|
||||
this.panelBuy.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelBuy.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
|
||||
this.panelBuy.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
|
||||
this.panelBuy.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelBuy.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.panelBuy.Style.CornerDiameter = 1;
|
||||
this.panelBuy.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelBuy.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.panelBuy.Style.GradientAngle = 90;
|
||||
this.panelBuy.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelBuy.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
|
||||
this.panelBuy.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.panelBuy.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelBuy.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
|
||||
this.panelBuy.TabIndex = 541;
|
||||
this.panelBuy.Text = "确定";
|
||||
this.panelBuy.Click += new System.EventHandler(this.panelBuy_Click);
|
||||
//
|
||||
// lblSkuSpec
|
||||
//
|
||||
this.lblSkuSpec.AutoSize = true;
|
||||
this.lblSkuSpec.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblSkuSpec.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblSkuSpec.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.lblSkuSpec.Location = new System.Drawing.Point(42, 23);
|
||||
this.lblSkuSpec.Name = "lblSkuSpec";
|
||||
this.lblSkuSpec.Size = new System.Drawing.Size(64, 12);
|
||||
this.lblSkuSpec.TabIndex = 35;
|
||||
this.lblSkuSpec.Text = "大号,黑色";
|
||||
this.lblSkuSpec.MouseLeave += new System.EventHandler(this.lblSkuSpec_MouseLeave);
|
||||
this.lblSkuSpec.MouseHover += new System.EventHandler(this.lblSkuSpec_MouseHover);
|
||||
//
|
||||
// MyProSkuItemsControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "MyProSkuItemsControl";
|
||||
this.Size = new System.Drawing.Size(420, 56);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImg)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.PictureBox pictureBoxImg;
|
||||
private System.Windows.Forms.Label lblPrice;
|
||||
private System.Windows.Forms.Label lblSkuSpec;
|
||||
private DevComponents.DotNetBar.PanelEx panelBuy;
|
||||
private System.Windows.Forms.Label lblSkuId;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work.Pinduoduo;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public partial class MyProSkuItemsControl : UserControl
|
||||
{
|
||||
public MyProSkuItemsControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public string skuId { get; set; }
|
||||
|
||||
public string skuSpecx { get; set; }
|
||||
|
||||
public void setControlValuex(SkuDetail sku)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(sku.thumb_url))
|
||||
{
|
||||
//this.panelImg.Style.BackgroundImage = Image.FromStream(System.Net.WebRequest.Create("").GetResponse().GetResponseStream());
|
||||
var img = Image.FromStream(System.Net.WebRequest.Create(sku.thumb_url).GetResponse().GetResponseStream());
|
||||
this.pictureBoxImg.Image = img;
|
||||
}
|
||||
|
||||
string skuSpec = "";
|
||||
for (int i = 0; i < sku.skuSpecs.Count; i++)
|
||||
{
|
||||
if (i + 1 == sku.skuSpecs.Count)
|
||||
{
|
||||
skuSpec += sku.skuSpecs[i].spec_value;
|
||||
}
|
||||
else
|
||||
{
|
||||
skuSpec += sku.skuSpecs[i].spec_value + ",";
|
||||
}
|
||||
}
|
||||
this.lblSkuSpec.Text = skuSpec;
|
||||
skuSpecx = skuSpec;
|
||||
lblSkuId.Text = sku.sku_id;
|
||||
skuId = lblSkuId.Text;
|
||||
lblPrice.Text = (sku.group_price / 100).ToString();
|
||||
}
|
||||
|
||||
|
||||
public delegate void BuyClickHandle(object sender, EventArgs e);
|
||||
public event BuyClickHandle panelBuyClickHandle;
|
||||
|
||||
private void panelBuy_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (panelBuyClickHandle != null)
|
||||
panelBuyClickHandle(sender, new SkuEventArgs(skuId));//把按钮自身作为参数传递
|
||||
}
|
||||
|
||||
|
||||
public delegate void MouseHoverHandle(object sender, EventArgs e);
|
||||
public event MouseHoverHandle skuSpecMouseHoverHandle;
|
||||
|
||||
private void lblSkuSpec_MouseHover(object sender, EventArgs e)
|
||||
{
|
||||
if (skuSpecMouseHoverHandle != null)
|
||||
skuSpecMouseHoverHandle(sender, new SkuEventArgs(skuSpecx));//把按钮自身作为参数传递
|
||||
}
|
||||
|
||||
public delegate void MouseLeaveHandle(object sender, EventArgs e);
|
||||
public event MouseLeaveHandle skuSpecMouseLeaveHandle;
|
||||
|
||||
private void lblSkuSpec_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
if (skuSpecMouseLeaveHandle != null)
|
||||
skuSpecMouseLeaveHandle(sender, new SkuEventArgs(skuSpecx));//把按钮自身作为参数传递
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class SkuEventArgs : EventArgs
|
||||
{
|
||||
private string tag = "";
|
||||
//这里还可以继续添加其他需要传递的消息参数
|
||||
public SkuEventArgs(string tag)
|
||||
{
|
||||
this.tag = tag;
|
||||
}
|
||||
public string Tag
|
||||
{
|
||||
get { return this.tag; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public class MyProgressBar : ProgressBar
|
||||
{
|
||||
public MyProgressBar()
|
||||
{
|
||||
base.SetStyle(ControlStyles.UserPaint, true);
|
||||
}
|
||||
|
||||
//重写OnPaint方法
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
SolidBrush brush = null;
|
||||
Rectangle bounds = new Rectangle(0, 0, base.Width, base.Height);
|
||||
//...
|
||||
//e.Graphics.FillRectangle(new SolidBrush(this.BackColor), 1, 1, bounds.Width, bounds.Height);
|
||||
bounds.Height -= 4;
|
||||
bounds.Width = ((int)(bounds.Width * (((double)base.Value) / ((double)base.Maximum)))) - 4;
|
||||
brush = new SolidBrush(Color.FromArgb(33, 113, 202));
|
||||
e.Graphics.FillRectangle(brush, 2, 2, bounds.Width, bounds.Height);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public class TextAndImageColumn : DataGridViewTextBoxColumn
|
||||
{
|
||||
|
||||
private Image imageValue;
|
||||
private Size imageSize;
|
||||
|
||||
public TextAndImageColumn()
|
||||
{
|
||||
this.CellTemplate = new TextAndImageCell();
|
||||
}
|
||||
|
||||
public override object Clone()
|
||||
{
|
||||
TextAndImageColumn c = base.Clone() as TextAndImageColumn;
|
||||
c.imageValue = this.imageValue;
|
||||
c.imageSize = this.imageSize;
|
||||
return c;
|
||||
}
|
||||
|
||||
public Image Image
|
||||
{
|
||||
get { return this.imageValue; }
|
||||
set
|
||||
{
|
||||
if (this.Image != value)
|
||||
{
|
||||
this.imageValue = value;
|
||||
this.imageSize = value.Size;
|
||||
|
||||
if (this.InheritedStyle != null)
|
||||
{
|
||||
Padding inheritedPadding = this.InheritedStyle.Padding;
|
||||
this.DefaultCellStyle.Padding = new Padding(imageSize.Width,
|
||||
inheritedPadding.Top, inheritedPadding.Right,
|
||||
inheritedPadding.Bottom);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private TextAndImageCell TextAndImageCellTemplate
|
||||
{
|
||||
get { return this.CellTemplate as TextAndImageCell; }
|
||||
}
|
||||
internal Size ImageSize
|
||||
{
|
||||
get { return imageSize; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class TextAndImageCell : DataGridViewTextBoxCell
|
||||
{
|
||||
private Image imageValue;
|
||||
private Size imageSize;
|
||||
|
||||
public override object Clone()
|
||||
{
|
||||
TextAndImageCell c = base.Clone() as TextAndImageCell;
|
||||
c.imageValue = this.imageValue;
|
||||
c.imageSize = this.imageSize;
|
||||
return c;
|
||||
}
|
||||
|
||||
public Image Image
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.OwningColumn == null ||
|
||||
this.OwningTextAndImageColumn == null)
|
||||
{
|
||||
|
||||
return imageValue;
|
||||
}
|
||||
else if (this.imageValue != null)
|
||||
{
|
||||
return this.imageValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
return this.OwningTextAndImageColumn.Image;
|
||||
}
|
||||
}
|
||||
set
|
||||
{
|
||||
if (this.imageValue != value)
|
||||
{
|
||||
this.imageValue = value;
|
||||
this.imageSize = value.Size;
|
||||
|
||||
Padding inheritedPadding = this.InheritedStyle.Padding;
|
||||
this.Style.Padding = new Padding(imageSize.Width + 5,
|
||||
5, inheritedPadding.Right,
|
||||
inheritedPadding.Bottom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected override void Paint(Graphics graphics, Rectangle clipBounds,
|
||||
Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState,
|
||||
object value, object formattedValue, string errorText,
|
||||
DataGridViewCellStyle cellStyle,
|
||||
DataGridViewAdvancedBorderStyle advancedBorderStyle,
|
||||
DataGridViewPaintParts paintParts)
|
||||
{
|
||||
// Paint the base content
|
||||
base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState,
|
||||
value, formattedValue, errorText, cellStyle,
|
||||
advancedBorderStyle, paintParts);
|
||||
|
||||
if (this.Image != null)
|
||||
{
|
||||
// Draw the image clipped to the cell.
|
||||
System.Drawing.Drawing2D.GraphicsContainer container =
|
||||
graphics.BeginContainer();
|
||||
|
||||
graphics.SetClip(cellBounds);
|
||||
graphics.DrawImageUnscaled(this.Image, cellBounds.Location);
|
||||
|
||||
graphics.EndContainer(container);
|
||||
}
|
||||
}
|
||||
|
||||
private TextAndImageColumn OwningTextAndImageColumn
|
||||
{
|
||||
get { return this.OwningColumn as TextAndImageColumn; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Generated
+213
@@ -0,0 +1,213 @@
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
partial class UcPager
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.txtJumpPage = new System.Windows.Forms.TextBox();
|
||||
this.lblJump = new System.Windows.Forms.Label();
|
||||
this.lblLastPage = new System.Windows.Forms.Label();
|
||||
this.lblFirstPage = new System.Windows.Forms.Label();
|
||||
this.pnlPage = new System.Windows.Forms.Panel();
|
||||
this.lblPrev = new System.Windows.Forms.Label();
|
||||
this.lblNext = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.lblTotal = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txtJumpPage
|
||||
//
|
||||
this.txtJumpPage.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.txtJumpPage.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtJumpPage.Location = new System.Drawing.Point(379, 26);
|
||||
this.txtJumpPage.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtJumpPage.Name = "txtJumpPage";
|
||||
this.txtJumpPage.Size = new System.Drawing.Size(30, 22);
|
||||
this.txtJumpPage.TabIndex = 7;
|
||||
this.txtJumpPage.Text = "1";
|
||||
//
|
||||
// lblJump
|
||||
//
|
||||
this.lblJump.AutoSize = true;
|
||||
this.lblJump.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblJump.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblJump.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblJump.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lblJump.Location = new System.Drawing.Point(409, 0);
|
||||
this.lblJump.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lblJump.Name = "lblJump";
|
||||
this.lblJump.Size = new System.Drawing.Size(32, 75);
|
||||
this.lblJump.TabIndex = 6;
|
||||
this.lblJump.Text = "跳转";
|
||||
this.lblJump.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblJump.Click += new System.EventHandler(this.lblJump_Click);
|
||||
//
|
||||
// lblLastPage
|
||||
//
|
||||
this.lblLastPage.AutoSize = true;
|
||||
this.lblLastPage.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblLastPage.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblLastPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblLastPage.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lblLastPage.Location = new System.Drawing.Point(334, 0);
|
||||
this.lblLastPage.Name = "lblLastPage";
|
||||
this.lblLastPage.Size = new System.Drawing.Size(32, 75);
|
||||
this.lblLastPage.TabIndex = 2;
|
||||
this.lblLastPage.Text = "尾页";
|
||||
this.lblLastPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblLastPage.Click += new System.EventHandler(this.lblPage_Click);
|
||||
//
|
||||
// lblFirstPage
|
||||
//
|
||||
this.lblFirstPage.AutoSize = true;
|
||||
this.lblFirstPage.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblFirstPage.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblFirstPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblFirstPage.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lblFirstPage.Location = new System.Drawing.Point(236, 0);
|
||||
this.lblFirstPage.Name = "lblFirstPage";
|
||||
this.lblFirstPage.Size = new System.Drawing.Size(32, 75);
|
||||
this.lblFirstPage.TabIndex = 1;
|
||||
this.lblFirstPage.Text = "首页";
|
||||
this.lblFirstPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblFirstPage.Click += new System.EventHandler(this.lblPage_Click);
|
||||
//
|
||||
// pnlPage
|
||||
//
|
||||
this.pnlPage.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pnlPage.AutoSize = true;
|
||||
this.pnlPage.Location = new System.Drawing.Point(301, 37);
|
||||
this.pnlPage.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.pnlPage.Name = "pnlPage";
|
||||
this.pnlPage.Size = new System.Drawing.Size(0, 0);
|
||||
this.pnlPage.TabIndex = 0;
|
||||
//
|
||||
// lblPrev
|
||||
//
|
||||
this.lblPrev.AutoSize = true;
|
||||
this.lblPrev.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblPrev.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblPrev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblPrev.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lblPrev.Location = new System.Drawing.Point(277, 0);
|
||||
this.lblPrev.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
||||
this.lblPrev.Name = "lblPrev";
|
||||
this.lblPrev.Size = new System.Drawing.Size(18, 75);
|
||||
this.lblPrev.TabIndex = 3;
|
||||
this.lblPrev.Text = "◁";
|
||||
this.lblPrev.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblPrev.Click += new System.EventHandler(this.lblPage_Click);
|
||||
//
|
||||
// lblNext
|
||||
//
|
||||
this.lblNext.AutoSize = true;
|
||||
this.lblNext.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblNext.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblNext.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblNext.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lblNext.Location = new System.Drawing.Point(307, 0);
|
||||
this.lblNext.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
||||
this.lblNext.Name = "lblNext";
|
||||
this.lblNext.Size = new System.Drawing.Size(18, 75);
|
||||
this.lblNext.TabIndex = 4;
|
||||
this.lblNext.Text = "▷";
|
||||
this.lblNext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblNext.Click += new System.EventHandler(this.lblPage_Click);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 12;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 10F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblTotal, 10, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtJumpPage, 7, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblNext, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblPrev, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlPage, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblFirstPage, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblLastPage, 5, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblJump, 8, 0);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 1;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(788, 75);
|
||||
this.tableLayoutPanel1.TabIndex = 6;
|
||||
//
|
||||
// lblTotal
|
||||
//
|
||||
this.lblTotal.AutoSize = true;
|
||||
this.lblTotal.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblTotal.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblTotal.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblTotal.ForeColor = System.Drawing.Color.Black;
|
||||
this.lblTotal.Location = new System.Drawing.Point(454, 0);
|
||||
this.lblTotal.Name = "lblTotal";
|
||||
this.lblTotal.Size = new System.Drawing.Size(98, 75);
|
||||
this.lblTotal.TabIndex = 8;
|
||||
this.lblTotal.Text = "共 1 页 0 条数据";
|
||||
this.lblTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// UcPager
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Name = "UcPager";
|
||||
this.Size = new System.Drawing.Size(788, 75);
|
||||
this.Load += new System.EventHandler(this.UcPager_Load);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.TextBox txtJumpPage;
|
||||
private System.Windows.Forms.Label lblJump;
|
||||
private System.Windows.Forms.Label lblLastPage;
|
||||
private System.Windows.Forms.Label lblFirstPage;
|
||||
private System.Windows.Forms.Panel pnlPage;
|
||||
private System.Windows.Forms.Label lblPrev;
|
||||
private System.Windows.Forms.Label lblNext;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Label lblTotal;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,174 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using NaiBa.Util.Extension;
|
||||
|
||||
namespace _29WxOrder.MyControl
|
||||
{
|
||||
public partial class UcPager : UserControl
|
||||
{
|
||||
public UcPager()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void UcPager_Load(object sender, EventArgs e)
|
||||
{
|
||||
ShowPageNumber();
|
||||
}
|
||||
|
||||
public delegate void PageTurnEvent(object sender, int page);
|
||||
public event PageTurnEvent PageTurned;
|
||||
|
||||
public int TotalCount { get; set; } = -1;
|
||||
int totalPage = 1;
|
||||
public int TotalPage { get { return totalPage; } set { totalPage = value; ShowPageNumber(); } }
|
||||
int currentPage = 1;
|
||||
public int CurrentPage { get { return currentPage; } set { currentPage = value; ShowPageNumber(); } }
|
||||
|
||||
private void lblPage_Click(object sender, EventArgs e)
|
||||
{
|
||||
var label = sender as Label;
|
||||
if (label == null)
|
||||
return;
|
||||
if (label.Cursor != Cursors.Hand)
|
||||
return;
|
||||
|
||||
if (label.Text == "尾页")
|
||||
currentPage = TotalPage;
|
||||
else if (label.Text == "首页")
|
||||
currentPage = 1;
|
||||
else if (label.Text == "▷")
|
||||
currentPage += 1;
|
||||
else if (label.Text == "◁")
|
||||
currentPage -= 1;
|
||||
else
|
||||
currentPage = Convert.ToInt32(label.Text);
|
||||
|
||||
ShowPageNumber();
|
||||
|
||||
PageTurned(this, currentPage);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 显示分页页码
|
||||
/// </summary>
|
||||
void ShowPageNumber()
|
||||
{
|
||||
if (currentPage > totalPage)
|
||||
currentPage = totalPage;
|
||||
if (currentPage < 1)
|
||||
currentPage = 1;
|
||||
|
||||
int startPage;
|
||||
if (currentPage + 4 >= totalPage)
|
||||
startPage = totalPage - 8;
|
||||
else
|
||||
startPage = currentPage - 4;
|
||||
if (startPage < 1)
|
||||
startPage = 1;
|
||||
var endPage = startPage + 8;
|
||||
if (endPage > totalPage)
|
||||
endPage = totalPage;
|
||||
|
||||
lblTotal.Text = "共 " + totalPage + " 页" + (TotalCount >= 0 ? " " + TotalCount + " 条数据" : "");
|
||||
|
||||
if (totalPage >= 2)
|
||||
{
|
||||
lblFirstPage.Visible = lblLastPage.Visible = lblPrev.Visible = lblNext.Visible = txtJumpPage.Visible = lblJump.Visible = true;
|
||||
if (currentPage == 1)
|
||||
{
|
||||
lblFirstPage.Font = new Font(lblFirstPage.Font.FontFamily, lblFirstPage.Font.Size);
|
||||
lblFirstPage.Cursor = Cursors.Default;
|
||||
lblFirstPage.ForeColor = Color.Black;
|
||||
lblPrev.Font = new Font(lblPrev.Font.FontFamily, lblPrev.Font.Size);
|
||||
lblPrev.Cursor = Cursors.Default;
|
||||
lblPrev.ForeColor = Color.Black;
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFirstPage.Font = new Font(lblFirstPage.Font.FontFamily, lblFirstPage.Font.Size, FontStyle.Underline);
|
||||
lblFirstPage.Cursor = Cursors.Hand;
|
||||
lblFirstPage.ForeColor = Color.Blue;
|
||||
lblPrev.Font = new Font(lblPrev.Font.FontFamily, lblPrev.Font.Size, FontStyle.Underline);
|
||||
lblPrev.Cursor = Cursors.Hand;
|
||||
lblPrev.ForeColor = Color.Blue;
|
||||
}
|
||||
if (currentPage == totalPage)
|
||||
{
|
||||
lblLastPage.Font = new Font(lblFirstPage.Font.FontFamily, lblFirstPage.Font.Size);
|
||||
lblLastPage.Cursor = Cursors.Default;
|
||||
lblLastPage.ForeColor = Color.Black;
|
||||
lblNext.Font = new Font(lblPrev.Font.FontFamily, lblPrev.Font.Size);
|
||||
lblNext.Cursor = Cursors.Default;
|
||||
lblNext.ForeColor = Color.Black;
|
||||
}
|
||||
else
|
||||
{
|
||||
lblLastPage.Font = new Font(lblFirstPage.Font.FontFamily, lblFirstPage.Font.Size, FontStyle.Underline);
|
||||
lblLastPage.Cursor = Cursors.Hand;
|
||||
lblLastPage.ForeColor = Color.Blue;
|
||||
lblNext.Font = new Font(lblPrev.Font.FontFamily, lblPrev.Font.Size, FontStyle.Underline);
|
||||
lblNext.Cursor = Cursors.Hand;
|
||||
lblNext.ForeColor = Color.Blue;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lblFirstPage.Visible = lblLastPage.Visible = lblPrev.Visible = lblNext.Visible /*= txtJumpPage.Visible = lblJump.Visible*/ = false;
|
||||
}
|
||||
|
||||
// 初始化按钮数量
|
||||
while (pnlPage.Controls.Count <= endPage - startPage)
|
||||
{
|
||||
var l = new Label() { TextAlign = ContentAlignment.MiddleCenter, };
|
||||
l.Click += lblPage_Click;
|
||||
pnlPage.Controls.Add(l);
|
||||
}
|
||||
// 按钮偏移位置计数
|
||||
int x = (int)(lblNext.Font.Size / 2);
|
||||
// 调整按钮位置等
|
||||
for (int i = startPage; i < startPage + pnlPage.Controls.Count; i++)
|
||||
{
|
||||
Label lbl = pnlPage.Controls[i - startPage] as Label;
|
||||
if (i > endPage)
|
||||
{
|
||||
lbl.Visible = false;
|
||||
continue;
|
||||
}
|
||||
lbl.MinimumSize = new Size(20, (int)lblNext.Font.Size + 6);
|
||||
lbl.Visible = true;
|
||||
lbl.AutoSize = true;
|
||||
lbl.Text = i.ToString();
|
||||
lbl.Name = "lbl" + i.ToString();
|
||||
lbl.Location = new Point(x, lbl.Location.Y);
|
||||
if (i == currentPage)
|
||||
{
|
||||
lbl.Font = new Font("Microft YaHei", lbl.Font.Size);
|
||||
lbl.Cursor = Cursors.Default;
|
||||
lbl.ForeColor = Color.Black;
|
||||
}
|
||||
else
|
||||
{
|
||||
lbl.Font = new Font("Microft YaHei", lbl.Font.Size, FontStyle.Underline);
|
||||
lbl.Cursor = Cursors.Hand;
|
||||
lbl.ForeColor = Color.Blue;
|
||||
}
|
||||
x += lbl.Width + 10;
|
||||
}
|
||||
}
|
||||
|
||||
private void lblJump_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.currentPage = this.txtJumpPage.Text.ParseToInt();
|
||||
ShowPageNumber();
|
||||
PageTurned(this, currentPage);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
+603
@@ -0,0 +1,603 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class AfterSaleOrderListForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.订单插旗ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.灰色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.紫色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.蓝色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.绿色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.橙色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.红色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.修改备注ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.处理售后ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.退货退款ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.上家订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.隐藏该订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.显示所有隐藏售后ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.DgvSaleOrderList = new _29WxOrder.MyControl.MyDataGridView();
|
||||
this.col_aftersale_id = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_shop_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.shopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_up_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productSku = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersale_item_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productprice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.promotion_pay_amount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pay_amount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.post_amount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersalestatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_id = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.item_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buy_ordertime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.order_id_buy = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.buy_user = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buy_user_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.return_logistics_company_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.return_logistics_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_refund_status_buy = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_aftersale_type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersale_stutas = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.return_paytype = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.refund_status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.afterSaleMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.apply_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.update_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersale_order_type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersale_pay_amount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersale_post_amount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.got_pkg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buymsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.aftersalemark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvSaleOrderList)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.编辑ToolStripMenuItem,
|
||||
this.更新订单ToolStripMenuItem,
|
||||
this.订单插旗ToolStripMenuItem,
|
||||
this.修改备注ToolStripMenuItem,
|
||||
this.处理售后ToolStripMenuItem,
|
||||
this.退货退款ToolStripMenuItem,
|
||||
this.上家订单ToolStripMenuItem,
|
||||
this.隐藏该订单ToolStripMenuItem,
|
||||
this.显示所有隐藏售后ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(173, 202);
|
||||
this.contextMenuStrip1.VisibleChanged += new System.EventHandler(this.contextMenuStrip1_VisibleChanged);
|
||||
//
|
||||
// 编辑ToolStripMenuItem
|
||||
//
|
||||
this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem";
|
||||
this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.编辑ToolStripMenuItem.Text = "编辑";
|
||||
this.编辑ToolStripMenuItem.Click += new System.EventHandler(this.编辑ToolStripMenuItem_Click);
|
||||
//
|
||||
// 更新订单ToolStripMenuItem
|
||||
//
|
||||
this.更新订单ToolStripMenuItem.Name = "更新订单ToolStripMenuItem";
|
||||
this.更新订单ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.更新订单ToolStripMenuItem.Text = "更新订单";
|
||||
this.更新订单ToolStripMenuItem.Click += new System.EventHandler(this.afterSaleOrderMenu_Click);
|
||||
//
|
||||
// 订单插旗ToolStripMenuItem
|
||||
//
|
||||
this.订单插旗ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.灰色ToolStripMenuItem,
|
||||
this.紫色ToolStripMenuItem,
|
||||
this.蓝色ToolStripMenuItem,
|
||||
this.绿色ToolStripMenuItem,
|
||||
this.橙色ToolStripMenuItem,
|
||||
this.红色ToolStripMenuItem});
|
||||
this.订单插旗ToolStripMenuItem.Name = "订单插旗ToolStripMenuItem";
|
||||
this.订单插旗ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.订单插旗ToolStripMenuItem.Text = "订单插旗";
|
||||
//
|
||||
// 灰色ToolStripMenuItem
|
||||
//
|
||||
this.灰色ToolStripMenuItem.Name = "灰色ToolStripMenuItem";
|
||||
this.灰色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.灰色ToolStripMenuItem.Text = "灰色";
|
||||
this.灰色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 紫色ToolStripMenuItem
|
||||
//
|
||||
this.紫色ToolStripMenuItem.Name = "紫色ToolStripMenuItem";
|
||||
this.紫色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.紫色ToolStripMenuItem.Text = "紫色";
|
||||
this.紫色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 蓝色ToolStripMenuItem
|
||||
//
|
||||
this.蓝色ToolStripMenuItem.Name = "蓝色ToolStripMenuItem";
|
||||
this.蓝色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.蓝色ToolStripMenuItem.Text = "蓝色";
|
||||
this.蓝色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 绿色ToolStripMenuItem
|
||||
//
|
||||
this.绿色ToolStripMenuItem.Name = "绿色ToolStripMenuItem";
|
||||
this.绿色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.绿色ToolStripMenuItem.Text = "绿色";
|
||||
this.绿色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 橙色ToolStripMenuItem
|
||||
//
|
||||
this.橙色ToolStripMenuItem.Name = "橙色ToolStripMenuItem";
|
||||
this.橙色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.橙色ToolStripMenuItem.Text = "橙色";
|
||||
this.橙色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 红色ToolStripMenuItem
|
||||
//
|
||||
this.红色ToolStripMenuItem.Name = "红色ToolStripMenuItem";
|
||||
this.红色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.红色ToolStripMenuItem.Text = "红色";
|
||||
this.红色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 修改备注ToolStripMenuItem
|
||||
//
|
||||
this.修改备注ToolStripMenuItem.Name = "修改备注ToolStripMenuItem";
|
||||
this.修改备注ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.修改备注ToolStripMenuItem.Text = "修改备注";
|
||||
this.修改备注ToolStripMenuItem.Visible = false;
|
||||
this.修改备注ToolStripMenuItem.Click += new System.EventHandler(this.修改备注ToolStripMenuItem_Click);
|
||||
//
|
||||
// 处理售后ToolStripMenuItem
|
||||
//
|
||||
this.处理售后ToolStripMenuItem.Name = "处理售后ToolStripMenuItem";
|
||||
this.处理售后ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.处理售后ToolStripMenuItem.Text = "处理售后";
|
||||
this.处理售后ToolStripMenuItem.Click += new System.EventHandler(this.处理售后ToolStripMenuItem_Click);
|
||||
//
|
||||
// 退货退款ToolStripMenuItem
|
||||
//
|
||||
this.退货退款ToolStripMenuItem.Name = "退货退款ToolStripMenuItem";
|
||||
this.退货退款ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.退货退款ToolStripMenuItem.Text = "退货退款";
|
||||
this.退货退款ToolStripMenuItem.Click += new System.EventHandler(this.退货退款ToolStripMenuItem_Click);
|
||||
//
|
||||
// 上家订单ToolStripMenuItem
|
||||
//
|
||||
this.上家订单ToolStripMenuItem.Name = "上家订单ToolStripMenuItem";
|
||||
this.上家订单ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.上家订单ToolStripMenuItem.Text = "上家订单";
|
||||
this.上家订单ToolStripMenuItem.Click += new System.EventHandler(this.上家订单ToolStripMenuItem_Click);
|
||||
//
|
||||
// 隐藏该订单ToolStripMenuItem
|
||||
//
|
||||
this.隐藏该订单ToolStripMenuItem.Name = "隐藏该订单ToolStripMenuItem";
|
||||
this.隐藏该订单ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.隐藏该订单ToolStripMenuItem.Text = "隐藏这条售后";
|
||||
this.隐藏该订单ToolStripMenuItem.Click += new System.EventHandler(this.隐藏该订单ToolStripMenuItem_Click);
|
||||
//
|
||||
// 显示所有隐藏售后ToolStripMenuItem
|
||||
//
|
||||
this.显示所有隐藏售后ToolStripMenuItem.Name = "显示所有隐藏售后ToolStripMenuItem";
|
||||
this.显示所有隐藏售后ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
||||
this.显示所有隐藏售后ToolStripMenuItem.Text = "显示所有隐藏售后";
|
||||
this.显示所有隐藏售后ToolStripMenuItem.Visible = false;
|
||||
this.显示所有隐藏售后ToolStripMenuItem.Click += new System.EventHandler(this.显示隐藏售后ToolStripMenuItem_Click);
|
||||
//
|
||||
// DgvSaleOrderList
|
||||
//
|
||||
this.DgvSaleOrderList.AllowUserToAddRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
|
||||
this.DgvSaleOrderList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DgvSaleOrderList.BackgroundColor = System.Drawing.Color.White;
|
||||
this.DgvSaleOrderList.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvSaleOrderList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DgvSaleOrderList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DgvSaleOrderList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.col_aftersale_id,
|
||||
this.col_shop_name,
|
||||
this.shopId,
|
||||
this.col_up_product_id,
|
||||
this.col_product_id,
|
||||
this.col_title,
|
||||
this.productSku,
|
||||
this.aftersale_item_num,
|
||||
this.productprice,
|
||||
this.promotion_pay_amount,
|
||||
this.pay_amount,
|
||||
this.post_amount,
|
||||
this.aftersalestatus,
|
||||
this.col_order_id,
|
||||
this.item_num,
|
||||
this.buy_ordertime,
|
||||
this.order_id_buy,
|
||||
this.buy_user,
|
||||
this.buy_user_id,
|
||||
this.return_logistics_company_name,
|
||||
this.return_logistics_code,
|
||||
this.col_refund_status_buy,
|
||||
this.col_aftersale_type,
|
||||
this.aftersale_stutas,
|
||||
this.return_paytype,
|
||||
this.refund_status,
|
||||
this.afterSaleMsg,
|
||||
this.apply_time,
|
||||
this.update_time,
|
||||
this.aftersale_order_type,
|
||||
this.aftersale_pay_amount,
|
||||
this.aftersale_post_amount,
|
||||
this.got_pkg,
|
||||
this.buymsg,
|
||||
this.aftersalemark});
|
||||
this.DgvSaleOrderList.ContextMenuStrip = this.contextMenuStrip1;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvSaleOrderList.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.DgvSaleOrderList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.DgvSaleOrderList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.DgvSaleOrderList.IsCustomSort = false;
|
||||
this.DgvSaleOrderList.Location = new System.Drawing.Point(0, 0);
|
||||
this.DgvSaleOrderList.Name = "DgvSaleOrderList";
|
||||
this.DgvSaleOrderList.ReadOnly = true;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DgvSaleOrderList.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.DgvSaleOrderList.RowTemplate.Height = 23;
|
||||
this.DgvSaleOrderList.ShowCellToolTips = false;
|
||||
this.DgvSaleOrderList.Size = new System.Drawing.Size(800, 450);
|
||||
this.DgvSaleOrderList.TabIndex = 1;
|
||||
this.DgvSaleOrderList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAfterSaleOrderList_CellContentClick);
|
||||
this.DgvSaleOrderList.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvAfterSaleOrderList_CellMouseDown);
|
||||
this.DgvSaleOrderList.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAfterSaleOrderList_CellMouseEnter);
|
||||
this.DgvSaleOrderList.CellMouseLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAfterSaleOrderList_CellMouseLeave);
|
||||
this.DgvSaleOrderList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DgvSaleOrderList_MouseDown);
|
||||
//
|
||||
// col_aftersale_id
|
||||
//
|
||||
this.col_aftersale_id.HeaderText = "售后订单编号";
|
||||
this.col_aftersale_id.Name = "col_aftersale_id";
|
||||
this.col_aftersale_id.ReadOnly = true;
|
||||
this.col_aftersale_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_aftersale_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// col_shop_name
|
||||
//
|
||||
this.col_shop_name.HeaderText = "店铺名称";
|
||||
this.col_shop_name.Name = "col_shop_name";
|
||||
this.col_shop_name.ReadOnly = true;
|
||||
//
|
||||
// shopId
|
||||
//
|
||||
this.shopId.HeaderText = "店铺编号";
|
||||
this.shopId.Name = "shopId";
|
||||
this.shopId.ReadOnly = true;
|
||||
//
|
||||
// col_up_product_id
|
||||
//
|
||||
this.col_up_product_id.HeaderText = "上家ID";
|
||||
this.col_up_product_id.Name = "col_up_product_id";
|
||||
this.col_up_product_id.ReadOnly = true;
|
||||
this.col_up_product_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// col_product_id
|
||||
//
|
||||
this.col_product_id.HeaderText = "本店ID";
|
||||
this.col_product_id.Name = "col_product_id";
|
||||
this.col_product_id.ReadOnly = true;
|
||||
this.col_product_id.Width = 120;
|
||||
//
|
||||
// col_title
|
||||
//
|
||||
this.col_title.HeaderText = "商品名称";
|
||||
this.col_title.Name = "col_title";
|
||||
this.col_title.ReadOnly = true;
|
||||
//
|
||||
// productSku
|
||||
//
|
||||
this.productSku.HeaderText = "规格";
|
||||
this.productSku.Name = "productSku";
|
||||
this.productSku.ReadOnly = true;
|
||||
//
|
||||
// aftersale_item_num
|
||||
//
|
||||
this.aftersale_item_num.HeaderText = "售后商品数量";
|
||||
this.aftersale_item_num.Name = "aftersale_item_num";
|
||||
this.aftersale_item_num.ReadOnly = true;
|
||||
this.aftersale_item_num.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// productprice
|
||||
//
|
||||
this.productprice.HeaderText = "商品金额";
|
||||
this.productprice.Name = "productprice";
|
||||
this.productprice.ReadOnly = true;
|
||||
this.productprice.Width = 80;
|
||||
//
|
||||
// promotion_pay_amount
|
||||
//
|
||||
this.promotion_pay_amount.HeaderText = "优惠金额";
|
||||
this.promotion_pay_amount.Name = "promotion_pay_amount";
|
||||
this.promotion_pay_amount.ReadOnly = true;
|
||||
this.promotion_pay_amount.Width = 80;
|
||||
//
|
||||
// pay_amount
|
||||
//
|
||||
this.pay_amount.HeaderText = "付款金额";
|
||||
this.pay_amount.Name = "pay_amount";
|
||||
this.pay_amount.ReadOnly = true;
|
||||
this.pay_amount.Width = 80;
|
||||
//
|
||||
// post_amount
|
||||
//
|
||||
this.post_amount.HeaderText = "物流金额";
|
||||
this.post_amount.Name = "post_amount";
|
||||
this.post_amount.ReadOnly = true;
|
||||
this.post_amount.Width = 80;
|
||||
//
|
||||
// aftersalestatus
|
||||
//
|
||||
this.aftersalestatus.HeaderText = "订单状态";
|
||||
this.aftersalestatus.Name = "aftersalestatus";
|
||||
this.aftersalestatus.ReadOnly = true;
|
||||
//
|
||||
// col_order_id
|
||||
//
|
||||
this.col_order_id.HeaderText = "订单号";
|
||||
this.col_order_id.Name = "col_order_id";
|
||||
this.col_order_id.ReadOnly = true;
|
||||
this.col_order_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_order_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_order_id.Width = 130;
|
||||
//
|
||||
// item_num
|
||||
//
|
||||
this.item_num.HeaderText = "购买数量";
|
||||
this.item_num.Name = "item_num";
|
||||
this.item_num.ReadOnly = true;
|
||||
//
|
||||
// buy_ordertime
|
||||
//
|
||||
this.buy_ordertime.HeaderText = "拍单时间";
|
||||
this.buy_ordertime.Name = "buy_ordertime";
|
||||
this.buy_ordertime.ReadOnly = true;
|
||||
//
|
||||
// order_id_buy
|
||||
//
|
||||
this.order_id_buy.HeaderText = "拍单订单号";
|
||||
this.order_id_buy.Name = "order_id_buy";
|
||||
this.order_id_buy.ReadOnly = true;
|
||||
this.order_id_buy.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.order_id_buy.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// buy_user
|
||||
//
|
||||
this.buy_user.HeaderText = "买手号";
|
||||
this.buy_user.Name = "buy_user";
|
||||
this.buy_user.ReadOnly = true;
|
||||
//
|
||||
// buy_user_id
|
||||
//
|
||||
this.buy_user_id.HeaderText = "买手号ID";
|
||||
this.buy_user_id.Name = "buy_user_id";
|
||||
this.buy_user_id.ReadOnly = true;
|
||||
this.buy_user_id.Visible = false;
|
||||
//
|
||||
// return_logistics_company_name
|
||||
//
|
||||
this.return_logistics_company_name.HeaderText = "退货物流公司";
|
||||
this.return_logistics_company_name.Name = "return_logistics_company_name";
|
||||
this.return_logistics_company_name.ReadOnly = true;
|
||||
this.return_logistics_company_name.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// return_logistics_code
|
||||
//
|
||||
this.return_logistics_code.HeaderText = "退货物流单号";
|
||||
this.return_logistics_code.Name = "return_logistics_code";
|
||||
this.return_logistics_code.ReadOnly = true;
|
||||
//
|
||||
// col_refund_status_buy
|
||||
//
|
||||
this.col_refund_status_buy.HeaderText = "总店退款状态";
|
||||
this.col_refund_status_buy.Name = "col_refund_status_buy";
|
||||
this.col_refund_status_buy.ReadOnly = true;
|
||||
//
|
||||
// col_aftersale_type
|
||||
//
|
||||
this.col_aftersale_type.HeaderText = "售后类型";
|
||||
this.col_aftersale_type.Name = "col_aftersale_type";
|
||||
this.col_aftersale_type.ReadOnly = true;
|
||||
//
|
||||
// aftersale_stutas
|
||||
//
|
||||
this.aftersale_stutas.HeaderText = "售后状态";
|
||||
this.aftersale_stutas.Name = "aftersale_stutas";
|
||||
this.aftersale_stutas.ReadOnly = true;
|
||||
//
|
||||
// return_paytype
|
||||
//
|
||||
this.return_paytype.HeaderText = "退款方式";
|
||||
this.return_paytype.Name = "return_paytype";
|
||||
this.return_paytype.ReadOnly = true;
|
||||
//
|
||||
// refund_status
|
||||
//
|
||||
this.refund_status.HeaderText = "退款状态";
|
||||
this.refund_status.Name = "refund_status";
|
||||
this.refund_status.ReadOnly = true;
|
||||
//
|
||||
// afterSaleMsg
|
||||
//
|
||||
this.afterSaleMsg.HeaderText = "退款原因";
|
||||
this.afterSaleMsg.Name = "afterSaleMsg";
|
||||
this.afterSaleMsg.ReadOnly = true;
|
||||
//
|
||||
// apply_time
|
||||
//
|
||||
this.apply_time.HeaderText = "申请售后时间";
|
||||
this.apply_time.Name = "apply_time";
|
||||
this.apply_time.ReadOnly = true;
|
||||
//
|
||||
// update_time
|
||||
//
|
||||
this.update_time.HeaderText = "最近更新时间";
|
||||
this.update_time.Name = "update_time";
|
||||
this.update_time.ReadOnly = true;
|
||||
//
|
||||
// aftersale_order_type
|
||||
//
|
||||
this.aftersale_order_type.HeaderText = "售后退款类型";
|
||||
this.aftersale_order_type.Name = "aftersale_order_type";
|
||||
this.aftersale_order_type.ReadOnly = true;
|
||||
//
|
||||
// aftersale_pay_amount
|
||||
//
|
||||
this.aftersale_pay_amount.HeaderText = "售后退款金额";
|
||||
this.aftersale_pay_amount.Name = "aftersale_pay_amount";
|
||||
this.aftersale_pay_amount.ReadOnly = true;
|
||||
//
|
||||
// aftersale_post_amount
|
||||
//
|
||||
this.aftersale_post_amount.HeaderText = "售后退运费金额";
|
||||
this.aftersale_post_amount.Name = "aftersale_post_amount";
|
||||
this.aftersale_post_amount.ReadOnly = true;
|
||||
//
|
||||
// got_pkg
|
||||
//
|
||||
this.got_pkg.HeaderText = "买家是否收到货";
|
||||
this.got_pkg.Name = "got_pkg";
|
||||
this.got_pkg.ReadOnly = true;
|
||||
//
|
||||
// buymsg
|
||||
//
|
||||
this.buymsg.HeaderText = "买家留言";
|
||||
this.buymsg.Name = "buymsg";
|
||||
this.buymsg.ReadOnly = true;
|
||||
//
|
||||
// aftersalemark
|
||||
//
|
||||
this.aftersalemark.HeaderText = "售后备注";
|
||||
this.aftersalemark.Name = "aftersalemark";
|
||||
this.aftersalemark.ReadOnly = true;
|
||||
//
|
||||
// AfterSaleOrderListForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.DgvSaleOrderList);
|
||||
this.Name = "AfterSaleOrderListForm";
|
||||
this.Text = "AfterSaleOrderListForm";
|
||||
this.Load += new System.EventHandler(this.AfterSaleOrderListForm_Load);
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvSaleOrderList)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private MyControl.MyDataGridView DgvSaleOrderList;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 订单插旗ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 灰色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 紫色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 蓝色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 绿色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 橙色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 红色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 处理售后ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 上家订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 修改备注ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 隐藏该订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 显示所有隐藏售后ToolStripMenuItem;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_aftersale_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn shopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_up_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_title;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productSku;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersale_item_num;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productprice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn promotion_pay_amount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pay_amount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn post_amount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersalestatus;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn item_num;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buy_ordertime;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn order_id_buy;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buy_user;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buy_user_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn return_logistics_company_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn return_logistics_code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_refund_status_buy;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_aftersale_type;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersale_stutas;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn return_paytype;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn refund_status;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn afterSaleMsg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn apply_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn update_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersale_order_type;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersale_pay_amount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersale_post_amount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn got_pkg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buymsg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn aftersalemark;
|
||||
private System.Windows.Forms.ToolStripMenuItem 退货退款ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,228 @@
|
||||
<?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="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="col_aftersale_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_shop_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="shopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_up_product_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_product_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productSku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersale_item_num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productprice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="promotion_pay_amount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pay_amount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="post_amount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersalestatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="item_num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buy_ordertime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order_id_buy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buy_user.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buy_user_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="return_logistics_company_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="return_logistics_code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_refund_status_buy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_aftersale_type.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersale_stutas.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="return_paytype.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="refund_status.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="afterSaleMsg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="apply_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="update_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersale_order_type.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersale_pay_amount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersale_post_amount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="got_pkg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buymsg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="aftersalemark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -0,0 +1,39 @@
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class AfterSaleOrderRefundAddressForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "AfterSaleOrderRefundAddressForm";
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class AfterSaleOrderRefundAddressForm : Form
|
||||
{
|
||||
public AfterSaleOrderRefundAddressForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,400 @@
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class AfterSaleReturnRefundForm
|
||||
{
|
||||
/// <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(AfterSaleReturnRefundForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.txtFullAddress = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.textBoxX5 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnAcceptReturnRefund = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlAutoMatch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.txtMobile = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.txtDetailAddress = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.cmbTown = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.cmbDistricts = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.cmbCity = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.cmbProvince = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(768, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(2, 0, 2, 2);
|
||||
this.panel1.Size = new System.Drawing.Size(800, 418);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.White;
|
||||
this.panel3.Controls.Add(this.txtFullAddress);
|
||||
this.panel3.Controls.Add(this.panelEx2);
|
||||
this.panel3.Controls.Add(this.btnAcceptReturnRefund);
|
||||
this.panel3.Controls.Add(this.pnlAutoMatch);
|
||||
this.panel3.Controls.Add(this.txtName);
|
||||
this.panel3.Controls.Add(this.txtMobile);
|
||||
this.panel3.Controls.Add(this.txtDetailAddress);
|
||||
this.panel3.Controls.Add(this.cmbTown);
|
||||
this.panel3.Controls.Add(this.cmbDistricts);
|
||||
this.panel3.Controls.Add(this.cmbCity);
|
||||
this.panel3.Controls.Add(this.cmbProvince);
|
||||
this.panel3.Controls.Add(this.label5);
|
||||
this.panel3.Controls.Add(this.label4);
|
||||
this.panel3.Controls.Add(this.label3);
|
||||
this.panel3.Controls.Add(this.label2);
|
||||
this.panel3.Controls.Add(this.label1);
|
||||
this.panel3.Controls.Add(this.textBoxX5);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(2, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(796, 416);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// txtFullAddress
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtFullAddress.Border.Class = "TextBoxBorder";
|
||||
this.txtFullAddress.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtFullAddress.Location = new System.Drawing.Point(130, 39);
|
||||
this.txtFullAddress.Multiline = true;
|
||||
this.txtFullAddress.Name = "txtFullAddress";
|
||||
this.txtFullAddress.PreventEnterBeep = true;
|
||||
this.txtFullAddress.Size = new System.Drawing.Size(502, 52);
|
||||
this.txtFullAddress.TabIndex = 1;
|
||||
this.txtFullAddress.WatermarkText = "请粘贴完整退货地址信息(格式:姓名 手机号 省市区 详细地址),点击自动匹配将自动拆分地址信息";
|
||||
//
|
||||
// textBoxX5
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.textBoxX5.Border.Class = "TextBoxBorder";
|
||||
this.textBoxX5.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.textBoxX5.Location = new System.Drawing.Point(130, 165);
|
||||
this.textBoxX5.Name = "textBoxX5";
|
||||
this.textBoxX5.PreventEnterBeep = true;
|
||||
this.textBoxX5.Size = new System.Drawing.Size(218, 23);
|
||||
this.textBoxX5.TabIndex = 0;
|
||||
//
|
||||
// panelEx2
|
||||
//
|
||||
this.panelEx2.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx2.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.panelEx2.Location = new System.Drawing.Point(714, 375);
|
||||
this.panelEx2.Name = "panelEx2";
|
||||
this.panelEx2.Size = new System.Drawing.Size(70, 21);
|
||||
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.White;
|
||||
this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.White;
|
||||
this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx2.Style.BorderColor.Color = System.Drawing.Color.Transparent;
|
||||
this.panelEx2.Style.CornerDiameter = 1;
|
||||
this.panelEx2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx2.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx2.Style.GradientAngle = 90;
|
||||
this.panelEx2.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx2.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx2.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx2.TabIndex = 692;
|
||||
this.panelEx2.Text = "取消";
|
||||
this.panelEx2.Click += new System.EventHandler(this.panelEx2_Click);
|
||||
//
|
||||
// btnAcceptReturnRefund
|
||||
//
|
||||
this.btnAcceptReturnRefund.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnAcceptReturnRefund.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnAcceptReturnRefund.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAcceptReturnRefund.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnAcceptReturnRefund.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.btnAcceptReturnRefund.Location = new System.Drawing.Point(638, 375);
|
||||
this.btnAcceptReturnRefund.Name = "btnAcceptReturnRefund";
|
||||
this.btnAcceptReturnRefund.Size = new System.Drawing.Size(70, 21);
|
||||
this.btnAcceptReturnRefund.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAcceptReturnRefund.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnAcceptReturnRefund.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnAcceptReturnRefund.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnAcceptReturnRefund.Style.CornerDiameter = 1;
|
||||
this.btnAcceptReturnRefund.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnAcceptReturnRefund.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnAcceptReturnRefund.Style.GradientAngle = 90;
|
||||
this.btnAcceptReturnRefund.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAcceptReturnRefund.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnAcceptReturnRefund.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnAcceptReturnRefund.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAcceptReturnRefund.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnAcceptReturnRefund.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnAcceptReturnRefund.TabIndex = 691;
|
||||
this.btnAcceptReturnRefund.Text = "确定";
|
||||
this.btnAcceptReturnRefund.Click += new System.EventHandler(this.btnAcceptReturnRefund_Click);
|
||||
//
|
||||
// pnlAutoMatch
|
||||
//
|
||||
this.pnlAutoMatch.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlAutoMatch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlAutoMatch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlAutoMatch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlAutoMatch.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlAutoMatch.Location = new System.Drawing.Point(638, 70);
|
||||
this.pnlAutoMatch.Name = "pnlAutoMatch";
|
||||
this.pnlAutoMatch.Size = new System.Drawing.Size(70, 21);
|
||||
this.pnlAutoMatch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlAutoMatch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlAutoMatch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlAutoMatch.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlAutoMatch.Style.CornerDiameter = 1;
|
||||
this.pnlAutoMatch.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlAutoMatch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlAutoMatch.Style.GradientAngle = 90;
|
||||
this.pnlAutoMatch.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlAutoMatch.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlAutoMatch.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlAutoMatch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlAutoMatch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlAutoMatch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlAutoMatch.TabIndex = 2;
|
||||
this.pnlAutoMatch.TabStop = true;
|
||||
this.pnlAutoMatch.Text = "自动匹配";
|
||||
this.pnlAutoMatch.Click += new System.EventHandler(this.pnlAutoMatch_Click);
|
||||
//
|
||||
// txtName
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtName.Border.Class = "TextBoxBorder";
|
||||
this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtName.Location = new System.Drawing.Point(130, 232);
|
||||
this.txtName.Name = "txtName";
|
||||
this.txtName.PreventEnterBeep = true;
|
||||
this.txtName.Size = new System.Drawing.Size(502, 23);
|
||||
this.txtName.TabIndex = 13;
|
||||
this.txtName.WatermarkText = "请填写姓名";
|
||||
//
|
||||
// txtMobile
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtMobile.Border.Class = "TextBoxBorder";
|
||||
this.txtMobile.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtMobile.Location = new System.Drawing.Point(130, 198);
|
||||
this.txtMobile.Name = "txtMobile";
|
||||
this.txtMobile.PreventEnterBeep = true;
|
||||
this.txtMobile.Size = new System.Drawing.Size(502, 23);
|
||||
this.txtMobile.TabIndex = 11;
|
||||
this.txtMobile.WatermarkText = "请填写手机号";
|
||||
//
|
||||
// txtDetailAddress
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtDetailAddress.Border.Class = "TextBoxBorder";
|
||||
this.txtDetailAddress.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtDetailAddress.Location = new System.Drawing.Point(130, 136);
|
||||
this.txtDetailAddress.Multiline = true;
|
||||
this.txtDetailAddress.Name = "txtDetailAddress";
|
||||
this.txtDetailAddress.PreventEnterBeep = true;
|
||||
this.txtDetailAddress.Size = new System.Drawing.Size(502, 52);
|
||||
this.txtDetailAddress.TabIndex = 9;
|
||||
this.txtDetailAddress.WatermarkText = "请填写详细地址";
|
||||
//
|
||||
// cmbTown
|
||||
//
|
||||
this.cmbTown.DisplayMember = "Text";
|
||||
this.cmbTown.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmbTown.FormattingEnabled = true;
|
||||
this.cmbTown.ItemHeight = 18;
|
||||
this.cmbTown.Location = new System.Drawing.Point(511, 101);
|
||||
this.cmbTown.Name = "cmbTown";
|
||||
this.cmbTown.Size = new System.Drawing.Size(121, 24);
|
||||
this.cmbTown.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbTown.TabIndex = 7;
|
||||
this.cmbTown.WatermarkText = "--请选择--";
|
||||
//
|
||||
// cmbDistricts
|
||||
//
|
||||
this.cmbDistricts.DisplayMember = "Text";
|
||||
this.cmbDistricts.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmbDistricts.FormattingEnabled = true;
|
||||
this.cmbDistricts.ItemHeight = 18;
|
||||
this.cmbDistricts.Location = new System.Drawing.Point(384, 101);
|
||||
this.cmbDistricts.Name = "cmbDistricts";
|
||||
this.cmbDistricts.Size = new System.Drawing.Size(121, 24);
|
||||
this.cmbDistricts.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbDistricts.TabIndex = 6;
|
||||
this.cmbDistricts.WatermarkText = "--请选择--";
|
||||
this.cmbDistricts.SelectedIndexChanged += new System.EventHandler(this.cmbDistricts_SelectedIndexChanged);
|
||||
//
|
||||
// cmbCity
|
||||
//
|
||||
this.cmbCity.DisplayMember = "Text";
|
||||
this.cmbCity.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmbCity.FormattingEnabled = true;
|
||||
this.cmbCity.ItemHeight = 18;
|
||||
this.cmbCity.Location = new System.Drawing.Point(257, 101);
|
||||
this.cmbCity.Name = "cmbCity";
|
||||
this.cmbCity.Size = new System.Drawing.Size(121, 24);
|
||||
this.cmbCity.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbCity.TabIndex = 5;
|
||||
this.cmbCity.WatermarkText = "--请选择--";
|
||||
this.cmbCity.SelectedIndexChanged += new System.EventHandler(this.cmbCity_SelectedIndexChanged);
|
||||
//
|
||||
// cmbProvince
|
||||
//
|
||||
this.cmbProvince.DisplayMember = "Text";
|
||||
this.cmbProvince.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cmbProvince.FormattingEnabled = true;
|
||||
this.cmbProvince.ItemHeight = 18;
|
||||
this.cmbProvince.Location = new System.Drawing.Point(130, 102);
|
||||
this.cmbProvince.Name = "cmbProvince";
|
||||
this.cmbProvince.Size = new System.Drawing.Size(121, 24);
|
||||
this.cmbProvince.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cmbProvince.TabIndex = 4;
|
||||
this.cmbProvince.WatermarkText = "--请选择--";
|
||||
this.cmbProvince.SelectedIndexChanged += new System.EventHandler(this.cmbProvince_SelectedIndexChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(80, 235);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(44, 17);
|
||||
this.label5.TabIndex = 12;
|
||||
this.label5.Text = "姓名:";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(68, 201);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(56, 17);
|
||||
this.label4.TabIndex = 10;
|
||||
this.label4.Text = "手机号:";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.Location = new System.Drawing.Point(56, 139);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(68, 17);
|
||||
this.label3.TabIndex = 8;
|
||||
this.label3.Text = "详细地址:";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(68, 105);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(56, 17);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "省市区:";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(56, 39);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(68, 17);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "退货地址:";
|
||||
//
|
||||
// AfterSaleReturnRefundForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.panel1);
|
||||
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 = "AfterSaleReturnRefundForm";
|
||||
this.Text = "退货退款";
|
||||
this.TitleText = "退货退款";
|
||||
this.Load += new System.EventHandler(this.AfterSaleReturnRefundForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbTown;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbDistricts;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbCity;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbProvince;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtFullAddress;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtName;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtMobile;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtDetailAddress;
|
||||
private DevComponents.DotNetBar.PanelEx pnlAutoMatch;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx2;
|
||||
private DevComponents.DotNetBar.PanelEx btnAcceptReturnRefund;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX5;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,409 @@
|
||||
using AllBase;
|
||||
using AllBase.Model.Result;
|
||||
using DevComponents.DotNetBar;
|
||||
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.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.Api;
|
||||
using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
|
||||
public partial class AfterSaleReturnRefundForm : BaseForm
|
||||
{
|
||||
public static List<AddressProvince> lstProvince = new List<AddressProvince>();
|
||||
public static List<AddressArea> lstArea = new List<AddressArea>();
|
||||
string _orderId;
|
||||
string _shopId;
|
||||
string _afterSaleId;
|
||||
public bool ResultFlag = false;
|
||||
|
||||
public AfterSaleReturnRefundForm(string afterSaleId = "", string orderId = "", string shopId = "")
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
_orderId = orderId;
|
||||
_shopId = shopId;
|
||||
_afterSaleId = afterSaleId;
|
||||
}
|
||||
|
||||
private void AfterSaleReturnRefundForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
var result = textBoxX5.Focus();
|
||||
|
||||
Task.Run(() => { GetAddress(); });
|
||||
}
|
||||
|
||||
private void pnlAutoMatch_Click(object sender, EventArgs e)
|
||||
{
|
||||
var fullAddressArr = txtFullAddress.Text.Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
if (fullAddressArr.Length < 3)
|
||||
{
|
||||
BaseMsgForm.ShowError("地址格式错误,识别失败!");
|
||||
return;
|
||||
}
|
||||
|
||||
txtMobile.Text = txtName.Text = txtDetailAddress.Text = "";
|
||||
|
||||
var mobileStr = fullAddressArr[1];
|
||||
var mobile = BaseRegex.GetMatchRegexString(ref mobileStr, "(\\d{11})");
|
||||
if (string.IsNullOrEmpty(mobile))
|
||||
mobile = BaseRegex.GetMatchRegexString(ref mobileStr, "(0\\d{2,3}-\\d{7,8})");
|
||||
if (string.IsNullOrEmpty(mobile))
|
||||
{
|
||||
BaseMsgForm.ShowError("手机格式不正确,识别失败!");
|
||||
return;
|
||||
}
|
||||
|
||||
this.txtName.Text = fullAddressArr[0];
|
||||
this.txtMobile.Text = mobile;
|
||||
|
||||
AutoMatchAddress(fullAddressArr[2]);
|
||||
|
||||
if (fullAddressArr.Length > 3)
|
||||
{
|
||||
this.txtDetailAddress.Text = fullAddressArr[3];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void GetAddress()
|
||||
{
|
||||
if (lstProvince.Count == 0)
|
||||
{
|
||||
DouShopLoginInfo shop = CollectionClass.DouShopLoginList.Find(x => x.ShopId == _shopId);
|
||||
DouyinApi api = new DouyinApi(shop);
|
||||
var address = api.GetAddressProvince();
|
||||
//{"code":10000,"data":[{"province":"安徽省","province_id":34},{"province":"澳门特别行政区","province_id":82},{"province":"北京市","province_id":11},{"province":"重庆市","province_id":50},{"province":"福建省","province_id":35},{"province":"广东省","province_id":44},{"province":"甘肃省","province_id":62},{"province":"广西壮族自治区","province_id":45},{"province":"贵州省","province_id":52},{"province":"河北省","province_id":13},{"province":"湖北省","province_id":42},{"province":"黑龙江省","province_id":23},{"province":"河南省","province_id":41},{"province":"湖南省","province_id":43},{"province":"海南省","province_id":46},{"province":"吉林省","province_id":22},{"province":"江苏省","province_id":32},{"province":"江西省","province_id":36},{"province":"辽宁省","province_id":21},{"province":"内蒙古自治区","province_id":15},{"province":"宁夏回族自治区","province_id":64},{"province":"青海省","province_id":63},{"province":"四川省","province_id":51},{"province":"山东省","province_id":37},{"province":"上海市","province_id":31},{"province":"山西省","province_id":14},{"province":"陕西省","province_id":61},{"province":"天津市","province_id":12},{"province":"台湾省","province_id":71},{"province":"香港特别行政区","province_id":81},{"province":"新疆维吾尔自治区","province_id":65},{"province":"西藏自治区","province_id":54},{"province":"云南省","province_id":53},{"province":"浙江省","province_id":33}],"err_no":0,"log_id":"20220715142943010208016085061166AE","message":"success","msg":"success","sub_code":"","sub_msg":""}
|
||||
if (address.Contains("\"message\":\"success\"") || address.Contains("\"code\":10000"))
|
||||
{
|
||||
JObject jObj = JObject.Parse(address);
|
||||
var data = jObj["data"];
|
||||
if (data != null)
|
||||
{
|
||||
lstProvince.AddRange(JsonHelper.DeserializeJsonToList<AddressProvince>(data.ToString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (var province in lstProvince)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbProvince.Items.Add(new ComboBoxItem(province.province_id, province.province));
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
public void AutoMatchAddress(string fullAddress)
|
||||
{
|
||||
string province = "";
|
||||
string city = "";
|
||||
string district = "";
|
||||
string town = "";
|
||||
AddressProvince AddressProvince = null;
|
||||
AddressArea AddressCity = null;
|
||||
AddressArea AddressDistrict = null;
|
||||
|
||||
Task.Run((Action)(() =>
|
||||
{
|
||||
while (fullAddress.Length > 0)
|
||||
{
|
||||
foreach (var p in lstProvince)
|
||||
{
|
||||
if (fullAddress.StartsWith(p.province))
|
||||
{
|
||||
AddressProvince = p;
|
||||
province = p.province;
|
||||
fullAddress = fullAddress.Substring(province.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
var cmbItem = cmbProvince.Items.Cast<ComboBoxItem>().FirstOrDefault(c => c.Name == p.province_id);
|
||||
this.cmbProvince.SelectedItem = cmbItem;
|
||||
}));
|
||||
break;
|
||||
}
|
||||
if (fullAddress.StartsWith(p.province.Replace("省", "").Replace("市", "").Replace("自治区", "")))
|
||||
{
|
||||
AddressProvince = p;
|
||||
province = p.province.Replace("省", "").Replace("市", "").Replace("自治区", "");
|
||||
fullAddress = fullAddress.Substring(province.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbProvince.SelectedItem = cmbProvince.Items.Cast<ComboBoxItem>().FirstOrDefault(c => c.Name == p.province_id);
|
||||
}));
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (string.IsNullOrEmpty(province))
|
||||
fullAddress = fullAddress.Substring(1);
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if (AddressProvince == null)
|
||||
return;
|
||||
var citys = lstArea.Where(a => a.father_code.ToString() == AddressProvince.province_id).ToList();
|
||||
while (fullAddress.Length > 0)
|
||||
{
|
||||
foreach (var c in citys)
|
||||
{
|
||||
if (fullAddress.StartsWith(c.name))
|
||||
{
|
||||
AddressCity = c;
|
||||
city = c.name;
|
||||
fullAddress = fullAddress.Substring(city.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbCity.SelectedItem = cmbCity.Items.Cast<ComboBoxItem>().FirstOrDefault((Func<ComboBoxItem, bool>)(cmb => cmb.Name == c.code.ToString()));
|
||||
}));
|
||||
break;
|
||||
}
|
||||
if (fullAddress.StartsWith(c.name.Replace("市", "")))
|
||||
{
|
||||
AddressCity = c;
|
||||
city = c.name.Replace("市", "");
|
||||
fullAddress = fullAddress.Substring(city.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbCity.SelectedItem = cmbCity.Items.Cast<ComboBoxItem>().FirstOrDefault((Func<ComboBoxItem, bool>)(cmb => cmb.Name == c.code.ToString()));
|
||||
}));
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (string.IsNullOrEmpty(city))
|
||||
fullAddress = fullAddress.Substring(1);
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if (AddressCity == null)
|
||||
return;
|
||||
var districts = lstArea.Where(a => a.father_code == AddressCity.code).ToList();
|
||||
while (fullAddress.Length > 0)
|
||||
{
|
||||
|
||||
foreach (var d in districts)
|
||||
{
|
||||
if (fullAddress.StartsWith(d.name))
|
||||
{
|
||||
AddressDistrict = d;
|
||||
district = d.name;
|
||||
fullAddress = fullAddress.Substring(district.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbDistricts.SelectedItem = cmbDistricts.Items.Cast<ComboBoxItem>().FirstOrDefault((Func<ComboBoxItem, bool>)(cmb => cmb.Name == d.code.ToString()));
|
||||
}));
|
||||
break;
|
||||
}
|
||||
if (fullAddress.StartsWith(d.name.Replace("区", "").Replace("县", "")))
|
||||
{
|
||||
AddressDistrict = d;
|
||||
district = d.name.Replace("区", "").Replace("县", "");
|
||||
fullAddress = fullAddress.Substring(district.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbDistricts.SelectedItem = cmbDistricts.Items.Cast<ComboBoxItem>().FirstOrDefault((Func<ComboBoxItem, bool>)(cmb => cmb.Name == d.code.ToString()));
|
||||
}));
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (string.IsNullOrEmpty(district))
|
||||
fullAddress = fullAddress.Substring(1);
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if (AddressDistrict == null)
|
||||
return;
|
||||
var towns = lstArea.Where(a => a.father_code == AddressDistrict.code).ToList();
|
||||
while (fullAddress.Length > 0)
|
||||
{
|
||||
foreach (var t in towns)
|
||||
{
|
||||
if (fullAddress.StartsWith(t.name))
|
||||
{
|
||||
town = t.name;
|
||||
fullAddress = fullAddress.Substring(town.Length);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.cmbTown.SelectedItem = cmbTown.Items.Cast<ComboBoxItem>().FirstOrDefault((Func<ComboBoxItem, bool>)(cmb => cmb.Name == t.code.ToString()));
|
||||
}));
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (string.IsNullOrEmpty(town))
|
||||
fullAddress = fullAddress.Substring(1);
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (fullAddress.Length > 0 && string.IsNullOrWhiteSpace(txtDetailAddress.Text))
|
||||
{
|
||||
txtDetailAddress.Text = fullAddress;
|
||||
}
|
||||
}));
|
||||
|
||||
}));
|
||||
}
|
||||
|
||||
private void cmbProvince_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
var item = cmbProvince.SelectedItem as ComboBoxItem;
|
||||
var prov = lstArea.FirstOrDefault(a => a.code.ToString() == item.Name);
|
||||
if (prov == null)
|
||||
{
|
||||
DouShopLoginInfo shop = CollectionClass.DouShopLoginList.Find(x => x.ShopId == _shopId);
|
||||
DouyinApi api = new DouyinApi(shop);
|
||||
var area = api.GetAreasByProvince(item.Name.ToString());
|
||||
if (area.Contains("\"message\":\"success\"") || area.Contains("\"code\":10000"))
|
||||
{
|
||||
JObject jObj = JObject.Parse(area);
|
||||
var data = jObj["data"];
|
||||
if (data != null)
|
||||
{
|
||||
List<AddressArea> listArea = JsonHelper.DeserializeJsonToList<AddressArea>(data.ToString());
|
||||
lstArea.AddRange(listArea);
|
||||
foreach (var province in listArea)
|
||||
{
|
||||
lstArea.AddRange(province.sub_districts);
|
||||
foreach (var city in province.sub_districts)
|
||||
{
|
||||
lstArea.AddRange(city.sub_districts);
|
||||
foreach (var district in city.sub_districts)
|
||||
{
|
||||
lstArea.AddRange(district.sub_districts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
prov = lstArea.FirstOrDefault(a => a.code.ToString() == item.Name);
|
||||
if (prov != null)
|
||||
{
|
||||
this.cmbCity.Items.Clear();
|
||||
|
||||
var citys = lstArea.Where(a => a.father_code == prov.code);
|
||||
foreach (var city in citys)
|
||||
{
|
||||
cmbCity.Items.Add(new ComboBoxItem(city.code.ToString(), city.name));
|
||||
}
|
||||
cmbCity.DroppedDown = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void cmbCity_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
var item = cmbCity.SelectedItem as ComboBoxItem;
|
||||
if (item == null)
|
||||
return;
|
||||
var city = lstArea.FirstOrDefault(a => a.code.ToString() == item.Name);
|
||||
if (city != null)
|
||||
{
|
||||
this.cmbDistricts.Items.Clear();
|
||||
|
||||
var districts = lstArea.Where(a => a.father_code == city.code);
|
||||
foreach (var District in districts)
|
||||
{
|
||||
cmbDistricts.Items.Add(new ComboBoxItem(District.code.ToString(), District.name));
|
||||
}
|
||||
cmbDistricts.DroppedDown = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void cmbDistricts_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
var item = cmbDistricts.SelectedItem as ComboBoxItem;
|
||||
if (item == null)
|
||||
return;
|
||||
var district = lstArea.FirstOrDefault(a => a.code.ToString() == item.Name);
|
||||
if (district != null)
|
||||
{
|
||||
this.cmbTown.Items.Clear();
|
||||
|
||||
var towns = lstArea.Where(a => a.father_code == district.code);
|
||||
foreach (var town in towns)
|
||||
{
|
||||
cmbTown.Items.Add(new ComboBoxItem(town.code.ToString(), town.name));
|
||||
}
|
||||
cmbTown.DroppedDown = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnAcceptReturnRefund_Click(object sender, EventArgs e)
|
||||
{
|
||||
DouShopLoginInfo shop = CollectionClass.DouShopLoginList.Find(x => x.ShopId == _shopId);
|
||||
|
||||
var type = "101";
|
||||
|
||||
var province_id = (this.cmbProvince.SelectedItem as ComboBoxItem).Name;
|
||||
var province_name = (this.cmbProvince.SelectedItem as ComboBoxItem).Text;
|
||||
var city_id = (this.cmbCity.SelectedItem as ComboBoxItem).Name;
|
||||
var city_name = (this.cmbCity.SelectedItem as ComboBoxItem).Text;
|
||||
var town_id = (this.cmbDistricts.SelectedItem as ComboBoxItem).Name;
|
||||
var town_name = (this.cmbDistricts.SelectedItem as ComboBoxItem).Text;
|
||||
var street_id = (this.cmbTown.SelectedItem as ComboBoxItem).Name;
|
||||
var street_name = (this.cmbTown.SelectedItem as ComboBoxItem).Text;
|
||||
var detail = txtDetailAddress.Text.Trim();
|
||||
var mobile = txtMobile.Text.Trim();
|
||||
var user_name = txtName.Text.Trim();
|
||||
var items = "{\"aftersale_id\":\"" + _afterSaleId + "\",\"logistics\":{\"after_sale_address_detail\":{" +
|
||||
"\"city_id\":" + city_id + ",\"city_name\":\"" + city_name + "\",\"detail\":\"" + detail + "\",\"mobile\":\"" + mobile +
|
||||
"\",\"province_id\":" + province_id + ",\"province_name\":\"" + province_name + "\",\"street_id\":" + street_id +
|
||||
",\"street_name\":\"" + street_name + "\",\"town_id\":" + town_id + ",\"town_name\":\"" + town_name + "\",\"user_name\":\"" + user_name + "\"" +
|
||||
"}}}"/*.Replace("\"", "\\\"")*/;
|
||||
|
||||
DouyinApi api = new DouyinApi(shop);
|
||||
api.JsonData["type"] = type;
|
||||
api.JsonData["items"] = items;
|
||||
var result = api.AfterSaleOperate();
|
||||
|
||||
if (result.Contains("\"status_msg\":\"成功\""))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("填写退货地址成功!");
|
||||
ResultFlag = true;
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
var msg = BaseRegex.GetStringJson(ref result, "sub_msg");
|
||||
if (string.IsNullOrWhiteSpace(msg))
|
||||
msg = result;
|
||||
BaseMsgForm.ShowError("填写退货地址失败:" + msg);
|
||||
}
|
||||
}
|
||||
|
||||
private void panelEx2_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
public class AddressProvince
|
||||
{
|
||||
public string province { get; set; }
|
||||
public string province_id { get; set; }
|
||||
}
|
||||
|
||||
public class AddressArea
|
||||
{
|
||||
public long code { get; set; }
|
||||
public long father_code { get; set; }
|
||||
public string level { get; set; }
|
||||
public string name { get; set; }
|
||||
public List<AddressArea> sub_districts { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQcwAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class Bu_YinBowerForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Bu_YinBowerForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(371, 450);
|
||||
this.Name = "Bu_YinBowerForm";
|
||||
this.Text = "Bu_YinBowerForm";
|
||||
this.TitleText = "Bu_YinBowerForm";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
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 Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class Bu_YinBowerForm : BaseForm
|
||||
{
|
||||
public Bu_YinBowerForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
+664
@@ -0,0 +1,664 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class BuyOrderForms
|
||||
{
|
||||
/// <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(BuyOrderForms));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.txtRemark = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.tbsku = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.btGoProduct = new System.Windows.Forms.Button();
|
||||
this.btbuySku = new System.Windows.Forms.Button();
|
||||
this.btupdateAddress = new System.Windows.Forms.Button();
|
||||
this.tbproductjj = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.lbjjpice = new System.Windows.Forms.Label();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.combSkuList = new System.Windows.Forms.ComboBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.textBoxXCommission = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.labelCommission = new System.Windows.Forms.Label();
|
||||
this.UpShopProNumTextBoxX = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.SalesAmountTextBox = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.textBoxXProfit = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.lblProfit = new System.Windows.Forms.Label();
|
||||
this.textBoxXGoodPrice = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.labelPrice = new System.Windows.Forms.Label();
|
||||
this.buyCountTextBoxX = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.addressTextBoxX = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.mobileTextBoxX = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.userNameTextBoxX = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.plBrower = new System.Windows.Forms.Panel();
|
||||
this.pnlManualSaveBuyOrderId = new System.Windows.Forms.Panel();
|
||||
this.btnExit = new System.Windows.Forms.Button();
|
||||
this.btnManualSave = new System.Windows.Forms.Button();
|
||||
this.txtManualBuyOrderId = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.btnChangeMultiBuyer = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.plBrower.SuspendLayout();
|
||||
this.pnlManualSaveBuyOrderId.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(713, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Controls.Add(this.plBrower);
|
||||
this.panel1.Location = new System.Drawing.Point(2, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(741, 721);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.label1.Location = new System.Drawing.Point(505, -1);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(3, 725);
|
||||
this.label1.TabIndex = 2;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel3.Controls.Add(this.txtRemark);
|
||||
this.panel3.Controls.Add(this.label7);
|
||||
this.panel3.Controls.Add(this.tbsku);
|
||||
this.panel3.Controls.Add(this.label5);
|
||||
this.panel3.Controls.Add(this.btGoProduct);
|
||||
this.panel3.Controls.Add(this.btbuySku);
|
||||
this.panel3.Controls.Add(this.btupdateAddress);
|
||||
this.panel3.Controls.Add(this.tbproductjj);
|
||||
this.panel3.Controls.Add(this.lbjjpice);
|
||||
this.panel3.Controls.Add(this.groupBox1);
|
||||
this.panel3.Controls.Add(this.combSkuList);
|
||||
this.panel3.Controls.Add(this.label10);
|
||||
this.panel3.Controls.Add(this.textBoxXCommission);
|
||||
this.panel3.Controls.Add(this.labelCommission);
|
||||
this.panel3.Controls.Add(this.UpShopProNumTextBoxX);
|
||||
this.panel3.Controls.Add(this.label14);
|
||||
this.panel3.Controls.Add(this.SalesAmountTextBox);
|
||||
this.panel3.Controls.Add(this.label13);
|
||||
this.panel3.Controls.Add(this.textBoxXProfit);
|
||||
this.panel3.Controls.Add(this.lblProfit);
|
||||
this.panel3.Controls.Add(this.textBoxXGoodPrice);
|
||||
this.panel3.Controls.Add(this.labelPrice);
|
||||
this.panel3.Controls.Add(this.buyCountTextBoxX);
|
||||
this.panel3.Controls.Add(this.label11);
|
||||
this.panel3.Controls.Add(this.addressTextBoxX);
|
||||
this.panel3.Controls.Add(this.mobileTextBoxX);
|
||||
this.panel3.Controls.Add(this.userNameTextBoxX);
|
||||
this.panel3.Controls.Add(this.label4);
|
||||
this.panel3.Controls.Add(this.label3);
|
||||
this.panel3.Controls.Add(this.label2);
|
||||
this.panel3.Location = new System.Drawing.Point(510, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(231, 721);
|
||||
this.panel3.TabIndex = 1;
|
||||
//
|
||||
// txtRemark
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtRemark.Border.Class = "TextBoxBorder";
|
||||
this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtRemark.Location = new System.Drawing.Point(63, 345);
|
||||
this.txtRemark.Name = "txtRemark";
|
||||
this.txtRemark.ReadOnly = true;
|
||||
this.txtRemark.Size = new System.Drawing.Size(164, 21);
|
||||
this.txtRemark.TabIndex = 510;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(3, 349);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(65, 12);
|
||||
this.label7.TabIndex = 509;
|
||||
this.label7.Text = "订单备注:";
|
||||
//
|
||||
// tbsku
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbsku.Border.Class = "TextBoxBorder";
|
||||
this.tbsku.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbsku.Location = new System.Drawing.Point(63, 421);
|
||||
this.tbsku.Multiline = true;
|
||||
this.tbsku.Name = "tbsku";
|
||||
this.tbsku.ReadOnly = true;
|
||||
this.tbsku.Size = new System.Drawing.Size(164, 56);
|
||||
this.tbsku.TabIndex = 508;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(3, 425);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(65, 12);
|
||||
this.label5.TabIndex = 507;
|
||||
this.label5.Text = "购买规格:";
|
||||
//
|
||||
// btGoProduct
|
||||
//
|
||||
this.btGoProduct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btGoProduct.Location = new System.Drawing.Point(5, 692);
|
||||
this.btGoProduct.Name = "btGoProduct";
|
||||
this.btGoProduct.Size = new System.Drawing.Size(223, 23);
|
||||
this.btGoProduct.TabIndex = 506;
|
||||
this.btGoProduct.Text = "返回商品首页";
|
||||
this.btGoProduct.UseVisualStyleBackColor = true;
|
||||
this.btGoProduct.Click += new System.EventHandler(this.btGoProduct_Click);
|
||||
//
|
||||
// btbuySku
|
||||
//
|
||||
this.btbuySku.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.btbuySku.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.btbuySku.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btbuySku.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.btbuySku.Location = new System.Drawing.Point(63, 395);
|
||||
this.btbuySku.Name = "btbuySku";
|
||||
this.btbuySku.Size = new System.Drawing.Size(164, 23);
|
||||
this.btbuySku.TabIndex = 505;
|
||||
this.btbuySku.Text = "购买选中SKU商品";
|
||||
this.btbuySku.UseVisualStyleBackColor = false;
|
||||
this.btbuySku.Click += new System.EventHandler(this.btbuySku_Click);
|
||||
//
|
||||
// btupdateAddress
|
||||
//
|
||||
this.btupdateAddress.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.btupdateAddress.FlatAppearance.BorderColor = System.Drawing.Color.DarkGray;
|
||||
this.btupdateAddress.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btupdateAddress.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.btupdateAddress.Location = new System.Drawing.Point(63, 127);
|
||||
this.btupdateAddress.Name = "btupdateAddress";
|
||||
this.btupdateAddress.Size = new System.Drawing.Size(164, 23);
|
||||
this.btupdateAddress.TabIndex = 504;
|
||||
this.btupdateAddress.Text = "修改为自定义地址";
|
||||
this.btupdateAddress.UseVisualStyleBackColor = false;
|
||||
this.btupdateAddress.Click += new System.EventHandler(this.btupdateAddress_Click);
|
||||
//
|
||||
// tbproductjj
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbproductjj.Border.Class = "TextBoxBorder";
|
||||
this.tbproductjj.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbproductjj.Location = new System.Drawing.Point(63, 210);
|
||||
this.tbproductjj.Name = "tbproductjj";
|
||||
this.tbproductjj.ReadOnly = true;
|
||||
this.tbproductjj.Size = new System.Drawing.Size(164, 21);
|
||||
this.tbproductjj.TabIndex = 503;
|
||||
//
|
||||
// lbjjpice
|
||||
//
|
||||
this.lbjjpice.AutoSize = true;
|
||||
this.lbjjpice.Location = new System.Drawing.Point(3, 214);
|
||||
this.lbjjpice.Name = "lbjjpice";
|
||||
this.lbjjpice.Size = new System.Drawing.Size(65, 12);
|
||||
this.lbjjpice.TabIndex = 502;
|
||||
this.lbjjpice.Text = "商品进价:";
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.pictureBox1);
|
||||
this.groupBox1.Location = new System.Drawing.Point(5, 484);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(223, 205);
|
||||
this.groupBox1.TabIndex = 501;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "SKU规格图";
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(3, 17);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(217, 185);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 502;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// combSkuList
|
||||
//
|
||||
this.combSkuList.FormattingEnabled = true;
|
||||
this.combSkuList.Location = new System.Drawing.Point(63, 372);
|
||||
this.combSkuList.Name = "combSkuList";
|
||||
this.combSkuList.Size = new System.Drawing.Size(164, 20);
|
||||
this.combSkuList.TabIndex = 499;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(3, 376);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(65, 12);
|
||||
this.label10.TabIndex = 500;
|
||||
this.label10.Text = "选择规格:";
|
||||
//
|
||||
// textBoxXCommission
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.textBoxXCommission.Border.Class = "TextBoxBorder";
|
||||
this.textBoxXCommission.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.textBoxXCommission.Location = new System.Drawing.Point(63, 237);
|
||||
this.textBoxXCommission.Name = "textBoxXCommission";
|
||||
this.textBoxXCommission.ReadOnly = true;
|
||||
this.textBoxXCommission.Size = new System.Drawing.Size(164, 21);
|
||||
this.textBoxXCommission.TabIndex = 498;
|
||||
//
|
||||
// labelCommission
|
||||
//
|
||||
this.labelCommission.AutoSize = true;
|
||||
this.labelCommission.Location = new System.Drawing.Point(3, 241);
|
||||
this.labelCommission.Name = "labelCommission";
|
||||
this.labelCommission.Size = new System.Drawing.Size(65, 12);
|
||||
this.labelCommission.TabIndex = 497;
|
||||
this.labelCommission.Text = "设置佣金:";
|
||||
//
|
||||
// UpShopProNumTextBoxX
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.UpShopProNumTextBoxX.Border.Class = "TextBoxBorder";
|
||||
this.UpShopProNumTextBoxX.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.UpShopProNumTextBoxX.Location = new System.Drawing.Point(63, 318);
|
||||
this.UpShopProNumTextBoxX.Name = "UpShopProNumTextBoxX";
|
||||
this.UpShopProNumTextBoxX.ReadOnly = true;
|
||||
this.UpShopProNumTextBoxX.Size = new System.Drawing.Size(164, 21);
|
||||
this.UpShopProNumTextBoxX.TabIndex = 496;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.ForeColor = System.Drawing.Color.Red;
|
||||
this.label14.Location = new System.Drawing.Point(3, 322);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(65, 12);
|
||||
this.label14.TabIndex = 495;
|
||||
this.label14.Text = "总店商品:";
|
||||
//
|
||||
// SalesAmountTextBox
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.SalesAmountTextBox.Border.Class = "TextBoxBorder";
|
||||
this.SalesAmountTextBox.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.SalesAmountTextBox.Location = new System.Drawing.Point(63, 291);
|
||||
this.SalesAmountTextBox.Name = "SalesAmountTextBox";
|
||||
this.SalesAmountTextBox.ReadOnly = true;
|
||||
this.SalesAmountTextBox.Size = new System.Drawing.Size(164, 21);
|
||||
this.SalesAmountTextBox.TabIndex = 494;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.ForeColor = System.Drawing.Color.Red;
|
||||
this.label13.Location = new System.Drawing.Point(3, 295);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(65, 12);
|
||||
this.label13.TabIndex = 493;
|
||||
this.label13.Text = "总店销量:";
|
||||
//
|
||||
// textBoxXProfit
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.textBoxXProfit.Border.Class = "TextBoxBorder";
|
||||
this.textBoxXProfit.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.textBoxXProfit.Location = new System.Drawing.Point(63, 264);
|
||||
this.textBoxXProfit.Name = "textBoxXProfit";
|
||||
this.textBoxXProfit.ReadOnly = true;
|
||||
this.textBoxXProfit.Size = new System.Drawing.Size(164, 21);
|
||||
this.textBoxXProfit.TabIndex = 492;
|
||||
this.textBoxXProfit.TextChanged += new System.EventHandler(this.textBoxXProfit_TextChanged);
|
||||
//
|
||||
// lblProfit
|
||||
//
|
||||
this.lblProfit.AutoSize = true;
|
||||
this.lblProfit.ForeColor = System.Drawing.Color.Red;
|
||||
this.lblProfit.Location = new System.Drawing.Point(3, 268);
|
||||
this.lblProfit.Name = "lblProfit";
|
||||
this.lblProfit.Size = new System.Drawing.Size(65, 12);
|
||||
this.lblProfit.TabIndex = 491;
|
||||
this.lblProfit.Text = "本单利润:";
|
||||
//
|
||||
// textBoxXGoodPrice
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.textBoxXGoodPrice.Border.Class = "TextBoxBorder";
|
||||
this.textBoxXGoodPrice.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.textBoxXGoodPrice.Location = new System.Drawing.Point(63, 183);
|
||||
this.textBoxXGoodPrice.Name = "textBoxXGoodPrice";
|
||||
this.textBoxXGoodPrice.ReadOnly = true;
|
||||
this.textBoxXGoodPrice.Size = new System.Drawing.Size(164, 21);
|
||||
this.textBoxXGoodPrice.TabIndex = 490;
|
||||
//
|
||||
// labelPrice
|
||||
//
|
||||
this.labelPrice.AutoSize = true;
|
||||
this.labelPrice.Location = new System.Drawing.Point(3, 187);
|
||||
this.labelPrice.Name = "labelPrice";
|
||||
this.labelPrice.Size = new System.Drawing.Size(65, 12);
|
||||
this.labelPrice.TabIndex = 489;
|
||||
this.labelPrice.Text = "商品售价:";
|
||||
//
|
||||
// buyCountTextBoxX
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.buyCountTextBoxX.Border.Class = "TextBoxBorder";
|
||||
this.buyCountTextBoxX.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.buyCountTextBoxX.Location = new System.Drawing.Point(63, 156);
|
||||
this.buyCountTextBoxX.Name = "buyCountTextBoxX";
|
||||
this.buyCountTextBoxX.Size = new System.Drawing.Size(164, 21);
|
||||
this.buyCountTextBoxX.TabIndex = 488;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(3, 160);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(65, 12);
|
||||
this.label11.TabIndex = 487;
|
||||
this.label11.Text = "购买数量:";
|
||||
//
|
||||
// addressTextBoxX
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.addressTextBoxX.Border.Class = "TextBoxBorder";
|
||||
this.addressTextBoxX.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.addressTextBoxX.Location = new System.Drawing.Point(63, 59);
|
||||
this.addressTextBoxX.Multiline = true;
|
||||
this.addressTextBoxX.Name = "addressTextBoxX";
|
||||
this.addressTextBoxX.Size = new System.Drawing.Size(164, 65);
|
||||
this.addressTextBoxX.TabIndex = 474;
|
||||
//
|
||||
// mobileTextBoxX
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.mobileTextBoxX.Border.Class = "TextBoxBorder";
|
||||
this.mobileTextBoxX.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.mobileTextBoxX.Location = new System.Drawing.Point(63, 32);
|
||||
this.mobileTextBoxX.Name = "mobileTextBoxX";
|
||||
this.mobileTextBoxX.Size = new System.Drawing.Size(164, 21);
|
||||
this.mobileTextBoxX.TabIndex = 473;
|
||||
//
|
||||
// userNameTextBoxX
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.userNameTextBoxX.Border.Class = "TextBoxBorder";
|
||||
this.userNameTextBoxX.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.userNameTextBoxX.Location = new System.Drawing.Point(63, 5);
|
||||
this.userNameTextBoxX.Name = "userNameTextBoxX";
|
||||
this.userNameTextBoxX.Size = new System.Drawing.Size(164, 21);
|
||||
this.userNameTextBoxX.TabIndex = 472;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(3, 63);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(65, 12);
|
||||
this.label4.TabIndex = 471;
|
||||
this.label4.Text = "买家地址:";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(3, 36);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(65, 12);
|
||||
this.label3.TabIndex = 470;
|
||||
this.label3.Text = "买家电话:";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(3, 9);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(65, 12);
|
||||
this.label2.TabIndex = 469;
|
||||
this.label2.Text = "买家姓名:";
|
||||
//
|
||||
// plBrower
|
||||
//
|
||||
this.plBrower.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.plBrower.Controls.Add(this.btnChangeMultiBuyer);
|
||||
this.plBrower.Controls.Add(this.pnlManualSaveBuyOrderId);
|
||||
this.plBrower.Location = new System.Drawing.Point(0, 0);
|
||||
this.plBrower.Name = "plBrower";
|
||||
this.plBrower.Size = new System.Drawing.Size(504, 721);
|
||||
this.plBrower.TabIndex = 0;
|
||||
//
|
||||
// pnlManualSaveBuyOrderId
|
||||
//
|
||||
this.pnlManualSaveBuyOrderId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlManualSaveBuyOrderId.Controls.Add(this.btnExit);
|
||||
this.pnlManualSaveBuyOrderId.Controls.Add(this.btnManualSave);
|
||||
this.pnlManualSaveBuyOrderId.Controls.Add(this.txtManualBuyOrderId);
|
||||
this.pnlManualSaveBuyOrderId.Controls.Add(this.label6);
|
||||
this.pnlManualSaveBuyOrderId.Location = new System.Drawing.Point(7, 683);
|
||||
this.pnlManualSaveBuyOrderId.Name = "pnlManualSaveBuyOrderId";
|
||||
this.pnlManualSaveBuyOrderId.Size = new System.Drawing.Size(489, 32);
|
||||
this.pnlManualSaveBuyOrderId.TabIndex = 474;
|
||||
this.pnlManualSaveBuyOrderId.Visible = false;
|
||||
//
|
||||
// btnExit
|
||||
//
|
||||
this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExit.Location = new System.Drawing.Point(377, 5);
|
||||
this.btnExit.Name = "btnExit";
|
||||
this.btnExit.Size = new System.Drawing.Size(107, 23);
|
||||
this.btnExit.TabIndex = 508;
|
||||
this.btnExit.Text = "未拍单直接退出";
|
||||
this.btnExit.UseVisualStyleBackColor = true;
|
||||
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
||||
//
|
||||
// btnManualSave
|
||||
//
|
||||
this.btnManualSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnManualSave.Location = new System.Drawing.Point(266, 5);
|
||||
this.btnManualSave.Name = "btnManualSave";
|
||||
this.btnManualSave.Size = new System.Drawing.Size(107, 23);
|
||||
this.btnManualSave.TabIndex = 507;
|
||||
this.btnManualSave.Text = "确认已拍单成功";
|
||||
this.btnManualSave.UseVisualStyleBackColor = true;
|
||||
this.btnManualSave.Click += new System.EventHandler(this.btnManualSave_Click);
|
||||
//
|
||||
// txtManualBuyOrderId
|
||||
//
|
||||
this.txtManualBuyOrderId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtManualBuyOrderId.Border.Class = "TextBoxBorder";
|
||||
this.txtManualBuyOrderId.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtManualBuyOrderId.Location = new System.Drawing.Point(108, 6);
|
||||
this.txtManualBuyOrderId.Name = "txtManualBuyOrderId";
|
||||
this.txtManualBuyOrderId.Size = new System.Drawing.Size(153, 21);
|
||||
this.txtManualBuyOrderId.TabIndex = 473;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(13, 10);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(101, 12);
|
||||
this.label6.TabIndex = 498;
|
||||
this.label6.Text = "手动填写订单号:";
|
||||
//
|
||||
// btnChangeMultiBuyer
|
||||
//
|
||||
this.btnChangeMultiBuyer.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnChangeMultiBuyer.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnChangeMultiBuyer.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnChangeMultiBuyer.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnChangeMultiBuyer.Font = new System.Drawing.Font("微软雅黑", 8F);
|
||||
this.btnChangeMultiBuyer.Location = new System.Drawing.Point(439, 3);
|
||||
this.btnChangeMultiBuyer.Name = "btnChangeMultiBuyer";
|
||||
this.btnChangeMultiBuyer.Size = new System.Drawing.Size(62, 21);
|
||||
this.btnChangeMultiBuyer.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeMultiBuyer.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnChangeMultiBuyer.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.btnChangeMultiBuyer.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnChangeMultiBuyer.Style.CornerDiameter = 1;
|
||||
this.btnChangeMultiBuyer.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btnChangeMultiBuyer.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnChangeMultiBuyer.Style.GradientAngle = 90;
|
||||
this.btnChangeMultiBuyer.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeMultiBuyer.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeMultiBuyer.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeMultiBuyer.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeMultiBuyer.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeMultiBuyer.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeMultiBuyer.TabIndex = 813;
|
||||
this.btnChangeMultiBuyer.Text = "切换多买手";
|
||||
this.btnChangeMultiBuyer.Visible = false;
|
||||
this.btnChangeMultiBuyer.Click += new System.EventHandler(this.btnChangeMultiBuyer_Click);
|
||||
//
|
||||
// BuyOrderForms
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(745, 755);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "BuyOrderForms";
|
||||
this.Text = "BuyOrderForms";
|
||||
this.TitleText = "BuyOrderForms";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BuyOrderForms_FormClosing);
|
||||
this.Load += new System.EventHandler(this.BuyOrderForms_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.plBrower.ResumeLayout(false);
|
||||
this.pnlManualSaveBuyOrderId.ResumeLayout(false);
|
||||
this.pnlManualSaveBuyOrderId.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX textBoxXCommission;
|
||||
private System.Windows.Forms.Label labelCommission;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX UpShopProNumTextBoxX;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX SalesAmountTextBox;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX textBoxXProfit;
|
||||
private System.Windows.Forms.Label lblProfit;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX textBoxXGoodPrice;
|
||||
private System.Windows.Forms.Label labelPrice;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX buyCountTextBoxX;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX addressTextBoxX;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX mobileTextBoxX;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX userNameTextBoxX;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Panel plBrower;
|
||||
private System.Windows.Forms.ComboBox combSkuList;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbproductjj;
|
||||
private System.Windows.Forms.Label lbjjpice;
|
||||
private System.Windows.Forms.Button btupdateAddress;
|
||||
private System.Windows.Forms.Button btGoProduct;
|
||||
private System.Windows.Forms.Button btbuySku;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbsku;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Panel pnlManualSaveBuyOrderId;
|
||||
private System.Windows.Forms.Button btnManualSave;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtManualBuyOrderId;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Button btnExit;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txtRemark;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private DevComponents.DotNetBar.PanelEx btnChangeMultiBuyer;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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>
|
||||
AAABAAEAgIAQeAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+899
@@ -0,0 +1,899 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class BuyOrderListForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BuyOrderListForm));
|
||||
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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.新建NToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.打开OToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.保存SToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.另存为AToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.打印PToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.打印预览VToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.退出XToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.撤消UToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.重复RToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.剪切TToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.复制CToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.粘贴PToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.全选AToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.自定义CToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.选项OToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.内容CToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.索引IToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.搜索SToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.关于AToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.待发货ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.等待上家发货ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.发货成功ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.发货完成ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.发货ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新姓名ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新电话ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新收件地址ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.删除订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.插旗标记ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.灰色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.紫色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.蓝色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.绿色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.橙色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.红色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.批量设置一次性总店ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.DgvOrderList = new _29WxOrder.MyControl.MyDataGridView();
|
||||
this.pnlMessage = new DevComponents.DotNetBar.PanelEx();
|
||||
this.ucPager1 = new _29WxOrder.MyControl.UcPager();
|
||||
this.pnlUpdateOrderInfo = new DevComponents.DotNetBar.PanelEx();
|
||||
this.col_shop_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_shop_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_up_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_c_biz_desc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_sku = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productImgSku = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.col_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_buy_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission_scale = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_id = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_mobile = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_address = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_create_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_promise_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_send_remaining_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_start_buy = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_phone_buy = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_buyer_words = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvOrderList)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// 新建NToolStripMenuItem
|
||||
//
|
||||
this.新建NToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("新建NToolStripMenuItem.Image")));
|
||||
this.新建NToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.新建NToolStripMenuItem.Name = "新建NToolStripMenuItem";
|
||||
this.新建NToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
|
||||
this.新建NToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.新建NToolStripMenuItem.Text = "新建(&N)";
|
||||
//
|
||||
// 打开OToolStripMenuItem
|
||||
//
|
||||
this.打开OToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("打开OToolStripMenuItem.Image")));
|
||||
this.打开OToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.打开OToolStripMenuItem.Name = "打开OToolStripMenuItem";
|
||||
this.打开OToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
|
||||
this.打开OToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.打开OToolStripMenuItem.Text = "打开(&O)";
|
||||
//
|
||||
// toolStripSeparator
|
||||
//
|
||||
this.toolStripSeparator.Name = "toolStripSeparator";
|
||||
this.toolStripSeparator.Size = new System.Drawing.Size(162, 6);
|
||||
//
|
||||
// 保存SToolStripMenuItem
|
||||
//
|
||||
this.保存SToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("保存SToolStripMenuItem.Image")));
|
||||
this.保存SToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.保存SToolStripMenuItem.Name = "保存SToolStripMenuItem";
|
||||
this.保存SToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
|
||||
this.保存SToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.保存SToolStripMenuItem.Text = "保存(&S)";
|
||||
//
|
||||
// 另存为AToolStripMenuItem
|
||||
//
|
||||
this.另存为AToolStripMenuItem.Name = "另存为AToolStripMenuItem";
|
||||
this.另存为AToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.另存为AToolStripMenuItem.Text = "另存为(&A)";
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(162, 6);
|
||||
//
|
||||
// 打印PToolStripMenuItem
|
||||
//
|
||||
this.打印PToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("打印PToolStripMenuItem.Image")));
|
||||
this.打印PToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.打印PToolStripMenuItem.Name = "打印PToolStripMenuItem";
|
||||
this.打印PToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
|
||||
this.打印PToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.打印PToolStripMenuItem.Text = "打印(&P)";
|
||||
//
|
||||
// 打印预览VToolStripMenuItem
|
||||
//
|
||||
this.打印预览VToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("打印预览VToolStripMenuItem.Image")));
|
||||
this.打印预览VToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.打印预览VToolStripMenuItem.Name = "打印预览VToolStripMenuItem";
|
||||
this.打印预览VToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.打印预览VToolStripMenuItem.Text = "打印预览(&V)";
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(162, 6);
|
||||
//
|
||||
// 退出XToolStripMenuItem
|
||||
//
|
||||
this.退出XToolStripMenuItem.Name = "退出XToolStripMenuItem";
|
||||
this.退出XToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
|
||||
this.退出XToolStripMenuItem.Text = "退出(&X)";
|
||||
//
|
||||
// 撤消UToolStripMenuItem
|
||||
//
|
||||
this.撤消UToolStripMenuItem.Name = "撤消UToolStripMenuItem";
|
||||
this.撤消UToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
|
||||
this.撤消UToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
|
||||
this.撤消UToolStripMenuItem.Text = "撤消(&U)";
|
||||
//
|
||||
// 重复RToolStripMenuItem
|
||||
//
|
||||
this.重复RToolStripMenuItem.Name = "重复RToolStripMenuItem";
|
||||
this.重复RToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
|
||||
this.重复RToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
|
||||
this.重复RToolStripMenuItem.Text = "重复(&R)";
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(158, 6);
|
||||
//
|
||||
// 剪切TToolStripMenuItem
|
||||
//
|
||||
this.剪切TToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("剪切TToolStripMenuItem.Image")));
|
||||
this.剪切TToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.剪切TToolStripMenuItem.Name = "剪切TToolStripMenuItem";
|
||||
this.剪切TToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
|
||||
this.剪切TToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
|
||||
this.剪切TToolStripMenuItem.Text = "剪切(&T)";
|
||||
//
|
||||
// 复制CToolStripMenuItem
|
||||
//
|
||||
this.复制CToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("复制CToolStripMenuItem.Image")));
|
||||
this.复制CToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.复制CToolStripMenuItem.Name = "复制CToolStripMenuItem";
|
||||
this.复制CToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
||||
this.复制CToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
|
||||
this.复制CToolStripMenuItem.Text = "复制(&C)";
|
||||
//
|
||||
// 粘贴PToolStripMenuItem
|
||||
//
|
||||
this.粘贴PToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("粘贴PToolStripMenuItem.Image")));
|
||||
this.粘贴PToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.粘贴PToolStripMenuItem.Name = "粘贴PToolStripMenuItem";
|
||||
this.粘贴PToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
|
||||
this.粘贴PToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
|
||||
this.粘贴PToolStripMenuItem.Text = "粘贴(&P)";
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(158, 6);
|
||||
//
|
||||
// 全选AToolStripMenuItem
|
||||
//
|
||||
this.全选AToolStripMenuItem.Name = "全选AToolStripMenuItem";
|
||||
this.全选AToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
|
||||
this.全选AToolStripMenuItem.Text = "全选(&A)";
|
||||
//
|
||||
// 自定义CToolStripMenuItem
|
||||
//
|
||||
this.自定义CToolStripMenuItem.Name = "自定义CToolStripMenuItem";
|
||||
this.自定义CToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
|
||||
this.自定义CToolStripMenuItem.Text = "自定义(&C)";
|
||||
//
|
||||
// 选项OToolStripMenuItem
|
||||
//
|
||||
this.选项OToolStripMenuItem.Name = "选项OToolStripMenuItem";
|
||||
this.选项OToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
|
||||
this.选项OToolStripMenuItem.Text = "选项(&O)";
|
||||
//
|
||||
// 内容CToolStripMenuItem
|
||||
//
|
||||
this.内容CToolStripMenuItem.Name = "内容CToolStripMenuItem";
|
||||
this.内容CToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
|
||||
this.内容CToolStripMenuItem.Text = "内容(&C)";
|
||||
//
|
||||
// 索引IToolStripMenuItem
|
||||
//
|
||||
this.索引IToolStripMenuItem.Name = "索引IToolStripMenuItem";
|
||||
this.索引IToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
|
||||
this.索引IToolStripMenuItem.Text = "索引(&I)";
|
||||
//
|
||||
// 搜索SToolStripMenuItem
|
||||
//
|
||||
this.搜索SToolStripMenuItem.Name = "搜索SToolStripMenuItem";
|
||||
this.搜索SToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
|
||||
this.搜索SToolStripMenuItem.Text = "搜索(&S)";
|
||||
//
|
||||
// toolStripSeparator5
|
||||
//
|
||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||
this.toolStripSeparator5.Size = new System.Drawing.Size(122, 6);
|
||||
//
|
||||
// 关于AToolStripMenuItem
|
||||
//
|
||||
this.关于AToolStripMenuItem.Name = "关于AToolStripMenuItem";
|
||||
this.关于AToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
|
||||
this.关于AToolStripMenuItem.Text = "关于(&A)...";
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.BackColor = System.Drawing.Color.White;
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.编辑ToolStripMenuItem,
|
||||
this.待发货ToolStripMenuItem,
|
||||
this.发货ToolStripMenuItem,
|
||||
this.更新订单ToolStripMenuItem,
|
||||
this.更新姓名ToolStripMenuItem,
|
||||
this.更新电话ToolStripMenuItem,
|
||||
this.更新收件地址ToolStripMenuItem,
|
||||
this.删除订单ToolStripMenuItem,
|
||||
this.插旗标记ToolStripMenuItem,
|
||||
this.批量设置一次性总店ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(185, 224);
|
||||
//
|
||||
// 编辑ToolStripMenuItem
|
||||
//
|
||||
this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem";
|
||||
this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.编辑ToolStripMenuItem.Text = "编辑";
|
||||
this.编辑ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 待发货ToolStripMenuItem
|
||||
//
|
||||
this.待发货ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.等待上家发货ToolStripMenuItem,
|
||||
this.发货成功ToolStripMenuItem,
|
||||
this.发货完成ToolStripMenuItem});
|
||||
this.待发货ToolStripMenuItem.Name = "待发货ToolStripMenuItem";
|
||||
this.待发货ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.待发货ToolStripMenuItem.Text = "修改状态";
|
||||
//
|
||||
// 等待上家发货ToolStripMenuItem
|
||||
//
|
||||
this.等待上家发货ToolStripMenuItem.Name = "等待上家发货ToolStripMenuItem";
|
||||
this.等待上家发货ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.等待上家发货ToolStripMenuItem.Text = "等待上家发货";
|
||||
this.等待上家发货ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 发货成功ToolStripMenuItem
|
||||
//
|
||||
this.发货成功ToolStripMenuItem.Name = "发货成功ToolStripMenuItem";
|
||||
this.发货成功ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.发货成功ToolStripMenuItem.Text = "上家已发货";
|
||||
this.发货成功ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 发货完成ToolStripMenuItem
|
||||
//
|
||||
this.发货完成ToolStripMenuItem.Name = "发货完成ToolStripMenuItem";
|
||||
this.发货完成ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
|
||||
this.发货完成ToolStripMenuItem.Text = "发货完成";
|
||||
this.发货完成ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 发货ToolStripMenuItem
|
||||
//
|
||||
this.发货ToolStripMenuItem.Name = "发货ToolStripMenuItem";
|
||||
this.发货ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.发货ToolStripMenuItem.Text = "发货(直接发货)";
|
||||
this.发货ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 更新订单ToolStripMenuItem
|
||||
//
|
||||
this.更新订单ToolStripMenuItem.Name = "更新订单ToolStripMenuItem";
|
||||
this.更新订单ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.更新订单ToolStripMenuItem.Text = "更新订单";
|
||||
this.更新订单ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 更新姓名ToolStripMenuItem
|
||||
//
|
||||
this.更新姓名ToolStripMenuItem.Name = "更新姓名ToolStripMenuItem";
|
||||
this.更新姓名ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.更新姓名ToolStripMenuItem.Text = "更新姓名";
|
||||
this.更新姓名ToolStripMenuItem.Visible = false;
|
||||
this.更新姓名ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 更新电话ToolStripMenuItem
|
||||
//
|
||||
this.更新电话ToolStripMenuItem.Name = "更新电话ToolStripMenuItem";
|
||||
this.更新电话ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.更新电话ToolStripMenuItem.Text = "更新电话";
|
||||
this.更新电话ToolStripMenuItem.Visible = false;
|
||||
this.更新电话ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 更新收件地址ToolStripMenuItem
|
||||
//
|
||||
this.更新收件地址ToolStripMenuItem.Name = "更新收件地址ToolStripMenuItem";
|
||||
this.更新收件地址ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.更新收件地址ToolStripMenuItem.Text = "更新收件地址";
|
||||
this.更新收件地址ToolStripMenuItem.Visible = false;
|
||||
this.更新收件地址ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 删除订单ToolStripMenuItem
|
||||
//
|
||||
this.删除订单ToolStripMenuItem.Name = "删除订单ToolStripMenuItem";
|
||||
this.删除订单ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.删除订单ToolStripMenuItem.Text = "删除订单";
|
||||
this.删除订单ToolStripMenuItem.Visible = false;
|
||||
this.删除订单ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 插旗标记ToolStripMenuItem
|
||||
//
|
||||
this.插旗标记ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.灰色ToolStripMenuItem,
|
||||
this.紫色ToolStripMenuItem,
|
||||
this.蓝色ToolStripMenuItem,
|
||||
this.绿色ToolStripMenuItem,
|
||||
this.橙色ToolStripMenuItem,
|
||||
this.红色ToolStripMenuItem});
|
||||
this.插旗标记ToolStripMenuItem.Name = "插旗标记ToolStripMenuItem";
|
||||
this.插旗标记ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.插旗标记ToolStripMenuItem.Text = "插旗标记";
|
||||
//
|
||||
// 灰色ToolStripMenuItem
|
||||
//
|
||||
this.灰色ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.灰色ToolStripMenuItem.Name = "灰色ToolStripMenuItem";
|
||||
this.灰色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.灰色ToolStripMenuItem.Text = "灰色";
|
||||
this.灰色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 紫色ToolStripMenuItem
|
||||
//
|
||||
this.紫色ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.紫色ToolStripMenuItem.Name = "紫色ToolStripMenuItem";
|
||||
this.紫色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.紫色ToolStripMenuItem.Text = "紫色";
|
||||
this.紫色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 蓝色ToolStripMenuItem
|
||||
//
|
||||
this.蓝色ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.蓝色ToolStripMenuItem.Name = "蓝色ToolStripMenuItem";
|
||||
this.蓝色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.蓝色ToolStripMenuItem.Text = "蓝色";
|
||||
this.蓝色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 绿色ToolStripMenuItem
|
||||
//
|
||||
this.绿色ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.绿色ToolStripMenuItem.Name = "绿色ToolStripMenuItem";
|
||||
this.绿色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.绿色ToolStripMenuItem.Text = "绿色";
|
||||
this.绿色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 橙色ToolStripMenuItem
|
||||
//
|
||||
this.橙色ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.橙色ToolStripMenuItem.Name = "橙色ToolStripMenuItem";
|
||||
this.橙色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.橙色ToolStripMenuItem.Text = "橙色";
|
||||
this.橙色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 红色ToolStripMenuItem
|
||||
//
|
||||
this.红色ToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.红色ToolStripMenuItem.Name = "红色ToolStripMenuItem";
|
||||
this.红色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.红色ToolStripMenuItem.Text = "红色";
|
||||
this.红色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 批量设置一次性总店ToolStripMenuItem
|
||||
//
|
||||
this.批量设置一次性总店ToolStripMenuItem.Name = "批量设置一次性总店ToolStripMenuItem";
|
||||
this.批量设置一次性总店ToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.批量设置一次性总店ToolStripMenuItem.Text = "批量设置一次性总店";
|
||||
this.批量设置一次性总店ToolStripMenuItem.Click += new System.EventHandler(this.批量设置一次性总店ToolStripMenuItem_Click);
|
||||
//
|
||||
// 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, 0);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.DgvOrderList);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.pnlMessage);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.ucPager1);
|
||||
this.splitContainer1.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(831, 450);
|
||||
this.splitContainer1.SplitterDistance = 424;
|
||||
this.splitContainer1.SplitterWidth = 1;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// DgvOrderList
|
||||
//
|
||||
this.DgvOrderList.AllowUserToAddRows = false;
|
||||
this.DgvOrderList.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
|
||||
this.DgvOrderList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DgvOrderList.BackgroundColor = System.Drawing.Color.White;
|
||||
this.DgvOrderList.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvOrderList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DgvOrderList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DgvOrderList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.col_shop_id,
|
||||
this.col_shop_name,
|
||||
this.col_title,
|
||||
this.col_up_product_id,
|
||||
this.col_product_id,
|
||||
this.col_c_biz_desc,
|
||||
this.col_sku,
|
||||
this.productImgSku,
|
||||
this.col_price,
|
||||
this.col_buy_price,
|
||||
this.commission_scale,
|
||||
this.commission,
|
||||
this.col_count,
|
||||
this.col_order_id,
|
||||
this.col_name,
|
||||
this.col_mobile,
|
||||
this.col_address,
|
||||
this.col_create_time,
|
||||
this.col_order_promise_time,
|
||||
this.col_order_send_remaining_time,
|
||||
this.col_order_start_buy,
|
||||
this.col_phone_buy,
|
||||
this.col_remark,
|
||||
this.col_buyer_words});
|
||||
this.DgvOrderList.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.DgvOrderList.CustomSortColumns.AddRange(new object[] {
|
||||
"col_shop_id",
|
||||
"col_shop_name",
|
||||
"col_name",
|
||||
"col_mobile",
|
||||
"col_order_id",
|
||||
"col_product_id",
|
||||
"col_create_time"});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvOrderList.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.DgvOrderList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.DgvOrderList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.DgvOrderList.IsCustomSort = true;
|
||||
this.DgvOrderList.Location = new System.Drawing.Point(0, 0);
|
||||
this.DgvOrderList.Name = "DgvOrderList";
|
||||
this.DgvOrderList.ReadOnly = true;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DgvOrderList.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.DgvOrderList.RowTemplate.Height = 23;
|
||||
this.DgvOrderList.ShowCellToolTips = false;
|
||||
this.DgvOrderList.Size = new System.Drawing.Size(831, 424);
|
||||
this.DgvOrderList.TabIndex = 0;
|
||||
this.DgvOrderList.CustomSorted += new _29WxOrder.MyControl.MyDataGridView.CustomSortEvent(this.OrderListDgv_CustomSorted);
|
||||
this.DgvOrderList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderListDgv_CellContentClick);
|
||||
this.DgvOrderList.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.orderListDgv_CellMouseDown);
|
||||
this.DgvOrderList.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.orderListDgv_CellMouseEnter);
|
||||
//
|
||||
// pnlMessage
|
||||
//
|
||||
this.pnlMessage.AutoSize = true;
|
||||
this.pnlMessage.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlMessage.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlMessage.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlMessage.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlMessage.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.pnlMessage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.pnlMessage.Location = new System.Drawing.Point(775, 0);
|
||||
this.pnlMessage.Name = "pnlMessage";
|
||||
this.pnlMessage.Size = new System.Drawing.Size(56, 24);
|
||||
this.pnlMessage.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlMessage.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.pnlMessage.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.pnlMessage.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pnlMessage.Style.CornerDiameter = 5;
|
||||
this.pnlMessage.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlMessage.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlMessage.Style.GradientAngle = 90;
|
||||
this.pnlMessage.TabIndex = 10;
|
||||
this.pnlMessage.Text = "有新订单";
|
||||
this.pnlMessage.Visible = false;
|
||||
this.pnlMessage.Click += new System.EventHandler(this.pnlMessage_Click);
|
||||
//
|
||||
// ucPager1
|
||||
//
|
||||
this.ucPager1.CurrentPage = 1;
|
||||
this.ucPager1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ucPager1.Location = new System.Drawing.Point(0, 0);
|
||||
this.ucPager1.Name = "ucPager1";
|
||||
this.ucPager1.Size = new System.Drawing.Size(831, 24);
|
||||
this.ucPager1.TabIndex = 1;
|
||||
this.ucPager1.TotalCount = -1;
|
||||
this.ucPager1.TotalPage = 1;
|
||||
this.ucPager1.PageTurned += new _29WxOrder.MyControl.UcPager.PageTurnEvent(this.UcPager1_PageTurned);
|
||||
//
|
||||
// pnlUpdateOrderInfo
|
||||
//
|
||||
this.pnlUpdateOrderInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlUpdateOrderInfo.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlUpdateOrderInfo.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlUpdateOrderInfo.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlUpdateOrderInfo.Location = new System.Drawing.Point(361, 162);
|
||||
this.pnlUpdateOrderInfo.MaximumSize = new System.Drawing.Size(300, 140);
|
||||
this.pnlUpdateOrderInfo.Name = "pnlUpdateOrderInfo";
|
||||
this.pnlUpdateOrderInfo.Size = new System.Drawing.Size(110, 100);
|
||||
this.pnlUpdateOrderInfo.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlUpdateOrderInfo.Style.BackColor1.Alpha = ((byte)(128));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor2.Alpha = ((byte)(128));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlUpdateOrderInfo.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pnlUpdateOrderInfo.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlUpdateOrderInfo.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlUpdateOrderInfo.Style.GradientAngle = 90;
|
||||
this.pnlUpdateOrderInfo.TabIndex = 6;
|
||||
this.pnlUpdateOrderInfo.Text = "正在更新订单";
|
||||
this.pnlUpdateOrderInfo.Visible = false;
|
||||
//
|
||||
// col_shop_id
|
||||
//
|
||||
this.col_shop_id.HeaderText = "店铺编号";
|
||||
this.col_shop_id.Name = "col_shop_id";
|
||||
this.col_shop_id.ReadOnly = true;
|
||||
this.col_shop_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_shop_id.Width = 80;
|
||||
//
|
||||
// col_shop_name
|
||||
//
|
||||
this.col_shop_name.HeaderText = "店铺名称";
|
||||
this.col_shop_name.Name = "col_shop_name";
|
||||
this.col_shop_name.ReadOnly = true;
|
||||
this.col_shop_name.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_title
|
||||
//
|
||||
this.col_title.HeaderText = "商品名称";
|
||||
this.col_title.Name = "col_title";
|
||||
this.col_title.ReadOnly = true;
|
||||
this.col_title.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_up_product_id
|
||||
//
|
||||
this.col_up_product_id.HeaderText = "上家ID";
|
||||
this.col_up_product_id.Name = "col_up_product_id";
|
||||
this.col_up_product_id.ReadOnly = true;
|
||||
this.col_up_product_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_product_id
|
||||
//
|
||||
this.col_product_id.HeaderText = "本店ID";
|
||||
this.col_product_id.Name = "col_product_id";
|
||||
this.col_product_id.ReadOnly = true;
|
||||
this.col_product_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_product_id.Width = 120;
|
||||
//
|
||||
// col_c_biz_desc
|
||||
//
|
||||
this.col_c_biz_desc.HeaderText = "商品描述";
|
||||
this.col_c_biz_desc.Name = "col_c_biz_desc";
|
||||
this.col_c_biz_desc.ReadOnly = true;
|
||||
this.col_c_biz_desc.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_c_biz_desc.Width = 80;
|
||||
//
|
||||
// col_sku
|
||||
//
|
||||
this.col_sku.HeaderText = "规格";
|
||||
this.col_sku.Name = "col_sku";
|
||||
this.col_sku.ReadOnly = true;
|
||||
this.col_sku.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// productImgSku
|
||||
//
|
||||
this.productImgSku.HeaderText = "图片";
|
||||
this.productImgSku.Name = "productImgSku";
|
||||
this.productImgSku.ReadOnly = true;
|
||||
this.productImgSku.Width = 80;
|
||||
//
|
||||
// col_price
|
||||
//
|
||||
this.col_price.HeaderText = "售价";
|
||||
this.col_price.Name = "col_price";
|
||||
this.col_price.ReadOnly = true;
|
||||
this.col_price.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_price.Width = 60;
|
||||
//
|
||||
// col_buy_price
|
||||
//
|
||||
this.col_buy_price.HeaderText = "进价";
|
||||
this.col_buy_price.Name = "col_buy_price";
|
||||
this.col_buy_price.ReadOnly = true;
|
||||
this.col_buy_price.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_buy_price.Width = 60;
|
||||
//
|
||||
// commission_scale
|
||||
//
|
||||
this.commission_scale.HeaderText = "佣金率";
|
||||
this.commission_scale.Name = "commission_scale";
|
||||
this.commission_scale.ReadOnly = true;
|
||||
this.commission_scale.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.commission_scale.Width = 60;
|
||||
//
|
||||
// commission
|
||||
//
|
||||
this.commission.HeaderText = "佣金";
|
||||
this.commission.Name = "commission";
|
||||
this.commission.ReadOnly = true;
|
||||
this.commission.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.commission.Width = 60;
|
||||
//
|
||||
// col_count
|
||||
//
|
||||
this.col_count.HeaderText = "数量";
|
||||
this.col_count.Name = "col_count";
|
||||
this.col_count.ReadOnly = true;
|
||||
this.col_count.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_count.Width = 40;
|
||||
//
|
||||
// col_order_id
|
||||
//
|
||||
this.col_order_id.HeaderText = "订单号";
|
||||
this.col_order_id.Name = "col_order_id";
|
||||
this.col_order_id.ReadOnly = true;
|
||||
this.col_order_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_order_id.Width = 130;
|
||||
//
|
||||
// col_name
|
||||
//
|
||||
this.col_name.HeaderText = "姓名";
|
||||
this.col_name.Name = "col_name";
|
||||
this.col_name.ReadOnly = true;
|
||||
this.col_name.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_mobile
|
||||
//
|
||||
this.col_mobile.HeaderText = "电话";
|
||||
this.col_mobile.Name = "col_mobile";
|
||||
this.col_mobile.ReadOnly = true;
|
||||
this.col_mobile.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_address
|
||||
//
|
||||
this.col_address.HeaderText = "地址";
|
||||
this.col_address.Name = "col_address";
|
||||
this.col_address.ReadOnly = true;
|
||||
this.col_address.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_create_time
|
||||
//
|
||||
this.col_create_time.HeaderText = "订单确认时间";
|
||||
this.col_create_time.Name = "col_create_time";
|
||||
this.col_create_time.ReadOnly = true;
|
||||
this.col_create_time.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_create_time.Width = 120;
|
||||
//
|
||||
// col_order_promise_time
|
||||
//
|
||||
this.col_order_promise_time.HeaderText = "延迟发货时间";
|
||||
this.col_order_promise_time.Name = "col_order_promise_time";
|
||||
this.col_order_promise_time.ReadOnly = true;
|
||||
this.col_order_promise_time.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.col_order_promise_time.Width = 120;
|
||||
//
|
||||
// col_order_send_remaining_time
|
||||
//
|
||||
this.col_order_send_remaining_time.HeaderText = "延迟剩余";
|
||||
this.col_order_send_remaining_time.Name = "col_order_send_remaining_time";
|
||||
this.col_order_send_remaining_time.ReadOnly = true;
|
||||
this.col_order_send_remaining_time.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_order_start_buy
|
||||
//
|
||||
this.col_order_start_buy.HeaderText = "开始拍单";
|
||||
this.col_order_start_buy.Name = "col_order_start_buy";
|
||||
this.col_order_start_buy.ReadOnly = true;
|
||||
this.col_order_start_buy.Width = 80;
|
||||
//
|
||||
// col_phone_buy
|
||||
//
|
||||
this.col_phone_buy.HeaderText = "手机拍单";
|
||||
this.col_phone_buy.Name = "col_phone_buy";
|
||||
this.col_phone_buy.ReadOnly = true;
|
||||
//
|
||||
// col_remark
|
||||
//
|
||||
this.col_remark.HeaderText = "后台备注";
|
||||
this.col_remark.Name = "col_remark";
|
||||
this.col_remark.ReadOnly = true;
|
||||
this.col_remark.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// col_buyer_words
|
||||
//
|
||||
this.col_buyer_words.HeaderText = "买家留言";
|
||||
this.col_buyer_words.Name = "col_buyer_words";
|
||||
this.col_buyer_words.ReadOnly = true;
|
||||
this.col_buyer_words.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// BuyOrderListForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(831, 450);
|
||||
this.Controls.Add(this.pnlUpdateOrderInfo);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Name = "BuyOrderListForm";
|
||||
this.Text = "BuyOrderForm";
|
||||
this.Load += new System.EventHandler(this.BuyOrderListForm_Load);
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvOrderList)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.ToolStripMenuItem 新建NToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 打开OToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
|
||||
private System.Windows.Forms.ToolStripMenuItem 保存SToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 另存为AToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 打印PToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 打印预览VToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private System.Windows.Forms.ToolStripMenuItem 退出XToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 撤消UToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 重复RToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
private System.Windows.Forms.ToolStripMenuItem 剪切TToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 复制CToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 粘贴PToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripMenuItem 全选AToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 自定义CToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 选项OToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 内容CToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 索引IToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 搜索SToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
|
||||
private System.Windows.Forms.ToolStripMenuItem 关于AToolStripMenuItem;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 待发货ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 等待上家发货ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 发货成功ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 发货完成ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 发货ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 删除订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 插旗标记ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 灰色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 紫色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 蓝色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 绿色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 橙色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 红色ToolStripMenuItem;
|
||||
private MyControl.UcPager ucPager1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlMessage;
|
||||
public MyControl.MyDataGridView DgvOrderList;
|
||||
private DevComponents.DotNetBar.PanelEx pnlUpdateOrderInfo;
|
||||
private System.Windows.Forms.ToolStripMenuItem 批量设置一次性总店ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新姓名ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新电话ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新收件地址ToolStripMenuItem;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_title;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_up_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_c_biz_desc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_sku;
|
||||
private System.Windows.Forms.DataGridViewImageColumn productImgSku;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_buy_price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission_scale;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_count;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_mobile;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_address;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_create_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_promise_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_send_remaining_time;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_start_buy;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_phone_buy;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_remark;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_buyer_words;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,307 @@
|
||||
<?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="新建NToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAERSURBVDhPrZDbSgJRGIXnpewd6jXsjSQvIrwoI0RQMChU
|
||||
0iiDPCGiE3ZCRkvR8VzTeBhnyR5/ccaZNnPhB4t9sdf6Ln5hb8QeathNJFVFKF5C8DqL4ksDVHWGDf7j
|
||||
LHyPg6NjviSaFqlu5yQYR+KpupaIkrMknCxT3Y7v/NYYb0ITK1c3BarbWWhLQ7IR0cTKReyZ6lZ0XYei
|
||||
ztHpK4bAc+h1FgQijzSxMptrGIxVSO0xX3AaStFki7bUMVFmaMm/eJMGfIH/MkGzLep0AXn4h/r3CJV3
|
||||
mS9gn2bY4UY/UzQ7E9TqfeTFtnuB+XAfzSHKr11kSl/uBebDiZ89ZCst3OUkdwL28sIVsE83ock+EIQV
|
||||
2Mz2wxeg6/UAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="打开OToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJHSURBVDhPxZBdSNNhFMb/F110ZZEVhVBgeeHNICiiuggp
|
||||
olAUyyxI0oSaH1QYC3N+tKnp5ubm1JUua5uuqdNKMwr7kApFItTUkWZqVhSVYmao5Nevvy7UoYR3HXh4
|
||||
4XCe33nOKyy3lAY7l9RWMo0O/raWXxEyo5spVYTNvOGyfIRPfW+ptOkXqaPl6T83hcRmExSdgzAz3NVm
|
||||
YWyoYla/B+1M9JtxWLPpaH22JORIjI6gKAMB0jyEimIdo4OlbuaprwVMOOMovammpDADc34qppwUrmnl
|
||||
5Kni3aFlFg2j3y1z5mnRTJccnNIltQhwq0jFry+mOXNtpWZWDx1Z1NhV3C3JwGFOw25SYjVe5oYhiUKd
|
||||
HKMmwQUrMWUw/CF3NnZvvYKqUh1TvUroS3fXe7HXkwidMngTS2t5KLbregSzMY2f3Wr4qKW6LJvGR1rX
|
||||
0MLor8OhKYTJBn/GHvvxrliCTBrsOqXIoOBHh5K+hmSq7FqmexTQHuUytkaKxuNMNgYyVneA4Qd7GKjc
|
||||
hjLaRzxH7gIU6JIZaEvgtk1D8wsxSWecCDgNzWFMvwxm/PkhRmr3Mli1nW9lvjRdWc0Jf+/5jzRmyWmv
|
||||
S+GOLQu6U6BFjPvqKOP1AYw88WOoZif9DgmfLVtxaj1RSLdwNvrkPCA3M54KqxrnvRia9MKcGrUrqFOt
|
||||
5H7qKsqT1mGO9+Lqhc2ELdw+U/r0i+gVZ8hMiCDx3DHORwZyKnQ/hw/uYt9uCTskPvh6e7Fp41rWr/Fg
|
||||
g6eHO+A/lyD8ARfG3mk9fv1YAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="保存SToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIySURBVDhPrZLfS5NRGMfff6H7boIuuq2pMZyL1eAt11CW
|
||||
DcOKsB9vpFmaLtNExco0av6CbIVLJ61Wk3BSkT/AFCkRZSpZmrmiJQ41xSaCwdfznL15XEUX0Reem5f3
|
||||
8znnec4j/Zc8fxYGla91CS3eRTx0z6OpMYS7jmnU1X6B/VYA18snUVoyjsKCt8jLHcH5c36ouCQR2NUJ
|
||||
1Nas4G9ZXlmFKbULh1Kf8lJxSfI+WeCCyopv6q+/h+DQ/DJ2WV5Ao1FgPegRAveDOS4oLfmq/h6dn/DH
|
||||
4AJizD4UXJrCAUuzEDgbZrjgou2DiohshIcnQtgme5GTPYbkJKcQ1N8OckHW2REVi+RXuM8fxGaDG4oy
|
||||
ALPZIQQ11Z+5QDk1oKJ/hjv7P2FTfCMOH3mFxMQ6IbhROYWOdrCnBI4dfwPr0V4+bRoY9UzXppMjcDdS
|
||||
rC8hy3YhuFI2gTYf2A4Aza4f7N2/o/zaLB8qDYx6zszwr8P7k1thNFYIweXCMXgeAfedq2xxwjClZUeV
|
||||
Jd2GtDNFETiJwfs8MBjKhMCWN8pgoLoqzE8miH1GjE7G4PsZjE7OQsm9ij2mFg7rdrug1xcJAa2l4w7W
|
||||
r00Cgk/n38S7wBwC04u4UGxHrMHF4CbEJtyDLj5fCDIzhljfSxzeavRgyw4Zj9t64GvvQ0d3P3pfD2Kv
|
||||
2QqNvgFxDN6urYdWmyMElJMnevh60obRktA701PRtGlg1DOdSkXwzrisaMG/RZLWAE60OMW5fNhvAAAA
|
||||
AElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="打印PToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIpSURBVDhPtZL/T1JRGMb5p1itrVZbbRpqZbawnBENV1I0
|
||||
jGlByTSyJTXJwq2oKZQb1KAv6JCYWSxvBrkkZUq4CeQEiRABFeLL072Xa0zRra31bO8v57zP5znnPYf1
|
||||
X+TxhWF6O7VtGYcnwbSWijKPOLzYrPSvLPwLS3huGUMlT7o9wGD9grVUBj+icdid03S9tDmgNxNwTgVQ
|
||||
J+rA8XNtWwM+uuZATMwxmQVRycuJFNyzIRitDlScugKzjSgFRGJJaIwEsrk8AsHIhnSL/Ssck37UNipQ
|
||||
I5DjtuYV7uksRYhr2kebhx2eP6nrycFIEh5fBA/1Nvru8q5+PDaOovK0rABwfwugWzcErfkzHhjsePL6
|
||||
E7q1VrTdNUDcrgGvSYlDZHN5XTNOnL8BVe8AJAoNDtZfLgDu9L1BPJmikzcrk81hlRwodZJwdBXziwnI
|
||||
OrVoaOkiT8C8hKLHBPO7CbywOaE1jeC+bhAd6meQdvZC1KoG/5IS3MZ2HObLUHZSggvkWq3wOvbWiAqA
|
||||
VpWeyStVfCUNf3AZ4zNhfHCFMEDMgye+hYr6FrDLzxQAUuVTpr0ocn74mchg5vsKRt1RcHp2Qv9+kZ78
|
||||
UcE17KkWFgHNN/uQzgBkGKLJPBZiecyGchjzrmFwPIF++xJUbDbUQzEacIArLpopSRSP4CUN1Obf1Abz
|
||||
uqob5KjiXwWH/GVl5HPt5zZh37GL2H1EiF1VZ7GDI6CNW5r/TSzWbwHYL0mKJ5czAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="打印预览VToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGCSURBVDhPnZK9S0JRGMb9F1xb2gqaq6mhwCGDtvYIIyLI
|
||||
cJOE1paoIYpMKUjFRDH87lpoakGlIZF9DA2hZJEQhJXl1xPn3HPV29WQfvBwOfA+P95zuDJ39A6/4wyl
|
||||
YOOSMHvOcHGThuwvSKEVRvsR+pQqWD3R1pK98DUbl7Jm5hA8SfESd6S5xH5wycalrO4E0D8yWQuriLH6
|
||||
E2xcSqlcoRJBxCpiTO5TNi4m/ZgDF4nDsOulsfujyGRzUsmWM8YqdcggKbveS3A88bEkslRye58RSzZt
|
||||
IVarY/FFaPmlwp+fUaESYRNW5Vm3BPmpBpZNvppACDmTLbS6FbGAPFAj5OGI4PALOK/yZfIlAlk4j7n5
|
||||
xdaCarWKj0KRXmE2+UklJEJZZ/RCPTPdWvBdLOP1rYD41QNcgRiVkKJQ1mjGsa2VNxeQb2OWDC7sh47p
|
||||
ddQLeoyOTSFiVAAFvVhChsmv2k6Uvd3Icx1UolMNiDdpl4nhLiohW/xb0tMph2JwCJxjAz9A30JI8zYA
|
||||
tAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="剪切TToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGDSURBVDhPrZFNSwJRGIX9NYGbFoUlFElY1EJQKEYhCJsi
|
||||
LaVsERnRF5iCaSZJO1toCDVGFkgoFpWQWWRR2aIvUxm1BKN1wSnHCFw4TOCzue+9nPNw4eVVnav4Izzb
|
||||
QfxeGZ5TWaxT/rK3irzmC7CsusvC1G4IkbNLboIiDieF4GGUKeTeClDpppF8eeEu2PIfwfrzizSdw3Hk
|
||||
EnKlFpkMzV2wH77AosOFTV8A+vkl9CiHuJeLJNNZjM8tYWB0FkTvMAwmy/8ERTR6CwjlGAi1Ccence6C
|
||||
1NsXzN4PKIxJLLgeIJ2MoXvmFraNBKK3eXZRIveJPvs7FIYniEkXZENOdE+GIZ2Ko10TwLK7tJmKmL0F
|
||||
EEYarYM+NMnt0C1sQzpx/lcSEnZ2gcKY/gs0dlmZuWvmjjmpwA1qxVp2AWFIMAF/OAGBzMjMI7ZrtJCb
|
||||
4Df3o4Zfxy7QrdxDRFKol5khkpR2H4qmIOzUQNBGwrsXYxccnNOQqNbQ0KGGZ+eEPVwdeLxvqqrf4wGh
|
||||
TNAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="复制CToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHkSURBVDhPvZHfS1NhHIf3p5QypLr2D4goMwoMCi/qIugH
|
||||
Xe1Cr7qKDIMkZixwNhfWLGWbnuki0kXKzLU023KubBNPJrbRdOzocm6e2dPOO21mMS+CHvjcvOf9PF++
|
||||
79H9M+7RT2iRRsIi9sEAXe43yAvf2LpSHq28G9uAnytNT4jMLewtcQ2Ht2pF8ps/aOt+gccX5lxD694S
|
||||
+1BQFD1RkN5DSFa4Z3uONKbgHE3h8KZ4OJTC1J8UiSzmfhd2uf1CoJHbyKOsZokl0kKwm+aeJaov+wjO
|
||||
rpQkVqdXfOz0bWAcVLghfaXxkUz3y2VxvpMGSwL3uMKh+gHezSSLEnNhX23vtYzKUirDfGyFj/Iy1mdx
|
||||
UWqR8iKhwtQLxjgH659y4EwvVXWPiwJt3/Ws+muywRrlqvkDdx3zQrCN8l1ldnEd3/QqFmkS/akHJYGS
|
||||
zjLzOUEwEsMf+sLI2zmaOou/93pPGoM5zvk7UU7fnBKxSBPoT7SXBNW1F/9Io2lKCNTCeomUyrS8xnBA
|
||||
wfUqyf1eP5U1ptJD/o1LzeNCsHPydtqdr6k4aiwvOHvNSya3ibU/QIdrEkvfhJislc32MfYfuV1eUGPw
|
||||
FF7bIVJVZ0N/soPK421UHGstlFvYd/hWecF/Qqf7CR0A5wwgSQA2AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="粘贴PToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJSSURBVDhPtZJrSJNRGMdf6IN9KbpQn/pUEH2JIoLqQ0Zh
|
||||
FqYZRmJG1iKmUqKyLB2pqSm6vC1Nm5GXoeatEsVJ0RASR3eNzegikRq5lrV3857Fr/d9ddlICoL+8OfA
|
||||
Oef/e57zcIT/os7WLMw302muSGJ2689qqi7A44q8IzjtNYzarzHQm8tZtT8FmRqu6LToMxN+B8qhCbGR
|
||||
KVcDE85ajKUaxoaryEuL4UVXIudPB5Ko2oy98xjDptXERuz3hsgAOTzlqqMk6yjdllzE90UM9Wp5azlB
|
||||
S1kwkeG+1CSv4mmBQPThfd6Ahqq8GYB4A11yBKmaMLQxoZyLDkGjDiZOFUhUuB+FsWsUQFiArzegtlzH
|
||||
pFjPpMPA2GA2jucx2KqWK7ZWLqO7dBGP9D5KWLbfto3eAKMhi3FHBeP9GYy9PMXos4OIrYvJrzSRbWjm
|
||||
wuV6EnVG4tLLiEzSExGf4w0oL05nZEDPaK+akceBuO9v4uPtFUrYo6npbzhdE/QPOQmNSiPouHYOUpaf
|
||||
gvgqA/dDf9wd63G1r2SgUlAqyyq/1anYUGfG2mdXwne7bOwJUc1AinOS+NxzBpd5HWLbUhyNPvRdF5S2
|
||||
v05/54tbqvzBifWNHUvPOwLC4/CXwrv2HsB3+w6EwosJOB5ESeElfGpayGD1AmwlArHSm+W2PR1clToo
|
||||
MrbT0mFTVtlbN6xFuJQar3wQz5Q9VksD+7XyPctrJdx4p5s605M5gKz8lJPSDwtGFbKboJ1blAN52vKb
|
||||
PdXm80/AfDokTVu+8DfPXv9XCcIPTvjvLQ8YoakAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="col_shop_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_shop_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_product_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_c_biz_desc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_sku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productImgSku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_buy_price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="commission_scale.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="commission.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_mobile.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_address.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_create_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_promise_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_send_remaining_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_start_buy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_phone_buy.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_buyer_words.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class BuyOrderPifaSelectForm
|
||||
{
|
||||
/// <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(BuyOrderPifaSelectForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pnlSave = new DevComponents.DotNetBar.PanelEx();
|
||||
this.rbOrder2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbOrder1 = new System.Windows.Forms.RadioButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(392, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.pnlSave);
|
||||
this.panel1.Controls.Add(this.rbOrder2);
|
||||
this.panel1.Controls.Add(this.rbOrder1);
|
||||
this.panel1.Location = new System.Drawing.Point(2, 33);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(420, 194);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(18, 112);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 9;
|
||||
this.label1.Text = "label1";
|
||||
//
|
||||
// pnlSave
|
||||
//
|
||||
this.pnlSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlSave.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlSave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlSave.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlSave.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlSave.Location = new System.Drawing.Point(332, 161);
|
||||
this.pnlSave.Name = "pnlSave";
|
||||
this.pnlSave.Size = new System.Drawing.Size(70, 21);
|
||||
this.pnlSave.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlSave.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlSave.Style.CornerDiameter = 1;
|
||||
this.pnlSave.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlSave.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlSave.Style.GradientAngle = 90;
|
||||
this.pnlSave.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSave.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSave.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlSave.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlSave.TabIndex = 5;
|
||||
this.pnlSave.Text = "确定";
|
||||
this.pnlSave.Click += new System.EventHandler(this.pnlSave_Click);
|
||||
//
|
||||
// rbOrder2
|
||||
//
|
||||
this.rbOrder2.AutoSize = true;
|
||||
this.rbOrder2.Location = new System.Drawing.Point(20, 53);
|
||||
this.rbOrder2.Name = "rbOrder2";
|
||||
this.rbOrder2.Size = new System.Drawing.Size(95, 16);
|
||||
this.rbOrder2.TabIndex = 1;
|
||||
this.rbOrder2.TabStop = true;
|
||||
this.rbOrder2.Text = "radioButton2";
|
||||
this.rbOrder2.UseVisualStyleBackColor = true;
|
||||
this.rbOrder2.CheckedChanged += new System.EventHandler(this.rbOrder2_CheckedChanged);
|
||||
//
|
||||
// rbOrder1
|
||||
//
|
||||
this.rbOrder1.AutoSize = true;
|
||||
this.rbOrder1.Location = new System.Drawing.Point(20, 20);
|
||||
this.rbOrder1.Name = "rbOrder1";
|
||||
this.rbOrder1.Size = new System.Drawing.Size(95, 16);
|
||||
this.rbOrder1.TabIndex = 0;
|
||||
this.rbOrder1.TabStop = true;
|
||||
this.rbOrder1.Text = "radioButton1";
|
||||
this.rbOrder1.UseVisualStyleBackColor = true;
|
||||
this.rbOrder1.CheckedChanged += new System.EventHandler(this.rbOrder1_CheckedChanged);
|
||||
//
|
||||
// BuyOrderPifaSelectForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(424, 230);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "BuyOrderPifaSelectForm";
|
||||
this.Text = "订单选择";
|
||||
this.TitleText = "订单选择";
|
||||
this.Load += new System.EventHandler(this.BuyOrderPifaSelectForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.RadioButton rbOrder2;
|
||||
private System.Windows.Forms.RadioButton rbOrder1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlSave;
|
||||
private System.Windows.Forms.Label label1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
using AllBase.Helper;
|
||||
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.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class BuyOrderPifaSelectForm : BaseForm
|
||||
{
|
||||
public string cookies = "";
|
||||
public string sku = "";
|
||||
List<PifaOrderModel> listpifa = new List<PifaOrderModel>();
|
||||
public string order_sn = "";
|
||||
public decimal pay_amount = 0;
|
||||
|
||||
public BuyOrderPifaSelectForm instance = null;
|
||||
|
||||
public BuyOrderPifaSelectForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
instance = this;
|
||||
}
|
||||
|
||||
private void pnlSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void rbOrder1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (rbOrder1.Checked)
|
||||
{
|
||||
var o = rbOrder1.Tag as PifaOrderModel;
|
||||
if (o != null)
|
||||
{
|
||||
order_sn = o.ordersn?.ToString();
|
||||
pay_amount = o.payAmount / 100m;
|
||||
label1.Text = "当前选择订单:" + order_sn + " " + "规格:" + o.goodsspec;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void rbOrder2_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (rbOrder2.Checked)
|
||||
{
|
||||
var o = rbOrder2.Tag as PifaOrderModel;
|
||||
if (o != null)
|
||||
{
|
||||
order_sn = o.ordersn?.ToString();
|
||||
pay_amount = o.payAmount / 100m;
|
||||
label1.Text = "当前选择订单:" + order_sn + " " + "规格:" + o.goodsspec;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void BuyOrderPifaSelectForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.label1.Text = "请选择订单号";
|
||||
this.label1.ForeColor = Color.Red;
|
||||
|
||||
string html_data = HttpHelper.Request_pifa_pinduoduo_com("https://pifa.pinduoduo.com/pifa/order/pageQuery", "https://pifa.pinduoduo.com", "{\"page\":1,\"pageSize\":10}", cookies);
|
||||
if (!string.IsNullOrEmpty(html_data) && html_data.Contains("\"success\":true"))
|
||||
{
|
||||
var pageItems = JObject.Parse(html_data)["result"]["pageItems"];
|
||||
//orderStatus=2 0待支付 2退款待处理/待发货 3已发货
|
||||
foreach (var item in pageItems)
|
||||
{
|
||||
var items = item["items"];
|
||||
foreach (var order in items)
|
||||
{
|
||||
string ordersn = order["orderSn"].ToString();
|
||||
string goodsid = order["goodsId"].ToString();
|
||||
string goodsspec = order["goodsSpec"].ToString();
|
||||
string orderstatus = order["orderStatus"].ToString();
|
||||
|
||||
PifaOrderModel pifaOrderModel = new PifaOrderModel();
|
||||
pifaOrderModel.ordersn = ordersn;
|
||||
pifaOrderModel.goodsid = goodsid;
|
||||
pifaOrderModel.goodsspec = goodsspec;
|
||||
pifaOrderModel.orderstatus = orderstatus;
|
||||
pifaOrderModel.payAmount = Convert.ToInt32(order["payAmount"].ToString());
|
||||
pifaOrderModel.status = orderstatus == "2" ? "待发货" : "待支付";
|
||||
if (listpifa.Where(x => x.ordersn == ordersn).Count() > 0)
|
||||
{
|
||||
PifaOrderModel _pifaOrderModel = listpifa.Find(x => x.ordersn == ordersn);
|
||||
_pifaOrderModel.orderstatus = pifaOrderModel.orderstatus;
|
||||
_pifaOrderModel.status = pifaOrderModel.status;
|
||||
}
|
||||
else
|
||||
{
|
||||
listpifa.Add(pifaOrderModel);
|
||||
}
|
||||
if (sku == goodsspec)
|
||||
{
|
||||
if (label1.Text.ToString().Contains("请选择订单"))
|
||||
{
|
||||
label1.Text = "保留订单号:" + ordersn;
|
||||
}
|
||||
}
|
||||
//if (orderstatus == "2")
|
||||
//{
|
||||
// timer.Stop();
|
||||
//}
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (listpifa.Count >= 2)
|
||||
{
|
||||
rbOrder1.Text = listpifa[0].ordersn + " " + listpifa[0].goodsspec;
|
||||
rbOrder1.Tag = listpifa[0];
|
||||
rbOrder2.Text = listpifa[1].ordersn + " " + listpifa[1].goodsspec;
|
||||
rbOrder2.Tag = listpifa[1];
|
||||
//gridpifadata.ItemsSource = null;
|
||||
//gridpifadata.ItemsSource = listpifa;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class PifaOrderModel
|
||||
{
|
||||
public string ordersn { get; set; }
|
||||
public string goodsid { get; set; }
|
||||
public int payAmount { get; set; }
|
||||
public string goodsspec { get; set; }
|
||||
public string orderstatus { get; set; }
|
||||
public string status { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQcwAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class DgvHeaderEditForm
|
||||
{
|
||||
/// <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(DgvHeaderEditForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.pnlEditTableHeaders = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(684, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.panelEx1);
|
||||
this.panel1.Controls.Add(this.flowLayoutPanel1);
|
||||
this.panel1.Controls.Add(this.pnlEditTableHeaders);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(2, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(716, 266);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panelEx1.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx1.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.panelEx1.Location = new System.Drawing.Point(505, 232);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(95, 21);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx1.Style.CornerDiameter = 1;
|
||||
this.panelEx1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx1.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx1.Style.GradientAngle = 90;
|
||||
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx1.TabIndex = 1037;
|
||||
this.panelEx1.Text = "全选";
|
||||
this.panelEx1.Click += new System.EventHandler(this.panelEx1_Click);
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(17, 25);
|
||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(684, 191);
|
||||
this.flowLayoutPanel1.TabIndex = 1030;
|
||||
//
|
||||
// pnlEditTableHeaders
|
||||
//
|
||||
this.pnlEditTableHeaders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlEditTableHeaders.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlEditTableHeaders.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEditTableHeaders.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.pnlEditTableHeaders.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEditTableHeaders.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.pnlEditTableHeaders.Location = new System.Drawing.Point(606, 232);
|
||||
this.pnlEditTableHeaders.Name = "pnlEditTableHeaders";
|
||||
this.pnlEditTableHeaders.Size = new System.Drawing.Size(95, 21);
|
||||
this.pnlEditTableHeaders.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEditTableHeaders.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlEditTableHeaders.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlEditTableHeaders.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlEditTableHeaders.Style.CornerDiameter = 1;
|
||||
this.pnlEditTableHeaders.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlEditTableHeaders.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlEditTableHeaders.Style.GradientAngle = 90;
|
||||
this.pnlEditTableHeaders.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEditTableHeaders.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEditTableHeaders.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.pnlEditTableHeaders.TabIndex = 1026;
|
||||
this.pnlEditTableHeaders.Text = "保存";
|
||||
this.pnlEditTableHeaders.Click += new System.EventHandler(this.pnlEditTableHeaders_Click);
|
||||
//
|
||||
// DgvHeaderEditForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(720, 300);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "DgvHeaderEditForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(2, 0, 2, 2);
|
||||
this.Text = "编辑表头";
|
||||
this.TitleText = "编辑表头";
|
||||
this.Load += new System.EventHandler(this.DgvHeaderEditForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlEditTableHeaders;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
using AllBase.Helper;
|
||||
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 Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class DgvHeaderEditForm : BaseForm
|
||||
{
|
||||
DataGridView dgv = null;
|
||||
public DgvHeaderEditForm(DataGridView d)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.dgv = d;
|
||||
}
|
||||
|
||||
private void DgvHeaderEditForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (this.dgv != null)
|
||||
{
|
||||
foreach (DataGridViewColumn column in dgv.Columns)
|
||||
{
|
||||
CheckBox chk = new CheckBox();
|
||||
chk.Text = column.HeaderText;
|
||||
|
||||
if (GlobalConfig.dicDgvHeadersSetting.Keys.Contains(dgv.Name))
|
||||
chk.Checked = !GlobalConfig.dicDgvHeadersSetting[dgv.Name].Contains(chk.Text);
|
||||
else
|
||||
chk.Checked = true;
|
||||
|
||||
if (!this.flowLayoutPanel1.Controls.Cast<Control>().Any(c => c.Text == chk.Text))
|
||||
this.flowLayoutPanel1.Controls.Add(chk);
|
||||
|
||||
|
||||
if (chk.Text == "手机拍单" && !AllBase.BaseClass.IsCloudBuyOrder)
|
||||
{
|
||||
chk.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void pnlEditTableHeaders_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<string> columnTexts = new List<string>();
|
||||
foreach (Control c in this.flowLayoutPanel1.Controls)
|
||||
{
|
||||
if (c is CheckBox && !(c as CheckBox).Checked)
|
||||
{
|
||||
columnTexts.Add(c.Text);
|
||||
}
|
||||
}
|
||||
GlobalConfig.dicDgvHeadersSetting[dgv.Name] = columnTexts;
|
||||
StartUp.SaveDgvHeadersSettings();
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
public static void SetDgvHeaderVisible(DataGridView dgv, bool hide_secret = true)
|
||||
{
|
||||
foreach (DataGridViewColumn column in dgv.Columns)
|
||||
{
|
||||
column.Visible = true;
|
||||
if (GlobalConfig.dicDgvHeadersSetting.Keys.Contains(dgv.Name) && GlobalConfig.dicDgvHeadersSetting[dgv.Name].Contains(column.HeaderText))
|
||||
column.Visible = false;
|
||||
if (hide_secret)
|
||||
{
|
||||
if (column.Name == "col_name" || column.Name == "col_mobile" || column.Name == "col_address")
|
||||
column.Visible = false;
|
||||
}
|
||||
|
||||
if (column.Name == "col_phone_buy")
|
||||
{
|
||||
if (!AllBase.BaseClass.IsCloudBuyOrder)
|
||||
column.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void panelEx1_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach (Control c in this.flowLayoutPanel1.Controls)
|
||||
{
|
||||
if (c is CheckBox && !(c as CheckBox).Checked)
|
||||
{
|
||||
(c as CheckBox).Checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQWgAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+158
@@ -0,0 +1,158 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class ExpressOrderForm
|
||||
{
|
||||
/// <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(ExpressOrderForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panelEx6 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tbexpress_no = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.cbexpress_name = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(328, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.panelEx6);
|
||||
this.panel1.Controls.Add(this.tbexpress_no);
|
||||
this.panel1.Controls.Add(this.cbexpress_name);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Location = new System.Drawing.Point(2, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(355, 88);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// panelEx6
|
||||
//
|
||||
this.panelEx6.CanvasColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx6.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.panelEx6.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelEx6.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx6.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.panelEx6.Location = new System.Drawing.Point(276, 9);
|
||||
this.panelEx6.Name = "panelEx6";
|
||||
this.panelEx6.Size = new System.Drawing.Size(70, 61);
|
||||
this.panelEx6.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx6.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx6.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.panelEx6.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.panelEx6.Style.CornerDiameter = 1;
|
||||
this.panelEx6.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.panelEx6.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.panelEx6.Style.GradientAngle = 90;
|
||||
this.panelEx6.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx6.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx6.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx6.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelEx6.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx6.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(120)))), ((int)(((byte)(255)))));
|
||||
this.panelEx6.TabIndex = 676;
|
||||
this.panelEx6.Text = "确认发货";
|
||||
this.panelEx6.Click += new System.EventHandler(this.panelEx6_Click);
|
||||
//
|
||||
// tbexpress_no
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbexpress_no.Border.Class = "TextBoxBorder";
|
||||
this.tbexpress_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbexpress_no.Location = new System.Drawing.Point(77, 49);
|
||||
this.tbexpress_no.Name = "tbexpress_no";
|
||||
this.tbexpress_no.Size = new System.Drawing.Size(182, 21);
|
||||
this.tbexpress_no.TabIndex = 551;
|
||||
//
|
||||
// cbexpress_name
|
||||
//
|
||||
this.cbexpress_name.FormattingEnabled = true;
|
||||
this.cbexpress_name.Location = new System.Drawing.Point(77, 10);
|
||||
this.cbexpress_name.Name = "cbexpress_name";
|
||||
this.cbexpress_name.Size = new System.Drawing.Size(182, 20);
|
||||
this.cbexpress_name.TabIndex = 550;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(10, 52);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(65, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "物流单号:";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(10, 14);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(65, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "物流公司:";
|
||||
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||
//
|
||||
// ExpressOrderForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(360, 123);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "ExpressOrderForm";
|
||||
this.Text = "直接发货";
|
||||
this.TitleText = "直接发货";
|
||||
this.Load += new System.EventHandler(this.ExpressOrderForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbexpress_no;
|
||||
private System.Windows.Forms.ComboBox cbexpress_name;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx6;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
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 Work;
|
||||
using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class ExpressOrderForm : BaseForm
|
||||
{
|
||||
public ExpressOrderForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public MainForm mainform;
|
||||
public int types=0;
|
||||
public string buyOrderId = "";
|
||||
|
||||
private void label1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void panelEx6_Click(object sender, EventArgs e)
|
||||
{
|
||||
mainform.logisticsAddOrder(buyOrderId, types, cbexpress_name.Text,tbexpress_no.Text);
|
||||
}
|
||||
|
||||
private void ExpressOrderForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
foreach (var item in CollectionClass.ExpressList)
|
||||
{
|
||||
cbexpress_name.Items.Add(item.name);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQcwAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+582
@@ -0,0 +1,582 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class OrderEdit
|
||||
{
|
||||
/// <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(OrderEdit));
|
||||
this.plmain = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.tbprice = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.tbcount = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.cbmaishou = new System.Windows.Forms.ComboBox();
|
||||
this.tbexpress_no = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.cbexpress_name = new System.Windows.Forms.ComboBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.tborderidbuy = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tbmobile = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.rbProduct5 = new System.Windows.Forms.RadioButton();
|
||||
this.rbProduct4 = new System.Windows.Forms.RadioButton();
|
||||
this.rbProduct3 = new System.Windows.Forms.RadioButton();
|
||||
this.rbProduct2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbProduct1 = new System.Windows.Forms.RadioButton();
|
||||
this.btsave = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbsku = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tbname = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tbaddress = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.tbremark = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbDefProductId = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbCustomProductId5 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbCustomProductId4 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbCustomProductId3 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbCustomProductId1 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbCustomProductId2 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.plmain.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// plmain
|
||||
//
|
||||
this.plmain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.plmain.BackColor = System.Drawing.Color.White;
|
||||
this.plmain.Controls.Add(this.button1);
|
||||
this.plmain.Controls.Add(this.tbprice);
|
||||
this.plmain.Controls.Add(this.label11);
|
||||
this.plmain.Controls.Add(this.tbcount);
|
||||
this.plmain.Controls.Add(this.label10);
|
||||
this.plmain.Controls.Add(this.cbmaishou);
|
||||
this.plmain.Controls.Add(this.tbexpress_no);
|
||||
this.plmain.Controls.Add(this.label9);
|
||||
this.plmain.Controls.Add(this.cbexpress_name);
|
||||
this.plmain.Controls.Add(this.label8);
|
||||
this.plmain.Controls.Add(this.label7);
|
||||
this.plmain.Controls.Add(this.tborderidbuy);
|
||||
this.plmain.Controls.Add(this.label3);
|
||||
this.plmain.Controls.Add(this.tbmobile);
|
||||
this.plmain.Controls.Add(this.rbProduct5);
|
||||
this.plmain.Controls.Add(this.rbProduct4);
|
||||
this.plmain.Controls.Add(this.rbProduct3);
|
||||
this.plmain.Controls.Add(this.rbProduct2);
|
||||
this.plmain.Controls.Add(this.rbProduct1);
|
||||
this.plmain.Controls.Add(this.btsave);
|
||||
this.plmain.Controls.Add(this.label5);
|
||||
this.plmain.Controls.Add(this.tbsku);
|
||||
this.plmain.Controls.Add(this.label2);
|
||||
this.plmain.Controls.Add(this.tbname);
|
||||
this.plmain.Controls.Add(this.label4);
|
||||
this.plmain.Controls.Add(this.tbaddress);
|
||||
this.plmain.Controls.Add(this.label6);
|
||||
this.plmain.Controls.Add(this.tbremark);
|
||||
this.plmain.Controls.Add(this.tbDefProductId);
|
||||
this.plmain.Controls.Add(this.tbCustomProductId5);
|
||||
this.plmain.Controls.Add(this.tbCustomProductId4);
|
||||
this.plmain.Controls.Add(this.tbCustomProductId3);
|
||||
this.plmain.Controls.Add(this.tbCustomProductId1);
|
||||
this.plmain.Controls.Add(this.tbCustomProductId2);
|
||||
this.plmain.Controls.Add(this.label1);
|
||||
this.plmain.Controls.Add(this.label13);
|
||||
this.plmain.Location = new System.Drawing.Point(2, 32);
|
||||
this.plmain.Name = "plmain";
|
||||
this.plmain.Size = new System.Drawing.Size(596, 268);
|
||||
this.plmain.TabIndex = 3;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(521, 178);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(59, 23);
|
||||
this.button1.TabIndex = 556;
|
||||
this.button1.Text = "读进价";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// tbprice
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbprice.Border.Class = "TextBoxBorder";
|
||||
this.tbprice.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbprice.Location = new System.Drawing.Point(448, 179);
|
||||
this.tbprice.Name = "tbprice";
|
||||
this.tbprice.Size = new System.Drawing.Size(67, 21);
|
||||
this.tbprice.TabIndex = 555;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(412, 184);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(41, 12);
|
||||
this.label11.TabIndex = 554;
|
||||
this.label11.Text = "进价:";
|
||||
//
|
||||
// tbcount
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbcount.Border.Class = "TextBoxBorder";
|
||||
this.tbcount.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbcount.Location = new System.Drawing.Point(333, 179);
|
||||
this.tbcount.Name = "tbcount";
|
||||
this.tbcount.Size = new System.Drawing.Size(67, 21);
|
||||
this.tbcount.TabIndex = 553;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(271, 185);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(65, 12);
|
||||
this.label10.TabIndex = 552;
|
||||
this.label10.Text = "购买数量:";
|
||||
//
|
||||
// cbmaishou
|
||||
//
|
||||
this.cbmaishou.FormattingEnabled = true;
|
||||
this.cbmaishou.Location = new System.Drawing.Point(333, 48);
|
||||
this.cbmaishou.Name = "cbmaishou";
|
||||
this.cbmaishou.Size = new System.Drawing.Size(136, 20);
|
||||
this.cbmaishou.TabIndex = 551;
|
||||
//
|
||||
// tbexpress_no
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbexpress_no.Border.Class = "TextBoxBorder";
|
||||
this.tbexpress_no.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbexpress_no.Location = new System.Drawing.Point(333, 238);
|
||||
this.tbexpress_no.Name = "tbexpress_no";
|
||||
this.tbexpress_no.Size = new System.Drawing.Size(182, 21);
|
||||
this.tbexpress_no.TabIndex = 549;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(271, 243);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(65, 12);
|
||||
this.label9.TabIndex = 550;
|
||||
this.label9.Text = "物流单号:";
|
||||
//
|
||||
// cbexpress_name
|
||||
//
|
||||
this.cbexpress_name.FormattingEnabled = true;
|
||||
this.cbexpress_name.Location = new System.Drawing.Point(333, 212);
|
||||
this.cbexpress_name.Name = "cbexpress_name";
|
||||
this.cbexpress_name.Size = new System.Drawing.Size(182, 20);
|
||||
this.cbexpress_name.TabIndex = 548;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(271, 215);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(65, 12);
|
||||
this.label8.TabIndex = 547;
|
||||
this.label8.Text = "物流公司:";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(283, 53);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 545;
|
||||
this.label7.Text = "买手号:";
|
||||
//
|
||||
// tborderidbuy
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tborderidbuy.Border.Class = "TextBoxBorder";
|
||||
this.tborderidbuy.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tborderidbuy.Location = new System.Drawing.Point(333, 16);
|
||||
this.tborderidbuy.Name = "tborderidbuy";
|
||||
this.tborderidbuy.Size = new System.Drawing.Size(248, 21);
|
||||
this.tborderidbuy.TabIndex = 544;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(260, 20);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(77, 12);
|
||||
this.label3.TabIndex = 543;
|
||||
this.label3.Text = "拍单订单号:";
|
||||
//
|
||||
// tbmobile
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbmobile.Border.Class = "TextBoxBorder";
|
||||
this.tbmobile.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbmobile.Location = new System.Drawing.Point(476, 80);
|
||||
this.tbmobile.Name = "tbmobile";
|
||||
this.tbmobile.Size = new System.Drawing.Size(104, 21);
|
||||
this.tbmobile.TabIndex = 527;
|
||||
//
|
||||
// rbProduct5
|
||||
//
|
||||
this.rbProduct5.AutoSize = true;
|
||||
this.rbProduct5.Location = new System.Drawing.Point(12, 181);
|
||||
this.rbProduct5.Name = "rbProduct5";
|
||||
this.rbProduct5.Size = new System.Drawing.Size(113, 16);
|
||||
this.rbProduct5.TabIndex = 539;
|
||||
this.rbProduct5.TabStop = true;
|
||||
this.rbProduct5.Text = "自定义总店ID5:";
|
||||
this.rbProduct5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbProduct4
|
||||
//
|
||||
this.rbProduct4.AutoSize = true;
|
||||
this.rbProduct4.Location = new System.Drawing.Point(12, 148);
|
||||
this.rbProduct4.Name = "rbProduct4";
|
||||
this.rbProduct4.Size = new System.Drawing.Size(113, 16);
|
||||
this.rbProduct4.TabIndex = 538;
|
||||
this.rbProduct4.TabStop = true;
|
||||
this.rbProduct4.Text = "自定义总店ID4:";
|
||||
this.rbProduct4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbProduct3
|
||||
//
|
||||
this.rbProduct3.AutoSize = true;
|
||||
this.rbProduct3.Location = new System.Drawing.Point(12, 114);
|
||||
this.rbProduct3.Name = "rbProduct3";
|
||||
this.rbProduct3.Size = new System.Drawing.Size(113, 16);
|
||||
this.rbProduct3.TabIndex = 537;
|
||||
this.rbProduct3.TabStop = true;
|
||||
this.rbProduct3.Text = "自定义总店ID3:";
|
||||
this.rbProduct3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbProduct2
|
||||
//
|
||||
this.rbProduct2.AutoSize = true;
|
||||
this.rbProduct2.Location = new System.Drawing.Point(12, 82);
|
||||
this.rbProduct2.Name = "rbProduct2";
|
||||
this.rbProduct2.Size = new System.Drawing.Size(113, 16);
|
||||
this.rbProduct2.TabIndex = 536;
|
||||
this.rbProduct2.TabStop = true;
|
||||
this.rbProduct2.Text = "自定义总店ID2:";
|
||||
this.rbProduct2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbProduct1
|
||||
//
|
||||
this.rbProduct1.AutoSize = true;
|
||||
this.rbProduct1.Location = new System.Drawing.Point(12, 49);
|
||||
this.rbProduct1.Name = "rbProduct1";
|
||||
this.rbProduct1.Size = new System.Drawing.Size(113, 16);
|
||||
this.rbProduct1.TabIndex = 535;
|
||||
this.rbProduct1.TabStop = true;
|
||||
this.rbProduct1.Text = "自定义总店ID1:";
|
||||
this.rbProduct1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btsave
|
||||
//
|
||||
this.btsave.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btsave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btsave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btsave.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btsave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btsave.Location = new System.Drawing.Point(521, 213);
|
||||
this.btsave.Name = "btsave";
|
||||
this.btsave.Size = new System.Drawing.Size(60, 47);
|
||||
this.btsave.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
|
||||
this.btsave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
|
||||
this.btsave.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btsave.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.btsave.Style.CornerDiameter = 1;
|
||||
this.btsave.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btsave.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.btsave.Style.GradientAngle = 90;
|
||||
this.btsave.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
|
||||
this.btsave.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.btsave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
|
||||
this.btsave.TabIndex = 534;
|
||||
this.btsave.Text = "保存";
|
||||
this.btsave.Click += new System.EventHandler(this.btsave_Click);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(440, 85);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(41, 12);
|
||||
this.label5.TabIndex = 530;
|
||||
this.label5.Text = "电话:";
|
||||
//
|
||||
// tbsku
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbsku.Border.Class = "TextBoxBorder";
|
||||
this.tbsku.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbsku.Location = new System.Drawing.Point(333, 145);
|
||||
this.tbsku.Name = "tbsku";
|
||||
this.tbsku.Size = new System.Drawing.Size(248, 21);
|
||||
this.tbsku.TabIndex = 523;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(295, 151);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||
this.label2.TabIndex = 524;
|
||||
this.label2.Text = "规格:";
|
||||
//
|
||||
// tbname
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbname.Border.Class = "TextBoxBorder";
|
||||
this.tbname.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbname.Location = new System.Drawing.Point(333, 80);
|
||||
this.tbname.Name = "tbname";
|
||||
this.tbname.Size = new System.Drawing.Size(101, 21);
|
||||
this.tbname.TabIndex = 525;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(295, 85);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(41, 12);
|
||||
this.label4.TabIndex = 526;
|
||||
this.label4.Text = "姓名:";
|
||||
//
|
||||
// tbaddress
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbaddress.Border.Class = "TextBoxBorder";
|
||||
this.tbaddress.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbaddress.Location = new System.Drawing.Point(333, 112);
|
||||
this.tbaddress.Name = "tbaddress";
|
||||
this.tbaddress.Size = new System.Drawing.Size(247, 21);
|
||||
this.tbaddress.TabIndex = 528;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(295, 116);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(41, 12);
|
||||
this.label6.TabIndex = 529;
|
||||
this.label6.Text = "地址:";
|
||||
//
|
||||
// tbremark
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbremark.Border.Class = "TextBoxBorder";
|
||||
this.tbremark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbremark.Location = new System.Drawing.Point(126, 212);
|
||||
this.tbremark.Multiline = true;
|
||||
this.tbremark.Name = "tbremark";
|
||||
this.tbremark.Size = new System.Drawing.Size(134, 44);
|
||||
this.tbremark.TabIndex = 513;
|
||||
//
|
||||
// tbDefProductId
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbDefProductId.Border.Class = "TextBoxBorder";
|
||||
this.tbDefProductId.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbDefProductId.Location = new System.Drawing.Point(126, 16);
|
||||
this.tbDefProductId.Name = "tbDefProductId";
|
||||
this.tbDefProductId.ReadOnly = true;
|
||||
this.tbDefProductId.Size = new System.Drawing.Size(132, 21);
|
||||
this.tbDefProductId.TabIndex = 509;
|
||||
//
|
||||
// tbCustomProductId5
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbCustomProductId5.Border.Class = "TextBoxBorder";
|
||||
this.tbCustomProductId5.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbCustomProductId5.Location = new System.Drawing.Point(126, 181);
|
||||
this.tbCustomProductId5.Name = "tbCustomProductId5";
|
||||
this.tbCustomProductId5.Size = new System.Drawing.Size(134, 21);
|
||||
this.tbCustomProductId5.TabIndex = 521;
|
||||
this.tbCustomProductId5.WatermarkText = "填写后默认为总店ID";
|
||||
//
|
||||
// tbCustomProductId4
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbCustomProductId4.Border.Class = "TextBoxBorder";
|
||||
this.tbCustomProductId4.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbCustomProductId4.Location = new System.Drawing.Point(126, 146);
|
||||
this.tbCustomProductId4.Name = "tbCustomProductId4";
|
||||
this.tbCustomProductId4.Size = new System.Drawing.Size(134, 21);
|
||||
this.tbCustomProductId4.TabIndex = 519;
|
||||
this.tbCustomProductId4.WatermarkText = "填写后默认为总店ID";
|
||||
//
|
||||
// tbCustomProductId3
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbCustomProductId3.Border.Class = "TextBoxBorder";
|
||||
this.tbCustomProductId3.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbCustomProductId3.Location = new System.Drawing.Point(126, 112);
|
||||
this.tbCustomProductId3.Name = "tbCustomProductId3";
|
||||
this.tbCustomProductId3.Size = new System.Drawing.Size(134, 21);
|
||||
this.tbCustomProductId3.TabIndex = 517;
|
||||
this.tbCustomProductId3.WatermarkText = "填写后默认为总店ID";
|
||||
//
|
||||
// tbCustomProductId1
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbCustomProductId1.Border.Class = "TextBoxBorder";
|
||||
this.tbCustomProductId1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbCustomProductId1.Location = new System.Drawing.Point(126, 48);
|
||||
this.tbCustomProductId1.Name = "tbCustomProductId1";
|
||||
this.tbCustomProductId1.Size = new System.Drawing.Size(132, 21);
|
||||
this.tbCustomProductId1.TabIndex = 511;
|
||||
this.tbCustomProductId1.WatermarkText = "填写后默认为总店ID";
|
||||
//
|
||||
// tbCustomProductId2
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbCustomProductId2.Border.Class = "TextBoxBorder";
|
||||
this.tbCustomProductId2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbCustomProductId2.Location = new System.Drawing.Point(126, 80);
|
||||
this.tbCustomProductId2.Name = "tbCustomProductId2";
|
||||
this.tbCustomProductId2.Size = new System.Drawing.Size(132, 21);
|
||||
this.tbCustomProductId2.TabIndex = 515;
|
||||
this.tbCustomProductId2.WatermarkText = "填写后默认为总店ID";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(46, 20);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(77, 12);
|
||||
this.label1.TabIndex = 510;
|
||||
this.label1.Text = "默认总店ID:";
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(58, 214);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(65, 12);
|
||||
this.label13.TabIndex = 514;
|
||||
this.label13.Text = "订单备注:";
|
||||
//
|
||||
// OrderEdit
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(599, 301);
|
||||
this.Controls.Add(this.plmain);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "OrderEdit";
|
||||
this.Text = "编辑订单";
|
||||
this.TitleText = "编辑订单";
|
||||
this.Load += new System.EventHandler(this.OrderEdit_Load);
|
||||
this.Controls.SetChildIndex(this.plmain, 0);
|
||||
this.plmain.ResumeLayout(false);
|
||||
this.plmain.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel plmain;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbremark;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbDefProductId;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbCustomProductId5;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbCustomProductId4;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbCustomProductId3;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbCustomProductId1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbCustomProductId2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private DevComponents.DotNetBar.PanelEx btsave;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbsku;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbname;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbmobile;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbaddress;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.RadioButton rbProduct5;
|
||||
private System.Windows.Forms.RadioButton rbProduct4;
|
||||
private System.Windows.Forms.RadioButton rbProduct3;
|
||||
private System.Windows.Forms.RadioButton rbProduct2;
|
||||
private System.Windows.Forms.RadioButton rbProduct1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbprice;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbcount;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.ComboBox cbmaishou;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbexpress_no;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.ComboBox cbexpress_name;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tborderidbuy;
|
||||
private System.Windows.Forms.Label label3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,298 @@
|
||||
using AllBase;
|
||||
using AllBase.DouYinModel.Result;
|
||||
using AllBase.Model.Result;
|
||||
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.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.Api;
|
||||
using Work.BaseForms;
|
||||
using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class OrderEdit : BaseForm
|
||||
{
|
||||
public OrderEdit()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public BuyOrderListForm buyOrderListForm;
|
||||
public SendOrderListForms sendOrderForms;
|
||||
public AfterSaleOrderListForm afterSaleOrderListForm;
|
||||
public DouYinOrderModel orderDetail { get; internal set; }
|
||||
/// <summary>
|
||||
/// 1sendorder 2 buyorder 4 aftersale
|
||||
/// </summary>
|
||||
public int formtype = 0;
|
||||
|
||||
private void OrderEdit_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.TitleText = "编辑订单";
|
||||
if (string.IsNullOrEmpty(orderDetail?.product_id))
|
||||
{
|
||||
return;
|
||||
}
|
||||
string url = BaseClass.DouYinBuildObjString("upid&act=get");
|
||||
string html = GetHtml.PostUtf8(url, "pid=" + orderDetail.product_id + "&" + UserLogin.GetSignaturex());
|
||||
var jArr = JObject.Parse(html)["data"];
|
||||
if (jArr.Count() > 0)
|
||||
{
|
||||
if (JObject.Parse(html)["data"][0]["up_ids"].ToString() == JObject.Parse(html)["data"][0]["default_up_ids"].ToString())
|
||||
{
|
||||
rbProduct1.Checked = true;
|
||||
}
|
||||
else if (JObject.Parse(html)["data"][0]["up_ids2"].ToString() == JObject.Parse(html)["data"][0]["default_up_ids"].ToString())
|
||||
{
|
||||
rbProduct2.Checked = true;
|
||||
}
|
||||
else if (JObject.Parse(html)["data"][0]["up_ids3"].ToString() == JObject.Parse(html)["data"][0]["default_up_ids"].ToString())
|
||||
{
|
||||
rbProduct3.Checked = true;
|
||||
}
|
||||
else if (JObject.Parse(html)["data"][0]["up_ids4"].ToString() == JObject.Parse(html)["data"][0]["default_up_ids"].ToString())
|
||||
{
|
||||
rbProduct4.Checked = true;
|
||||
}
|
||||
else if (JObject.Parse(html)["data"][0]["up_ids5"].ToString() == JObject.Parse(html)["data"][0]["default_up_ids"].ToString())
|
||||
{
|
||||
rbProduct5.Checked = true;
|
||||
}
|
||||
|
||||
tbCustomProductId1.Text = JObject.Parse(html)["data"][0]["up_ids"].ToString();
|
||||
tbCustomProductId2.Text = JObject.Parse(html)["data"][0]["up_ids2"].ToString();
|
||||
tbCustomProductId3.Text = JObject.Parse(html)["data"][0]["up_ids3"].ToString();
|
||||
tbCustomProductId4.Text = JObject.Parse(html)["data"][0]["up_ids4"].ToString();
|
||||
tbCustomProductId5.Text = JObject.Parse(html)["data"][0]["up_ids5"].ToString();
|
||||
}
|
||||
|
||||
tbDefProductId.Text = orderDetail.up_product_id;
|
||||
tbname.Text = orderDetail.name;
|
||||
tbmobile.Text = orderDetail.mobile;
|
||||
tbaddress.Text = orderDetail.address;
|
||||
tbsku.Text = orderDetail.sku;
|
||||
tborderidbuy.Text = orderDetail.order_id_buy;
|
||||
tbcount.Text = orderDetail.count.ToString();
|
||||
tbprice.Text = orderDetail.buy_price;
|
||||
cbexpress_name.Text = orderDetail.express_name;
|
||||
tbexpress_no.Text = orderDetail.express_no;
|
||||
tbremark.Text = orderDetail.remark;
|
||||
|
||||
foreach (var item in CollectionClass.ExpressList)
|
||||
{
|
||||
cbexpress_name.Items.Add(item.name);
|
||||
}
|
||||
|
||||
cbmaishou.Items.Clear();
|
||||
List<UserModel> listum = new List<UserModel>();
|
||||
foreach (KeyValuePair<BuyNumber, UserCookies> item in TaoBaoBuyUser.buyUserCookies)//拍单买手号
|
||||
{
|
||||
UserModel um = new UserModel();
|
||||
um.name = item.Key.name;
|
||||
um.uid = item.Value.uid;
|
||||
listum.Add(um);
|
||||
}
|
||||
foreach (KeyValuePair<BuyNumber, UserCookies> item in PddBuyUser.buyUserCookies)//拍单买手号
|
||||
{
|
||||
UserModel um = new UserModel();
|
||||
um.name = item.Key.name;
|
||||
um.uid = item.Value.uid;
|
||||
listum.Add(um);
|
||||
}
|
||||
foreach (KeyValuePair<BuyNumber, UserCookies> item in ALBuyUser.buyUserCookies)//拍单买手号
|
||||
{
|
||||
UserModel um = new UserModel();
|
||||
um.name = item.Key.name;
|
||||
um.uid = item.Value.uid;
|
||||
listum.Add(um);
|
||||
}
|
||||
foreach (var item in AllBase.Helper.GlobalConfig.LstPddPifaShop)//拍单买手号
|
||||
{
|
||||
UserModel um = new UserModel();
|
||||
um.name = item.PddId;
|
||||
um.uid = item.PddId;
|
||||
listum.Add(um);
|
||||
}
|
||||
|
||||
cbmaishou.DataSource = listum;
|
||||
cbmaishou.ValueMember = "uid";
|
||||
cbmaishou.DisplayMember = "name";
|
||||
|
||||
for (int i = 0; i < cbmaishou.Items.Count; i++)
|
||||
{
|
||||
if (orderDetail.buyer_mobile_uid == (cbmaishou.Items[i] as UserModel).uid)
|
||||
{
|
||||
cbmaishou.SelectedIndex = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void btsave_Click(object sender, EventArgs e)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&pid=" + orderDetail.product_id);
|
||||
sb.Append("&up_ids=" + tbCustomProductId1.Text.Trim());
|
||||
sb.Append("&up_ids2=" + tbCustomProductId2.Text.Trim());
|
||||
sb.Append("&up_ids3=" + tbCustomProductId3.Text.Trim());
|
||||
sb.Append("&up_ids4=" + tbCustomProductId4.Text.Trim());
|
||||
sb.Append("&up_ids5=" + tbCustomProductId5.Text.Trim());
|
||||
string defid = "";
|
||||
if (rbProduct1.Checked == true)
|
||||
{
|
||||
defid = tbCustomProductId1.Text.Trim();
|
||||
sb.Append("&default_up_ids=" + tbCustomProductId1.Text.Trim());
|
||||
}
|
||||
else if (rbProduct2.Checked == true)
|
||||
{
|
||||
defid = tbCustomProductId2.Text.Trim();
|
||||
sb.Append("&default_up_ids=" + tbCustomProductId2.Text.Trim());
|
||||
}
|
||||
else if (rbProduct3.Checked == true)
|
||||
{
|
||||
defid = tbCustomProductId3.Text.Trim();
|
||||
sb.Append("&default_up_ids=" + tbCustomProductId3.Text.Trim());
|
||||
}
|
||||
else if (rbProduct4.Checked == true)
|
||||
{
|
||||
defid = tbCustomProductId4.Text.Trim();
|
||||
sb.Append("&default_up_ids=" + tbCustomProductId4.Text.Trim());
|
||||
}
|
||||
else if (rbProduct5.Checked == true)
|
||||
{
|
||||
defid = tbCustomProductId5.Text.Trim();
|
||||
sb.Append("&default_up_ids=" + tbCustomProductId5.Text.Trim());
|
||||
}
|
||||
string url = BaseClass.DouYinBuildObjString("upid&act=save");
|
||||
string htmlUpid = GetHtml.PostUtf8(url, sb + "&" + UserLogin.GetSignaturex());
|
||||
|
||||
sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderDetail.order_id);
|
||||
sb.Append("&sku=" + GetHtml.UrlEncodeUtf8(tbsku.Text));
|
||||
sb.Append("&count=" + tbcount.Text);
|
||||
sb.Append("&buy_price=" + tbprice.Text);
|
||||
sb.Append("&express_name=" + cbexpress_name.Text);
|
||||
sb.Append("&express_no=" + tbexpress_no.Text);
|
||||
sb.Append("&name=" + GetHtml.UrlEncodeUtf8(tbname.Text));
|
||||
sb.Append("&mobile=" + GetHtml.UrlEncodeUtf8(tbmobile.Text));
|
||||
sb.Append("&address=" + GetHtml.UrlEncodeUtf8(tbaddress.Text));
|
||||
sb.Append("&buyer_mobile=" + cbmaishou.Text);
|
||||
sb.Append("&buyer_mobile_uid=" + cbmaishou.SelectedValue);
|
||||
sb.Append("&order_id_buy=" + tborderidbuy.Text);
|
||||
sb.Append("&remark=" + tbremark.Text);
|
||||
sb.Append("&is_update_order=0"); // 1修改状态0不修改状态
|
||||
|
||||
DouShopLoginInfo shop = Work.CollectionClass.DouShopLoginList.Find(x => x.ShopId == orderDetail.shop_id.ToString());
|
||||
if (shop != null)
|
||||
{
|
||||
orderDetail.remark = tbremark.Text.ToString();
|
||||
Dictionary<string, string> dic = new Dictionary<string, string>() { };
|
||||
dic.Add("remark", tbremark.Text.ToString());
|
||||
dic.Add("order_id", orderDetail.order_id);
|
||||
DouyinApi apix = new DouyinApi(shop);
|
||||
apix.JsonData = dic;
|
||||
string htmls = apix.AddOrderRemark();
|
||||
}
|
||||
|
||||
url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
var result = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
if (formtype == 1)
|
||||
{
|
||||
sendOrderForms.RreshUpIds(orderDetail.order_id);
|
||||
}
|
||||
else if (formtype == 2)
|
||||
{
|
||||
buyOrderListForm.RreshUpIds(orderDetail.order_id, orderDetail.product_id);
|
||||
}
|
||||
else if (formtype == 4 && afterSaleOrderListForm != null)
|
||||
{
|
||||
afterSaleOrderListForm.RreshUpIds(orderDetail.order_id);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(htmlUpid) && htmlUpid.Contains("\"code\":200") && !string.IsNullOrEmpty(result) && result.Contains("\"code\":200"))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("编辑成功");
|
||||
}
|
||||
else
|
||||
{
|
||||
var msg1 = "";
|
||||
var msg2 = "";
|
||||
if (!string.IsNullOrEmpty(htmlUpid) && !htmlUpid.Contains("\"code\":200"))
|
||||
{
|
||||
msg1 = "," + BaseRegex.GetStringJson(ref htmlUpid, "msg");
|
||||
}
|
||||
if (!string.IsNullOrEmpty(result) && !result.Contains("\"code\":200"))
|
||||
{
|
||||
msg2 = "," + BaseRegex.GetStringJson(ref result, "msg");
|
||||
}
|
||||
|
||||
BaseMsgForm.ShowInfo("编辑失败" + msg1 + msg2);
|
||||
}
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
string orderId = orderDetail.order_id;
|
||||
string orderId_buy = tborderidbuy.Text;
|
||||
string payMobile = cbmaishou.Text;
|
||||
string payMobileId = cbmaishou.SelectedValue.ToString();
|
||||
if (string.IsNullOrEmpty(payMobile))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请添加拍单账户", "", FormLevel.SMALL);
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(orderId_buy))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请添加拍单单号", "", FormLevel.SMALL);
|
||||
return;
|
||||
}
|
||||
string cookies = "";
|
||||
if (orderId_buy.Contains("-"))
|
||||
{
|
||||
var payAccount = PddBuyUser.buyUserCookies.First(x => x.Key.name == payMobile);
|
||||
if (payAccount.Value == null)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("未找到对应的拍单账户", "", FormLevel.SMALL);
|
||||
return;
|
||||
}
|
||||
for (int j = 0; j < payAccount.Value.Cookies.Count; j++)
|
||||
{
|
||||
cookies += payAccount.Value.Cookies[j].Name + "=" + payAccount.Value.Cookies[j].Value + "; ";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var payAccount = TaoBaoBuyUser.buyUserCookies.FirstOrDefault(x => x.Key.name == payMobile);
|
||||
if (payAccount.Value == null)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("未找到对应的拍单账户", "", FormLevel.SMALL);
|
||||
return;
|
||||
}
|
||||
for (int j = 0; j < payAccount.Value.Cookies.Count; j++)
|
||||
{
|
||||
cookies += payAccount.Value.Cookies[j].Name + "=" + payAccount.Value.Cookies[j].Value + "; ";
|
||||
}
|
||||
}
|
||||
|
||||
string buyPrice = new AutoConfirmExpress(cookies).CheckOrderPrice(orderId_buy, orderId, payMobile);
|
||||
if (!string.IsNullOrEmpty(buyPrice))
|
||||
{
|
||||
tbprice.Text = buyPrice;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
public class UserModel
|
||||
{
|
||||
public string uid { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
+132
@@ -0,0 +1,132 @@
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class RemarkEditForm
|
||||
{
|
||||
/// <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(RemarkEditForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btsave = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tbremark = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(396, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.btsave);
|
||||
this.panel1.Controls.Add(this.tbremark);
|
||||
this.panel1.Controls.Add(this.label13);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(2, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(428, 58);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// btsave
|
||||
//
|
||||
this.btsave.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btsave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btsave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btsave.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btsave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btsave.Location = new System.Drawing.Point(359, 6);
|
||||
this.btsave.Name = "btsave";
|
||||
this.btsave.Size = new System.Drawing.Size(60, 47);
|
||||
this.btsave.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
|
||||
this.btsave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
|
||||
this.btsave.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btsave.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.btsave.Style.CornerDiameter = 1;
|
||||
this.btsave.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btsave.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.btsave.Style.GradientAngle = 90;
|
||||
this.btsave.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
|
||||
this.btsave.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.btsave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
|
||||
this.btsave.TabIndex = 538;
|
||||
this.btsave.Text = "保存";
|
||||
this.btsave.Click += new System.EventHandler(this.btsave_Click);
|
||||
//
|
||||
// tbremark
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbremark.Border.Class = "TextBoxBorder";
|
||||
this.tbremark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbremark.Location = new System.Drawing.Point(70, 6);
|
||||
this.tbremark.Multiline = true;
|
||||
this.tbremark.Name = "tbremark";
|
||||
this.tbremark.Size = new System.Drawing.Size(283, 47);
|
||||
this.tbremark.TabIndex = 515;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(7, 8);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(65, 12);
|
||||
this.label13.TabIndex = 516;
|
||||
this.label13.Text = "订单备注:";
|
||||
//
|
||||
// RemarkEditForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(432, 92);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "RemarkEditForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(2, 0, 2, 2);
|
||||
this.Text = "修改备注";
|
||||
this.TitleText = "修改备注";
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbremark;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private DevComponents.DotNetBar.PanelEx btsave;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
using AllBase;
|
||||
using AllBase.DouYinModel.Result;
|
||||
using AllBase.Model.Result;
|
||||
using Newtonsoft.Json;
|
||||
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.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.Api;
|
||||
using Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class RemarkEditForm : BaseForm
|
||||
{
|
||||
string orderId = null;
|
||||
public string NewRemark = null;
|
||||
public RemarkEditForm(string _orderId, string remark)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.orderId = _orderId;
|
||||
this.tbremark.Text = NewRemark = remark;
|
||||
}
|
||||
|
||||
private void btsave_Click(object sender, EventArgs e)
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderId);
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(data.Replace("\r\n", ""));
|
||||
if (douYinOrderModel == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("订单不存在!");
|
||||
return;
|
||||
}
|
||||
|
||||
DouShopLoginInfo shop = Work.CollectionClass.DouShopLoginList.Find(x => x.ShopId == douYinOrderModel.shop_id.ToString());
|
||||
if (shop != null)
|
||||
{
|
||||
douYinOrderModel.remark = tbremark.Text.ToString();
|
||||
Dictionary<string, string> dic = new Dictionary<string, string>() { };
|
||||
dic.Add("remark", tbremark.Text.ToString());
|
||||
dic.Add("order_id", douYinOrderModel.order_id);
|
||||
DouyinApi apix = new DouyinApi(shop);
|
||||
apix.JsonData = dic;
|
||||
string updateDyResult = apix.AddOrderRemark();
|
||||
|
||||
NewRemark = tbremark.Text;
|
||||
sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&remark=" + tbremark.Text);
|
||||
var url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string updateServerResult = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
|
||||
if ((updateDyResult.Contains("\"message\":\"success\"") || updateDyResult.Contains("\"code\":10000")) && updateServerResult.Contains("\"code\":200") )
|
||||
{
|
||||
BaseMsgForm.ShowInfo("备注修改成功!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQVgAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+563
@@ -0,0 +1,563 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class SendOrderListForms
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.待发货ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.等待上家发货ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.发货成功ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.发货完成ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.发货直接发货ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.更新订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.订单插旗ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.灰色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.紫色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.蓝色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.绿色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.橙色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.红色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.DgvSendOrderList = new _29WxOrder.MyControl.MyDataGridView();
|
||||
this.col_shop_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_shop_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_up_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_c_biz_desc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productSku = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productImgSku = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.productSellingPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_buy_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission_scale = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.profit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_id = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_mobile = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_address = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_create_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_promise_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_send_remaining_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buyOrderTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buyOrderNum = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.buyOrderUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.expressName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.expressNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.sendOrderErrorMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pnlUpdateOrderInfo = new DevComponents.DotNetBar.PanelEx();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvSendOrderList)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.BackColor = System.Drawing.Color.White;
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.编辑ToolStripMenuItem,
|
||||
this.待发货ToolStripMenuItem,
|
||||
this.发货直接发货ToolStripMenuItem,
|
||||
this.更新订单ToolStripMenuItem,
|
||||
this.订单插旗ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(157, 114);
|
||||
//
|
||||
// 编辑ToolStripMenuItem
|
||||
//
|
||||
this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem";
|
||||
this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
|
||||
this.编辑ToolStripMenuItem.Text = "编辑";
|
||||
this.编辑ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 待发货ToolStripMenuItem
|
||||
//
|
||||
this.待发货ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.等待上家发货ToolStripMenuItem,
|
||||
this.发货成功ToolStripMenuItem,
|
||||
this.发货完成ToolStripMenuItem});
|
||||
this.待发货ToolStripMenuItem.Name = "待发货ToolStripMenuItem";
|
||||
this.待发货ToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
|
||||
this.待发货ToolStripMenuItem.Text = "修改状态";
|
||||
//
|
||||
// 等待上家发货ToolStripMenuItem
|
||||
//
|
||||
this.等待上家发货ToolStripMenuItem.Name = "等待上家发货ToolStripMenuItem";
|
||||
this.等待上家发货ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.等待上家发货ToolStripMenuItem.Text = "待拍单";
|
||||
this.等待上家发货ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 发货成功ToolStripMenuItem
|
||||
//
|
||||
this.发货成功ToolStripMenuItem.Name = "发货成功ToolStripMenuItem";
|
||||
this.发货成功ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.发货成功ToolStripMenuItem.Text = "上家已发货";
|
||||
this.发货成功ToolStripMenuItem.Visible = false;
|
||||
this.发货成功ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 发货完成ToolStripMenuItem
|
||||
//
|
||||
this.发货完成ToolStripMenuItem.Name = "发货完成ToolStripMenuItem";
|
||||
this.发货完成ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
||||
this.发货完成ToolStripMenuItem.Text = "发货完成";
|
||||
this.发货完成ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 发货直接发货ToolStripMenuItem
|
||||
//
|
||||
this.发货直接发货ToolStripMenuItem.Name = "发货直接发货ToolStripMenuItem";
|
||||
this.发货直接发货ToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
|
||||
this.发货直接发货ToolStripMenuItem.Text = "发货(直接发货)";
|
||||
this.发货直接发货ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 更新订单ToolStripMenuItem
|
||||
//
|
||||
this.更新订单ToolStripMenuItem.Name = "更新订单ToolStripMenuItem";
|
||||
this.更新订单ToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
|
||||
this.更新订单ToolStripMenuItem.Text = "更新订单";
|
||||
this.更新订单ToolStripMenuItem.Click += new System.EventHandler(this.MenuItem_Click);
|
||||
//
|
||||
// 订单插旗ToolStripMenuItem
|
||||
//
|
||||
this.订单插旗ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.灰色ToolStripMenuItem,
|
||||
this.紫色ToolStripMenuItem,
|
||||
this.蓝色ToolStripMenuItem,
|
||||
this.绿色ToolStripMenuItem,
|
||||
this.橙色ToolStripMenuItem,
|
||||
this.红色ToolStripMenuItem});
|
||||
this.订单插旗ToolStripMenuItem.Name = "订单插旗ToolStripMenuItem";
|
||||
this.订单插旗ToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
|
||||
this.订单插旗ToolStripMenuItem.Text = "订单插旗";
|
||||
//
|
||||
// 灰色ToolStripMenuItem
|
||||
//
|
||||
this.灰色ToolStripMenuItem.Name = "灰色ToolStripMenuItem";
|
||||
this.灰色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.灰色ToolStripMenuItem.Text = "灰色";
|
||||
this.灰色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 紫色ToolStripMenuItem
|
||||
//
|
||||
this.紫色ToolStripMenuItem.Name = "紫色ToolStripMenuItem";
|
||||
this.紫色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.紫色ToolStripMenuItem.Text = "紫色";
|
||||
this.紫色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 蓝色ToolStripMenuItem
|
||||
//
|
||||
this.蓝色ToolStripMenuItem.Name = "蓝色ToolStripMenuItem";
|
||||
this.蓝色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.蓝色ToolStripMenuItem.Text = "蓝色";
|
||||
this.蓝色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 绿色ToolStripMenuItem
|
||||
//
|
||||
this.绿色ToolStripMenuItem.Name = "绿色ToolStripMenuItem";
|
||||
this.绿色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.绿色ToolStripMenuItem.Text = "绿色";
|
||||
this.绿色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 橙色ToolStripMenuItem
|
||||
//
|
||||
this.橙色ToolStripMenuItem.Name = "橙色ToolStripMenuItem";
|
||||
this.橙色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.橙色ToolStripMenuItem.Text = "橙色";
|
||||
this.橙色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 红色ToolStripMenuItem
|
||||
//
|
||||
this.红色ToolStripMenuItem.Name = "红色ToolStripMenuItem";
|
||||
this.红色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.红色ToolStripMenuItem.Text = "红色";
|
||||
this.红色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// DgvSendOrderList
|
||||
//
|
||||
this.DgvSendOrderList.AllowUserToAddRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
|
||||
this.DgvSendOrderList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DgvSendOrderList.BackgroundColor = System.Drawing.Color.White;
|
||||
this.DgvSendOrderList.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvSendOrderList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DgvSendOrderList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DgvSendOrderList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.col_shop_id,
|
||||
this.col_shop_name,
|
||||
this.col_title,
|
||||
this.col_up_product_id,
|
||||
this.col_product_id,
|
||||
this.col_c_biz_desc,
|
||||
this.productSku,
|
||||
this.productImgSku,
|
||||
this.productSellingPrice,
|
||||
this.col_buy_price,
|
||||
this.commission_scale,
|
||||
this.commission,
|
||||
this.profit,
|
||||
this.productCount,
|
||||
this.col_order_id,
|
||||
this.col_name,
|
||||
this.col_mobile,
|
||||
this.col_address,
|
||||
this.col_create_time,
|
||||
this.col_order_promise_time,
|
||||
this.col_order_send_remaining_time,
|
||||
this.buyOrderTime,
|
||||
this.buyOrderNum,
|
||||
this.buyOrderUser,
|
||||
this.expressName,
|
||||
this.expressNo,
|
||||
this.col_remark,
|
||||
this.sendOrderErrorMsg});
|
||||
this.DgvSendOrderList.ContextMenuStrip = this.contextMenuStrip1;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvSendOrderList.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.DgvSendOrderList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.DgvSendOrderList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.DgvSendOrderList.IsCustomSort = false;
|
||||
this.DgvSendOrderList.Location = new System.Drawing.Point(0, 0);
|
||||
this.DgvSendOrderList.Name = "DgvSendOrderList";
|
||||
this.DgvSendOrderList.ReadOnly = true;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DgvSendOrderList.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.DgvSendOrderList.RowTemplate.Height = 23;
|
||||
this.DgvSendOrderList.ShowCellToolTips = false;
|
||||
this.DgvSendOrderList.Size = new System.Drawing.Size(800, 450);
|
||||
this.DgvSendOrderList.TabIndex = 1;
|
||||
this.DgvSendOrderList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.sendOrderListDgv_CellContentClick);
|
||||
this.DgvSendOrderList.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.sendOrderListDgv_CellMouseDown);
|
||||
this.DgvSendOrderList.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.sendOrderListDgv_CellMouseEnter);
|
||||
this.DgvSendOrderList.CellMouseLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.sendOrderListDgv_CellMouseLeave);
|
||||
//
|
||||
// col_shop_id
|
||||
//
|
||||
this.col_shop_id.HeaderText = "店铺编号";
|
||||
this.col_shop_id.Name = "col_shop_id";
|
||||
this.col_shop_id.ReadOnly = true;
|
||||
this.col_shop_id.Width = 80;
|
||||
//
|
||||
// col_shop_name
|
||||
//
|
||||
this.col_shop_name.HeaderText = "店铺名称";
|
||||
this.col_shop_name.Name = "col_shop_name";
|
||||
this.col_shop_name.ReadOnly = true;
|
||||
//
|
||||
// col_title
|
||||
//
|
||||
this.col_title.HeaderText = "商品名称";
|
||||
this.col_title.Name = "col_title";
|
||||
this.col_title.ReadOnly = true;
|
||||
//
|
||||
// col_up_product_id
|
||||
//
|
||||
this.col_up_product_id.HeaderText = "上家ID";
|
||||
this.col_up_product_id.Name = "col_up_product_id";
|
||||
this.col_up_product_id.ReadOnly = true;
|
||||
//
|
||||
// col_product_id
|
||||
//
|
||||
this.col_product_id.HeaderText = "本店ID";
|
||||
this.col_product_id.Name = "col_product_id";
|
||||
this.col_product_id.ReadOnly = true;
|
||||
this.col_product_id.Width = 120;
|
||||
//
|
||||
// col_c_biz_desc
|
||||
//
|
||||
this.col_c_biz_desc.HeaderText = "商品描述";
|
||||
this.col_c_biz_desc.Name = "col_c_biz_desc";
|
||||
this.col_c_biz_desc.ReadOnly = true;
|
||||
this.col_c_biz_desc.Width = 80;
|
||||
//
|
||||
// productSku
|
||||
//
|
||||
this.productSku.HeaderText = "规格";
|
||||
this.productSku.Name = "productSku";
|
||||
this.productSku.ReadOnly = true;
|
||||
//
|
||||
// productImgSku
|
||||
//
|
||||
this.productImgSku.HeaderText = "图片";
|
||||
this.productImgSku.Name = "productImgSku";
|
||||
this.productImgSku.ReadOnly = true;
|
||||
this.productImgSku.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.productImgSku.Width = 80;
|
||||
//
|
||||
// productSellingPrice
|
||||
//
|
||||
this.productSellingPrice.HeaderText = "售价";
|
||||
this.productSellingPrice.Name = "productSellingPrice";
|
||||
this.productSellingPrice.ReadOnly = true;
|
||||
this.productSellingPrice.Width = 60;
|
||||
//
|
||||
// col_buy_price
|
||||
//
|
||||
this.col_buy_price.HeaderText = "进价";
|
||||
this.col_buy_price.Name = "col_buy_price";
|
||||
this.col_buy_price.ReadOnly = true;
|
||||
this.col_buy_price.Width = 60;
|
||||
//
|
||||
// commission_scale
|
||||
//
|
||||
this.commission_scale.HeaderText = "佣金率";
|
||||
this.commission_scale.Name = "commission_scale";
|
||||
this.commission_scale.ReadOnly = true;
|
||||
this.commission_scale.Width = 60;
|
||||
//
|
||||
// commission
|
||||
//
|
||||
this.commission.HeaderText = "佣金";
|
||||
this.commission.Name = "commission";
|
||||
this.commission.ReadOnly = true;
|
||||
this.commission.Width = 60;
|
||||
//
|
||||
// profit
|
||||
//
|
||||
this.profit.HeaderText = "利润";
|
||||
this.profit.Name = "profit";
|
||||
this.profit.ReadOnly = true;
|
||||
this.profit.Width = 60;
|
||||
//
|
||||
// productCount
|
||||
//
|
||||
this.productCount.HeaderText = "数量";
|
||||
this.productCount.Name = "productCount";
|
||||
this.productCount.ReadOnly = true;
|
||||
this.productCount.Width = 40;
|
||||
//
|
||||
// col_order_id
|
||||
//
|
||||
this.col_order_id.HeaderText = "订单号";
|
||||
this.col_order_id.Name = "col_order_id";
|
||||
this.col_order_id.ReadOnly = true;
|
||||
this.col_order_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_order_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_order_id.Width = 130;
|
||||
//
|
||||
// col_name
|
||||
//
|
||||
this.col_name.HeaderText = "姓名";
|
||||
this.col_name.Name = "col_name";
|
||||
this.col_name.ReadOnly = true;
|
||||
//
|
||||
// col_mobile
|
||||
//
|
||||
this.col_mobile.HeaderText = "电话";
|
||||
this.col_mobile.Name = "col_mobile";
|
||||
this.col_mobile.ReadOnly = true;
|
||||
//
|
||||
// col_address
|
||||
//
|
||||
this.col_address.HeaderText = "地址";
|
||||
this.col_address.Name = "col_address";
|
||||
this.col_address.ReadOnly = true;
|
||||
//
|
||||
// col_create_time
|
||||
//
|
||||
this.col_create_time.HeaderText = "订单确认时间";
|
||||
this.col_create_time.Name = "col_create_time";
|
||||
this.col_create_time.ReadOnly = true;
|
||||
this.col_create_time.Width = 120;
|
||||
//
|
||||
// col_order_promise_time
|
||||
//
|
||||
this.col_order_promise_time.HeaderText = "延迟发货时间";
|
||||
this.col_order_promise_time.Name = "col_order_promise_time";
|
||||
this.col_order_promise_time.ReadOnly = true;
|
||||
this.col_order_promise_time.Width = 120;
|
||||
//
|
||||
// col_order_send_remaining_time
|
||||
//
|
||||
this.col_order_send_remaining_time.HeaderText = "延迟剩余";
|
||||
this.col_order_send_remaining_time.Name = "col_order_send_remaining_time";
|
||||
this.col_order_send_remaining_time.ReadOnly = true;
|
||||
//
|
||||
// buyOrderTime
|
||||
//
|
||||
this.buyOrderTime.HeaderText = "拍单时间";
|
||||
this.buyOrderTime.Name = "buyOrderTime";
|
||||
this.buyOrderTime.ReadOnly = true;
|
||||
this.buyOrderTime.Width = 120;
|
||||
//
|
||||
// buyOrderNum
|
||||
//
|
||||
this.buyOrderNum.HeaderText = "拍单订单号";
|
||||
this.buyOrderNum.Name = "buyOrderNum";
|
||||
this.buyOrderNum.ReadOnly = true;
|
||||
this.buyOrderNum.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.buyOrderNum.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.buyOrderNum.Width = 150;
|
||||
//
|
||||
// buyOrderUser
|
||||
//
|
||||
this.buyOrderUser.HeaderText = "买手号";
|
||||
this.buyOrderUser.Name = "buyOrderUser";
|
||||
this.buyOrderUser.ReadOnly = true;
|
||||
//
|
||||
// expressName
|
||||
//
|
||||
this.expressName.HeaderText = "物流公司";
|
||||
this.expressName.Name = "expressName";
|
||||
this.expressName.ReadOnly = true;
|
||||
//
|
||||
// expressNo
|
||||
//
|
||||
this.expressNo.HeaderText = "物流单号";
|
||||
this.expressNo.Name = "expressNo";
|
||||
this.expressNo.ReadOnly = true;
|
||||
//
|
||||
// col_remark
|
||||
//
|
||||
this.col_remark.HeaderText = "备注";
|
||||
this.col_remark.Name = "col_remark";
|
||||
this.col_remark.ReadOnly = true;
|
||||
//
|
||||
// sendOrderErrorMsg
|
||||
//
|
||||
this.sendOrderErrorMsg.HeaderText = "发货异常";
|
||||
this.sendOrderErrorMsg.Name = "sendOrderErrorMsg";
|
||||
this.sendOrderErrorMsg.ReadOnly = true;
|
||||
this.sendOrderErrorMsg.Width = 200;
|
||||
//
|
||||
// pnlUpdateOrderInfo
|
||||
//
|
||||
this.pnlUpdateOrderInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlUpdateOrderInfo.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlUpdateOrderInfo.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlUpdateOrderInfo.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlUpdateOrderInfo.Location = new System.Drawing.Point(346, 175);
|
||||
this.pnlUpdateOrderInfo.MaximumSize = new System.Drawing.Size(300, 140);
|
||||
this.pnlUpdateOrderInfo.Name = "pnlUpdateOrderInfo";
|
||||
this.pnlUpdateOrderInfo.Size = new System.Drawing.Size(110, 100);
|
||||
this.pnlUpdateOrderInfo.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlUpdateOrderInfo.Style.BackColor1.Alpha = ((byte)(128));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor2.Alpha = ((byte)(128));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlUpdateOrderInfo.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pnlUpdateOrderInfo.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlUpdateOrderInfo.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlUpdateOrderInfo.Style.GradientAngle = 90;
|
||||
this.pnlUpdateOrderInfo.TabIndex = 2;
|
||||
this.pnlUpdateOrderInfo.Text = "正在更新订单";
|
||||
this.pnlUpdateOrderInfo.Visible = false;
|
||||
//
|
||||
// SendOrderListForms
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.pnlUpdateOrderInfo);
|
||||
this.Controls.Add(this.DgvSendOrderList);
|
||||
this.Name = "SendOrderListForms";
|
||||
this.Text = "SendProductForms";
|
||||
this.Load += new System.EventHandler(this.SendOrderForms_Load);
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvSendOrderList)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private MyControl.MyDataGridView DgvSendOrderList;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 待发货ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 等待上家发货ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 发货成功ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 发货完成ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 发货直接发货ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 更新订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 订单插旗ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 灰色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 紫色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 蓝色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 绿色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 橙色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 红色ToolStripMenuItem;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_title;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_up_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_c_biz_desc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productSku;
|
||||
private System.Windows.Forms.DataGridViewImageColumn productImgSku;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productSellingPrice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_buy_price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission_scale;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn profit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productCount;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_mobile;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_address;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_create_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_promise_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_send_remaining_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buyOrderTime;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn buyOrderNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buyOrderUser;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn expressName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn expressNo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_remark;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sendOrderErrorMsg;
|
||||
private DevComponents.DotNetBar.PanelEx pnlUpdateOrderInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,858 @@
|
||||
using AllBase;
|
||||
using AllBase.DouYinModel.Result;
|
||||
using AllBase.Model.Result;
|
||||
using _29WxOrder.BuyForms;
|
||||
using NaiBa.Util.Extension;
|
||||
using Newtonsoft.Json;
|
||||
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.Api;
|
||||
using Work.BaseForms;
|
||||
using Work.BuyUsers;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class SendOrderListForms : Form
|
||||
{
|
||||
public MainForm mainform;
|
||||
bool isread = false;
|
||||
|
||||
public SendOrderListForms()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void SendOrderForms_Load(object sender, EventArgs e)
|
||||
{
|
||||
SetDgvHeaders(false);
|
||||
readData();
|
||||
}
|
||||
|
||||
public void readData()
|
||||
{
|
||||
if (isread)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("正在读取待发货订单中,请等待读单完成", "提示");
|
||||
return;
|
||||
}
|
||||
new Thread(SetRows).Start();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 计算商品利润
|
||||
/// </summary>
|
||||
/// <param name="douYinOrderModel"></param>
|
||||
/// <returns></returns>
|
||||
public static double GetLirun(DouYinOrderModel douYinOrderModel)
|
||||
{
|
||||
double lirun = 0.00;
|
||||
|
||||
try
|
||||
{
|
||||
if (!douYinOrderModel.c_biz_desc.Contains("精选联盟"))
|
||||
lirun = Convert.ToDouble(douYinOrderModel.price) - Convert.ToDouble(douYinOrderModel.buy_price);
|
||||
else
|
||||
lirun = Convert.ToDouble(douYinOrderModel.price) - Convert.ToDouble(douYinOrderModel.buy_price) - Convert.ToDouble(string.IsNullOrEmpty(douYinOrderModel.commission) ? "0.00" : douYinOrderModel.commission);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
lirun = 0.00;
|
||||
}
|
||||
return lirun;
|
||||
}
|
||||
|
||||
public void SetRows()
|
||||
{
|
||||
isread = true;
|
||||
int datacount = 0;
|
||||
int page = 0;
|
||||
int pageSize = 100;
|
||||
Invoke(new Action(() => { DgvSendOrderList.Rows.Clear(); }));
|
||||
CollectionClass.orderSenderDataList.Clear();
|
||||
|
||||
downpage:
|
||||
string urlx = BaseClass.LoginApiUrl + "?obj=douyin/order&act=get";
|
||||
string datax = UserLogin.GetSignaturex("", "") + "&order_status_buy=2,3,5&page=" + page + "&pageSize=" + pageSize;
|
||||
string html = GetHtml.PostUtf8(urlx, datax);
|
||||
if (string.IsNullOrEmpty(html))
|
||||
{
|
||||
isread = false;
|
||||
return;
|
||||
}
|
||||
if (!html.Contains("\"code\":200"))
|
||||
{
|
||||
isread = false;
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(JObject.Parse(html)["data"].ToString()))
|
||||
{
|
||||
isread = false;
|
||||
return;
|
||||
}
|
||||
// {"code": 400,"data": []}
|
||||
var jArr = JObject.Parse(html)["data"]["list"];
|
||||
|
||||
datacount = Convert.ToInt32(JObject.Parse(html)["data"]["count"]);
|
||||
foreach (JObject jObj in jArr)
|
||||
{
|
||||
string orderStr = jObj.ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(orderStr.Replace("\r\n", ""));
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
DgvAddRowByDouYinOrderModel(DgvSendOrderList, douYinOrderModel);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{ }
|
||||
}));
|
||||
CollectionClass.orderSenderDataList.Add(douYinOrderModel);
|
||||
}
|
||||
if (Math.Ceiling(datacount / Convert.ToDouble(pageSize)) > page + 1)
|
||||
{
|
||||
page++;
|
||||
goto downpage;
|
||||
}
|
||||
isread = false;
|
||||
}
|
||||
|
||||
public static string GetxxxString(string Input)
|
||||
{
|
||||
string Output = "";
|
||||
switch (Input.Length)
|
||||
{
|
||||
case 1:
|
||||
Output = "*";
|
||||
break;
|
||||
case 2:
|
||||
Output = Input[0] + "*";
|
||||
break;
|
||||
case 3:
|
||||
Output = Input[0] + "*";
|
||||
break;
|
||||
case 4:
|
||||
Output = Input[0] + "*";
|
||||
break;
|
||||
case 6:
|
||||
Output = Input;
|
||||
break;
|
||||
case 0:
|
||||
Output = "";
|
||||
break;
|
||||
default:
|
||||
Output = Input.Substring(0, 7);
|
||||
for (int i = 0; i < Input.Length - 7; i++)
|
||||
{
|
||||
Output += "*";
|
||||
}
|
||||
break;
|
||||
}
|
||||
return Output;
|
||||
}
|
||||
public void outexcel()
|
||||
{
|
||||
OutExcel.ExportToExcel(OutExcel.ToDataTable(DgvSendOrderList));
|
||||
}
|
||||
public void SetDgvHeaders(bool isEditDgvHeaders = true)
|
||||
{
|
||||
if (isEditDgvHeaders)
|
||||
{
|
||||
DgvHeaderEditForm df = new DgvHeaderEditForm(this.DgvSendOrderList);
|
||||
df.TitleText = "编辑待发货列表表头";
|
||||
df.ShowDialog();
|
||||
}
|
||||
DgvHeaderEditForm.SetDgvHeaderVisible(this.DgvSendOrderList, false);
|
||||
}
|
||||
private void sendOrderListDgv_CellMouseLeave(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.RowIndex != -1)
|
||||
{
|
||||
if (e.RowIndex % 2 == 0)
|
||||
{
|
||||
DgvSendOrderList.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.FromArgb(244, 244, 244);
|
||||
}
|
||||
else
|
||||
{
|
||||
DgvSendOrderList.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.White;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void sendOrderListDgv_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.RowIndex < 0 || e.ColumnIndex < 0)
|
||||
return;
|
||||
|
||||
var orderId = DgvSendOrderList.Rows[e.RowIndex].Cells["col_order_id"].Value.ToString();
|
||||
var order = CollectionClass.orderSenderDataList.FirstOrDefault(x => x.order_id == orderId);
|
||||
if (order != null)
|
||||
{
|
||||
if (DgvSendOrderList.Rows[e.RowIndex].Cells[e.ColumnIndex] == DgvSendOrderList.Rows[e.RowIndex].Cells["productImgSku"])
|
||||
{
|
||||
try
|
||||
{
|
||||
var original = Image.FromStream(System.Net.WebRequest.Create(order.sku_img).GetResponse().GetResponseStream());
|
||||
var skuImg = new Bitmap(original, new Size(216, 216));
|
||||
mainform.skuimg(skuImg);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
mainform.skuimghide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void DgvAddRowByDouYinOrderModel(DataGridView dgv, DouYinOrderModel douYinOrderModel)
|
||||
{
|
||||
TimeSpan ts1 = new TimeSpan(Convert.ToDateTime(douYinOrderModel.create_time).Ticks);
|
||||
TimeSpan ts2 = new TimeSpan(DateTime.Now.AddHours(-48).Ticks);
|
||||
TimeSpan ts = ts1.Subtract(ts2).Duration();
|
||||
|
||||
dgv.Rows.Add(
|
||||
/*"店铺编号"*/ douYinOrderModel.shop_id,
|
||||
/*"店铺名称"*/ douYinOrderModel.shop_name,
|
||||
/*"商品标题"*/ douYinOrderModel.title,
|
||||
/*"上家ID"*/ (string.IsNullOrEmpty(douYinOrderModel.default_up_ids) ? douYinOrderModel.up_product_id : douYinOrderModel.default_up_ids),
|
||||
/*"本店ID"*/ douYinOrderModel.product_id,
|
||||
/*"商品描述"*/ douYinOrderModel.c_biz_desc,
|
||||
/*"规格"*/ douYinOrderModel.sku,
|
||||
/*"图片"*/ BuyOrderListForm.GetSkuImage(douYinOrderModel.sku_img),
|
||||
/*"售价"*/ douYinOrderModel.price,
|
||||
/*"进价"*/ douYinOrderModel.buy_price,
|
||||
/*"佣金比例"*/ string.IsNullOrEmpty(douYinOrderModel.commission_scale) || douYinOrderModel.c_biz_desc != "精选联盟" ? "0.00" : douYinOrderModel.commission_scale,
|
||||
/*"佣金"*/ string.IsNullOrEmpty(douYinOrderModel.commission) || douYinOrderModel.c_biz_desc != "精选联盟" ? "0.00" : douYinOrderModel.commission,
|
||||
/*"利润"*/ GetLirun(douYinOrderModel),
|
||||
/*"数量"*/ douYinOrderModel.count,
|
||||
/*"买家订单号"*/ douYinOrderModel.order_id,
|
||||
/*"买家姓名"*/ douYinOrderModel.name, //*"买家姓名"*/ GetxxxString(douYinOrderModel.name),
|
||||
/*"买家电话"*/ douYinOrderModel.mobile, //*"买家电话"*/ GetxxxString(douYinOrderModel.mobile),
|
||||
/*"买家地址"*/ douYinOrderModel.address, //*"买家地址"*/ GetxxxString(douYinOrderModel.address),
|
||||
/*"订单确认时间"*/ douYinOrderModel.create_time,
|
||||
/*"延迟发货时间"*/ Convert.ToDateTime(douYinOrderModel.create_time).AddHours(48).ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
/*"延迟剩余"*/ (ts2 > ts1 ? "超 " : "") + ts.Days.ToString("D2") + "天" + ts.Hours.ToString("D2") + "时" + ts.Minutes.ToString("D2") + "分",
|
||||
/*"拍单时间"*/ douYinOrderModel.buy_time.ParseToDateTime() <= new DateTime(2021, 1, 1, 1, 1, 1) ? "--" : douYinOrderModel.buy_time,
|
||||
/*"拍单订单号"*/ douYinOrderModel.order_id_buy,
|
||||
/*"买手号"*/ douYinOrderModel.buyer_mobile,
|
||||
/*"物流公司"*/ douYinOrderModel.express_name,
|
||||
/*"物流单号"*/ douYinOrderModel.express_no,
|
||||
/*"物流单号"*/ douYinOrderModel.remark,
|
||||
/*"发货异常"*/ douYinOrderModel.send_order_error_msg
|
||||
);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新列
|
||||
/// </summary>
|
||||
/// <param name="order"></param>
|
||||
/// <param name="type">1 添加 修改 2删除</param>
|
||||
public void SetOrderEditShowInDgvRows(DouYinOrderModel douYinOrderModel, int type)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
IEnumerable<DataGridViewRow> enumerableList = this.DgvSendOrderList.Rows.Cast<DataGridViewRow>();
|
||||
List<DataGridViewRow> list = (from item in enumerableList
|
||||
where item.Cells["col_order_id"].Value.ToString() == douYinOrderModel.order_id
|
||||
select item).ToList();
|
||||
if (type == 1)
|
||||
{
|
||||
if (list.Count == 0)
|
||||
{
|
||||
DgvAddRowByDouYinOrderModel(DgvSendOrderList, douYinOrderModel);
|
||||
}
|
||||
else
|
||||
{
|
||||
var item = DgvSendOrderList.Rows[list[0].Index];
|
||||
item.Cells["col_buy_price"].Value = douYinOrderModel.buy_price;
|
||||
item.Cells["col_name"].Value = douYinOrderModel.name;
|
||||
item.Cells["col_mobile"].Value = douYinOrderModel.mobile;
|
||||
item.Cells["col_address"].Value = douYinOrderModel.address;
|
||||
item.Cells["sendOrderErrorMsg"].Value = douYinOrderModel.send_order_error_msg;
|
||||
item.Cells["expressName"].Value = douYinOrderModel.express_name;
|
||||
item.Cells["expressNo"].Value = douYinOrderModel.express_no;
|
||||
item.Cells["buyOrderUser"].Value = douYinOrderModel.buyer_mobile;
|
||||
item.Cells["col_remark"].Value = douYinOrderModel.remark;
|
||||
}
|
||||
|
||||
}
|
||||
else if (type == 2)
|
||||
{
|
||||
if (list.Count > 0)
|
||||
{
|
||||
this.DgvSendOrderList.Rows.RemoveAt(list[0].Index);
|
||||
}
|
||||
|
||||
}
|
||||
else if (type == 3)
|
||||
{
|
||||
if (list.Count > 0)
|
||||
{
|
||||
var item = DgvSendOrderList.Rows[list[0].Index];
|
||||
item.Cells["commission"].Value = string.IsNullOrEmpty(douYinOrderModel.commission) || douYinOrderModel.c_biz_desc != "精选联盟" ? "0.00" : douYinOrderModel.commission;
|
||||
item.Cells["commission_scale"].Value = string.IsNullOrEmpty(douYinOrderModel.commission_scale) || douYinOrderModel.c_biz_desc != "精选联盟" ? "0.00" : douYinOrderModel.commission_scale;
|
||||
item.Cells["profit"].Value = GetLirun(douYinOrderModel);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
public bool SelectOrder(string order_id)
|
||||
{
|
||||
IEnumerable<DataGridViewRow> enumerableList = this.DgvSendOrderList.Rows.Cast<DataGridViewRow>();
|
||||
bool isexist = false;
|
||||
for (int i = 0; i < DgvSendOrderList.Rows.Count; i++)
|
||||
{
|
||||
string orderid = DgvSendOrderList.Rows[i].Cells["col_order_id"].Value.ToString();
|
||||
string ordermobile = DgvSendOrderList.Rows[i].Cells["col_mobile"].Value.ToString();
|
||||
string orderusername = DgvSendOrderList.Rows[i].Cells["col_name"].Value.ToString();
|
||||
string title = DgvSendOrderList.Rows[i].Cells["col_title"].Value.ToString();
|
||||
string productId = DgvSendOrderList.Rows[i].Cells["col_product_id"].Value.ToString();
|
||||
string buyOrderNumber = DgvSendOrderList.Rows[i].Cells["buyOrderNum"].Value.ToString();
|
||||
if (string.IsNullOrEmpty(order_id) || orderid.Contains(order_id) || ordermobile.Contains(order_id) || orderusername.Contains(order_id) ||
|
||||
title.Contains(order_id) || productId.Contains(order_id) || buyOrderNumber.Contains(order_id))
|
||||
{
|
||||
DgvSendOrderList.Rows[i].Visible = true;
|
||||
isexist = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
DgvSendOrderList.Rows[i].Visible = false;
|
||||
}
|
||||
}
|
||||
return isexist;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 点击行列
|
||||
/// </summary>
|
||||
private DataGridViewCellMouseEventArgs mouseEvent;
|
||||
private void MenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ToolStripMenuItem tsmenu = sender as ToolStripMenuItem;
|
||||
if (mouseEvent == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var buyOrderId = DgvSendOrderList.Rows[mouseEvent.RowIndex].Cells["col_order_id"].Value.ToString();
|
||||
switch (tsmenu.Text)
|
||||
{
|
||||
case "编辑":
|
||||
DouYinOrderModel orderDetail = CollectionClass.orderSenderDataList.Find(x => x.order_id == buyOrderId);
|
||||
OrderEdit ed = new OrderEdit();
|
||||
ed.sendOrderForms = this;
|
||||
ed.formtype = 1;
|
||||
ed.orderDetail = orderDetail;
|
||||
ed.ShowDialog();
|
||||
break;
|
||||
case "待拍单":
|
||||
updateStatus(buyOrderId, 1);
|
||||
break;
|
||||
case "上家已发货":
|
||||
updateStatus(buyOrderId, 3);
|
||||
break;
|
||||
case "发货完成":
|
||||
updateStatus(buyOrderId, 0);
|
||||
break;
|
||||
case "发货(直接发货)":
|
||||
ExpressOrderForm exp = new ExpressOrderForm();
|
||||
exp.buyOrderId = buyOrderId;
|
||||
exp.mainform = mainform;
|
||||
exp.types = 2;
|
||||
exp.ShowDialog();
|
||||
//mainform.logisticsAddOrder(buyOrderId, 2);
|
||||
break;
|
||||
case "更新订单":
|
||||
if (!threadUpadateOrder)
|
||||
{
|
||||
new Thread(updateOrderDetail).Start();
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseMsgForm.ShowInfo("订单更新中,请等待当前更新任务完成。", "提示");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
bool threadUpadateOrder = false;
|
||||
void updateOrderDetail()
|
||||
{
|
||||
List<DataGridViewRow> listSelectedRow = new List<DataGridViewRow>();
|
||||
List<string> list_orderid = new List<string>();
|
||||
int cellindex = 0;
|
||||
for (int i = 0; i < DgvSendOrderList.Rows.Count; i++)
|
||||
{
|
||||
#region 获取多选列取行数据
|
||||
if (cellindex == 0)
|
||||
{
|
||||
for (int k = 0; k < DgvSendOrderList.ColumnCount; k++)
|
||||
{
|
||||
if (DgvSendOrderList.Rows[i].Cells[k].Selected)
|
||||
{
|
||||
cellindex = k;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cellindex > 0)
|
||||
{
|
||||
DataGridViewRow dvr = DgvSendOrderList.Rows[i].Cells[cellindex].OwningRow;
|
||||
if (DgvSendOrderList.Rows[i].Cells[cellindex].Selected)
|
||||
{
|
||||
listSelectedRow.Add(dvr);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
if (DgvSendOrderList.SelectedRows.Count > 0)
|
||||
{
|
||||
if (DgvSendOrderList.Rows[i].Selected == true)
|
||||
{
|
||||
string sendorderid = DgvSendOrderList.Rows[i].Cells["col_order_id"].Value.ToString();
|
||||
if (sendorderid != null)
|
||||
{
|
||||
list_orderid.Add(sendorderid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (list_orderid.Count == 0 && listSelectedRow.Count > 0)
|
||||
{
|
||||
foreach (DataGridViewRow dgvrows in listSelectedRow)
|
||||
{
|
||||
list_orderid.Add(dgvrows.Cells["col_order_id"].Value.ToString());
|
||||
}
|
||||
}
|
||||
threadUpadateOrder = true;
|
||||
try
|
||||
{
|
||||
int upNum = 0;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pnlUpdateOrderInfo.Visible = true;
|
||||
pnlUpdateOrderInfo.Location = new Point(pnlUpdateOrderInfo.Parent.Width / 2 - pnlUpdateOrderInfo.Width / 2, pnlUpdateOrderInfo.Parent.Height / 2 - pnlUpdateOrderInfo.Height / 2);
|
||||
}));
|
||||
foreach (string orderid in list_orderid)
|
||||
{
|
||||
upNum++;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pnlUpdateOrderInfo.Text = "正在更新订单" + upNum + "/" + list_orderid.Count;
|
||||
pnlUpdateOrderInfo.Location = new Point(pnlUpdateOrderInfo.Parent.Width / 2 - pnlUpdateOrderInfo.Width / 2, pnlUpdateOrderInfo.Parent.Height / 2 - pnlUpdateOrderInfo.Height / 2);
|
||||
}));
|
||||
|
||||
#region 更新订单
|
||||
DouYinOrderModel douYinOrderModel = CollectionClass.orderSenderDataList.Find(x => x.order_id == orderid);
|
||||
DouShopLoginInfo shop = CollectionClass.DouShopLoginList.Find(x => x.ShopId == douYinOrderModel.shop_id.ToString());
|
||||
if (douYinOrderModel != null)
|
||||
{
|
||||
if (shop != null)
|
||||
{
|
||||
DouyinApi dyapi = new DouyinApi(shop);
|
||||
Dictionary<string, string> dic = new Dictionary<string, string>() { };
|
||||
dic.Add("shop_order_id", douYinOrderModel.order_id);
|
||||
dyapi.JsonData = dic;
|
||||
string htmljm = dyapi.GetOrderDetail();
|
||||
string code = JObject.Parse(htmljm)["code"]?.ToString();
|
||||
if (code == "10000")
|
||||
{
|
||||
// 订单状态1 待确认/待支付(订单创建完毕)105 已支付 2 备货中 101 部分发货 3 已发货(全部发货)4 已取消5 已完成(已收货)
|
||||
string order_status = JObject.Parse(htmljm)["data"]["shop_order_detail"]["order_status"].ToString();
|
||||
// 3 已发货(全部发货)4 已取消 5 已完成(已收货)
|
||||
if (order_status == "3" || order_status == "4" || order_status == "5")
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
if (order_status == "4")
|
||||
sb.Append("&order_status_buy=4");
|
||||
else
|
||||
sb.Append("&order_status_buy=0");
|
||||
sb.Append("&is_update_order=1"); // 1修改状态0不修改状态
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
var aa = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
CollectionClass.orderSenderDataList.Remove(douYinOrderModel);
|
||||
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (douYinOrderModel.buyer_mobile.Contains("失败") || douYinOrderModel.buyer_mobile.Contains("$1$$") || douYinOrderModel.mobile == "******")
|
||||
{
|
||||
#region 解密
|
||||
string name_encrypt = JObject.Parse(htmljm)["data"]["shop_order_detail"]["encrypt_post_receiver"].ToString();
|
||||
string mobile_encrypt = JObject.Parse(htmljm)["data"]["shop_order_detail"]["encrypt_post_tel"].ToString();
|
||||
dic = new Dictionary<string, string>() { };
|
||||
dic.Add("cipher_infos", "[{\"auth_id\":\"" + douYinOrderModel.order_id + "\",\"cipher_text\":\"" + name_encrypt + "\"}," +
|
||||
"{\"auth_id\":\"" + douYinOrderModel.order_id + "\",\"cipher_text\":\"" + mobile_encrypt + "\"}," +
|
||||
"{\"auth_id\":\"" + douYinOrderModel.order_id + "\",\"cipher_text\":\"" + JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["encrypt_detail"].ToString() + "\"}" +
|
||||
"]");
|
||||
string expname = "", expmobile = "", expaddress = "";
|
||||
if (shop != null)
|
||||
{
|
||||
DouyinApi apix = new DouyinApi(shop);
|
||||
apix.JsonData = dic;
|
||||
string htmljm_h = apix.GetOrderBatchDecrypt();
|
||||
string codejm = JObject.Parse(htmljm)["code"]?.ToString();
|
||||
if (codejm == "10000")
|
||||
{
|
||||
var jArrJM = JObject.Parse(htmljm_h)["data"]["decrypt_infos"];
|
||||
foreach (var itemjm in jArrJM)
|
||||
{
|
||||
string cipher_text = JObject.Parse(itemjm.ToString())["cipher_text"].ToString();
|
||||
if (cipher_text == name_encrypt)
|
||||
{
|
||||
expname = JObject.Parse(itemjm.ToString())["decrypt_text"].ToString();
|
||||
}
|
||||
else if (cipher_text == mobile_encrypt)
|
||||
{
|
||||
expmobile = JObject.Parse(itemjm.ToString())["decrypt_text"].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
//省
|
||||
string province = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["province"]["name"].ToString();
|
||||
//市
|
||||
string city = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["city"]["name"].ToString();
|
||||
//区
|
||||
string town = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["town"]["name"].ToString();
|
||||
//街道
|
||||
string street = JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["street"]["name"].ToString();
|
||||
expaddress = province + city + town + street + JObject.Parse(itemjm.ToString())["decrypt_text"].ToString();
|
||||
}
|
||||
|
||||
//姓名 JObject.Parse(htmljm)["data"]["shop_order_detail"]["encrypt_post_receiver"].ToString()
|
||||
//电话 JObject.Parse(htmljm)["data"]["shop_order_detail"]["encrypt_post_tel"].ToString()
|
||||
//详细地址 JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["encrypt_detail"].ToString()
|
||||
//省 JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["province"]["name"].ToString()
|
||||
//市 JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["city"]["name"].ToString()
|
||||
//区 JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["town"]["name"].ToString()
|
||||
//街道 JObject.Parse(htmljm)["data"]["shop_order_detail"]["post_addr"]["street"]["name"].ToString()
|
||||
}
|
||||
}
|
||||
}
|
||||
if (expmobile.Contains("失败") || expmobile.Contains("$1$$") || expmobile == "******")
|
||||
{
|
||||
expaddress = expmobile = expname = "解密失败..";
|
||||
}
|
||||
douYinOrderModel.name = expname;
|
||||
douYinOrderModel.mobile = expmobile;
|
||||
douYinOrderModel.address = expaddress;
|
||||
sb.Append("&name=" + GetHtml.UrlEncodeUtf8(expname));
|
||||
sb.Append("&mobile=" + GetHtml.UrlEncodeUtf8(expmobile));
|
||||
sb.Append("&address=" + GetHtml.UrlEncodeUtf8(expaddress));
|
||||
#endregion
|
||||
}
|
||||
douYinOrderModel.remark = JObject.Parse(htmljm)["data"]["shop_order_detail"]["seller_words"].ToString();
|
||||
string buyPrice = new AutoConfirmExpress("").CheckOrderPrice(douYinOrderModel.order_id_buy, douYinOrderModel.order_id, douYinOrderModel.buyer_mobile);
|
||||
|
||||
if (!string.IsNullOrEmpty(buyPrice))
|
||||
{
|
||||
douYinOrderModel.buy_price = buyPrice;
|
||||
sb.Append("&buy_price=" + buyPrice);
|
||||
}
|
||||
sb.Append("&order_id=" + douYinOrderModel.order_id);
|
||||
sb.Append("&remark=" + douYinOrderModel.remark);
|
||||
sb.Append("&is_update_order=0");//1修改状态0不修改状态
|
||||
|
||||
string url = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string htmjg = GetHtml.PostUtf8(url, UserLogin.GetSignaturex() + sb.ToString());
|
||||
SetOrderEditShowInDgvRows(douYinOrderModel, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (BaseClass.isUseSimGetRealAddress || douYinOrderModel.name.Contains("解密失败") || douYinOrderModel.mobile.Contains("$1$$") || douYinOrderModel.mobile == "******")
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
if (shop != null && douYinOrderModel != null)
|
||||
mainform.GetRealAddressSim(shop, douYinOrderModel);
|
||||
});
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pnlUpdateOrderInfo.Visible = false;
|
||||
}));
|
||||
threadUpadateOrder = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#region 修改dgv列表的自定义总店上家Id1
|
||||
public void RreshUpIds(string orderid)
|
||||
{
|
||||
for (int i = 0; i < DgvSendOrderList.Rows.Count; i++)
|
||||
{
|
||||
var item = DgvSendOrderList.Rows[i];
|
||||
var tempPid = item.Cells["col_order_id"].Value == null ? "" : item.Cells["col_order_id"].Value.ToString();
|
||||
if (tempPid != orderid)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + orderid);
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=get_detail");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string data = JObject.Parse(html)["data"].ToString();
|
||||
DouYinOrderModel douYinOrderModel = JsonConvert.DeserializeObject<DouYinOrderModel>(data.Replace("\r\n", ""));
|
||||
if (douYinOrderModel != null)
|
||||
{
|
||||
DouYinOrderModel dym = CollectionClass.orderSenderDataList.Find(x => x.order_id == orderid);
|
||||
if (dym != null)
|
||||
{
|
||||
CollectionClass.orderSenderDataList.Remove(dym);
|
||||
CollectionClass.orderSenderDataList.Add(douYinOrderModel);
|
||||
}
|
||||
item.Cells["col_up_product_id"].Value = (string.IsNullOrEmpty(douYinOrderModel.default_up_ids) ? douYinOrderModel.up_product_id : douYinOrderModel.default_up_ids);
|
||||
item.Cells["col_buy_price"].Value = douYinOrderModel.buy_price;
|
||||
item.Cells["productCount"].Value = douYinOrderModel.count;
|
||||
item.Cells["col_name"].Value = douYinOrderModel.name;
|
||||
item.Cells["col_mobile"].Value = douYinOrderModel.mobile;
|
||||
item.Cells["col_address"].Value = douYinOrderModel.address;
|
||||
item.Cells["col_remark"].Value = douYinOrderModel.remark;
|
||||
item.Cells["expressName"].Value = douYinOrderModel.express_name;
|
||||
item.Cells["expressNo"].Value = douYinOrderModel.express_no;
|
||||
item.Cells["buyOrderUser"].Value = douYinOrderModel.buyer_mobile;
|
||||
item.Cells["buyOrderNum"].Value = douYinOrderModel.order_id_buy;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
void updateStatus(string order_id, int status)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("&order_id=" + order_id);
|
||||
sb.Append("&order_status_buy=" + status);
|
||||
sb.Append("&is_update_order=1");//1修改状态0不修改状态
|
||||
string upjmurl = BaseClass.DouYinBuildObjString("order&act=update");
|
||||
string html = GetHtml.PostUtf8(upjmurl, UserLogin.GetSignaturex() + sb.ToString());
|
||||
string code = JObject.Parse(html)["code"].ToString();
|
||||
|
||||
IEnumerable<DataGridViewRow> enumerableList = this.DgvSendOrderList.Rows.Cast<DataGridViewRow>();
|
||||
List<DataGridViewRow> list = (from item in enumerableList where item.Cells["col_order_id"].Value.ToString() == order_id select item).ToList();
|
||||
this.DgvSendOrderList.Rows.RemoveAt(list[0].Index);
|
||||
|
||||
DouYinOrderModel dyorderModel = CollectionClass.orderSenderDataList.Find(x => x.order_id == order_id);
|
||||
CollectionClass.orderSenderDataList.RemoveAll(x => x.order_id == order_id);
|
||||
CollectionClass.orderDataList.Add(dyorderModel);
|
||||
mainform.buyOrderListForm.SetOrderEditShowInDgvRows(dyorderModel, 1);
|
||||
}
|
||||
|
||||
private void sendOrderListDgv_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
mouseEvent = e;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void sendOrderListDgv_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
string name = DgvSendOrderList.Columns[e.ColumnIndex].HeaderText;
|
||||
if (name == "拍单订单号")
|
||||
{
|
||||
string buyOrderId = "";
|
||||
if (DgvSendOrderList.Rows[e.RowIndex].Cells["col_order_id"].Value != null)
|
||||
{
|
||||
buyOrderId = DgvSendOrderList.Rows[e.RowIndex].Cells["col_order_id"].Value.ToString();
|
||||
}
|
||||
string buyOrderNum = DgvSendOrderList.Rows[e.RowIndex].Cells["buyOrderNum"].Value.ToString();
|
||||
DouYinOrderModel douyinModel = CollectionClass.orderSenderDataList.Find(x => x.order_id == buyOrderId);
|
||||
if (douyinModel != null)
|
||||
{
|
||||
string orderurl = "";
|
||||
string buycookies = "";
|
||||
if (buyOrderNum.Contains("-"))
|
||||
{
|
||||
// 多买手
|
||||
if (douyinModel.buyer_mobile.StartsWith("plbuy_"))
|
||||
{
|
||||
var pdduid = douyinModel.buyer_mobile.Replace("plbuy_", "");
|
||||
var mulitUserCookie = AllBase.Helper.GlobalConfig.LstMultiBuyer.Find(u => u.pdd_user_id == pdduid);
|
||||
if (mulitUserCookie == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("多买手拍单买手号未找到");
|
||||
return;
|
||||
}
|
||||
orderurl = "https://yangkeduo.com/order.html?order_sn=" + buyOrderNum + "&refer_page_name=my_order&refer_page_id=10032_1633690608873_o25zt3yc2e&refer_page_sn=10032";
|
||||
BuyProductBrower buyProductBrower = new BuyProductBrower();
|
||||
buyProductBrower.TitleText = "拍单订单详情";
|
||||
buyProductBrower.Width = 405;
|
||||
buyProductBrower.Height = 692;
|
||||
buyProductBrower.cookies = "PDDAccessToken=" + mulitUserCookie.cookies + ";";
|
||||
buyProductBrower.WebUrl = orderurl;
|
||||
buyProductBrower.Show();
|
||||
}
|
||||
// 拼多多批发订单
|
||||
else if (douyinModel.buyer_mobile.StartsWith("pdd"))
|
||||
{
|
||||
var pddPifaBuyer = AllBase.Helper.GlobalConfig.LstPddPifaShop.FirstOrDefault(s => s.PddId == douyinModel.buyer_mobile);
|
||||
if (pddPifaBuyer == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("拼多多批发拍单买手号未找到");
|
||||
return;
|
||||
}
|
||||
buycookies = pddPifaBuyer.CookieStr;
|
||||
orderurl = "https://pifa.pinduoduo.com/order";
|
||||
BuyProductBrower buyProductBrower = new BuyProductBrower();
|
||||
buyProductBrower.TitleText = "订单列表 " + douyinModel.order_id_buy;
|
||||
buyProductBrower.Width = 1280;
|
||||
buyProductBrower.Height = 700;
|
||||
buyProductBrower.cookies = buycookies;
|
||||
buyProductBrower.WebUrl = orderurl;
|
||||
buyProductBrower.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
var dicbuyer = PddBuyUser.buyUserCookies.FirstOrDefault(x => x.Value.UserName == douyinModel.buyer_mobile);
|
||||
if (dicbuyer.Key == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("拼多多拍单买手号未找到");
|
||||
return;
|
||||
}
|
||||
for (int kk = 0; kk < dicbuyer.Value.Cookies.Count; kk++)
|
||||
{
|
||||
buycookies += dicbuyer.Value.Cookies[kk].Name + "=" + dicbuyer.Value.Cookies[kk].Value + "; ";
|
||||
}
|
||||
orderurl = "https://yangkeduo.com/order.html?order_sn=" + buyOrderNum + "&refer_page_name=my_order&refer_page_id=10032_1633690608873_o25zt3yc2e&refer_page_sn=10032";
|
||||
BuyProductBrower buyProductBrower = new BuyProductBrower();
|
||||
buyProductBrower.TitleText = "拍单订单详情";
|
||||
buyProductBrower.Width = 405;
|
||||
buyProductBrower.Height = 692;
|
||||
buyProductBrower.cookies = buycookies;
|
||||
buyProductBrower.WebUrl = orderurl;
|
||||
buyProductBrower.Show();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var upId = this.DgvSendOrderList.Rows[e.RowIndex].Cells["col_up_product_id"].Value.ToString();
|
||||
if (ALBuyUser.buyUserCookies.Count > 0)
|
||||
{
|
||||
var dicbuyer = ALBuyUser.buyUserCookies.FirstOrDefault(x => x.Value.UserName == douyinModel.buyer_mobile);
|
||||
for (int kk = 0; dicbuyer.Key != null && kk < dicbuyer.Value.Cookies.Count; kk++)
|
||||
{
|
||||
buycookies += dicbuyer.Value.Cookies[kk].Name + "=" + dicbuyer.Value.Cookies[kk].Value + "; ";
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(buycookies))
|
||||
{
|
||||
if (TaoBaoBuyUser.buyUserCookies.Count > 0)
|
||||
{
|
||||
var dicbuyer = TaoBaoBuyUser.buyUserCookies.FirstOrDefault(x => x.Value.UserName == douyinModel.buyer_mobile);
|
||||
for (int kk = 0; dicbuyer.Key != null && kk < dicbuyer.Value.Cookies.Count; kk++)
|
||||
{
|
||||
buycookies += dicbuyer.Value.Cookies[kk].Name + "=" + dicbuyer.Value.Cookies[kk].Value + "; ";
|
||||
}
|
||||
}
|
||||
}
|
||||
orderurl = "https://buyertrade.taobao.com/trade/detail/trade_item_detail.htm?bizOrderId=" + buyOrderNum;
|
||||
if (upId.StartsWith("al-") || upId.StartsWith("1688-"))
|
||||
orderurl = "https://trade.1688.com/order/order_detail.htm?spm=a360q.8274423.0.0.49c84c9apfOGVj&order_id=" + buyOrderNum;
|
||||
if (string.IsNullOrEmpty(buycookies))
|
||||
{
|
||||
BaseMsgForm.ShowConfirm("无此买手号", "提示");
|
||||
return;
|
||||
}
|
||||
BuyProductBrower buyProductBrower = new BuyProductBrower();
|
||||
buyProductBrower.TitleText = "拍单订单详情";
|
||||
buyProductBrower.buyermobile = douyinModel.buyer_mobile;
|
||||
buyProductBrower.Width = 1080;
|
||||
buyProductBrower.Height = 700;
|
||||
buyProductBrower.cookies = buycookies;
|
||||
buyProductBrower.WebUrl = orderurl;
|
||||
buyProductBrower.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (name == "订单号")
|
||||
{
|
||||
string orderid = DgvSendOrderList.Rows[e.RowIndex].Cells["col_order_id"].Value.ToString();
|
||||
string shopid = DgvSendOrderList.Rows[e.RowIndex].Cells["col_shop_id"].Value.ToString();
|
||||
DouShopLoginInfo shop = CollectionClass.DouShopLoginList.Find(x => x.ShopId == shopid);
|
||||
if (shop != null)
|
||||
{
|
||||
ShopForms.ShopBrower shopBrower = new ShopForms.ShopBrower();
|
||||
shopBrower.TitleText = "店铺后台";
|
||||
shopBrower.shop = shop;
|
||||
shopBrower.WindowState = FormWindowState.Maximized;
|
||||
shopBrower.webUrl = "https://fxg.jinritemai.com/ffa/morder/order/detail?id=" + orderid;
|
||||
shopBrower.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void colore_clicke(object sender, EventArgs e)
|
||||
{
|
||||
ToolStripMenuItem tsmenu = sender as ToolStripMenuItem;
|
||||
if (mouseEvent == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var orderId = DgvSendOrderList.Rows[mouseEvent.RowIndex].Cells["col_order_id"].Value.ToString();
|
||||
var shopid = DgvSendOrderList.Rows[mouseEvent.RowIndex].Cells["col_shop_id"].Value.ToString();
|
||||
int color = 3;
|
||||
switch (tsmenu.Text)
|
||||
{
|
||||
case "灰色":
|
||||
color = 0;
|
||||
break;
|
||||
case "紫色":
|
||||
color = 1;
|
||||
break;
|
||||
case "蓝色":
|
||||
color = 2;
|
||||
break;
|
||||
case "绿色":
|
||||
color = 3;
|
||||
break;
|
||||
case "橙色":
|
||||
color = 4;
|
||||
break;
|
||||
case "红色":
|
||||
color = 5;
|
||||
break;
|
||||
}
|
||||
mainform.chaqi(orderId, color, shopid);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,210 @@
|
||||
<?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="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>182, 17</value>
|
||||
</metadata>
|
||||
<metadata name="col_shop_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_shop_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_up_product_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_product_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_c_biz_desc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productSku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productImgSku.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productSellingPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_buy_price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="commission_scale.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="commission.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="profit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="productCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_mobile.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_address.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_create_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_promise_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_order_send_remaining_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buyOrderTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buyOrderNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="buyOrderUser.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="expressName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="expressNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="sendOrderErrorMsg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class SetOnceOnlyUpIdForm
|
||||
{
|
||||
/// <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(SetOnceOnlyUpIdForm));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.btsave = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tbCustomProductId1 = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pbCloseBase
|
||||
//
|
||||
this.pbCloseBase.Location = new System.Drawing.Point(453, 0);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(2, 0, 2, 2);
|
||||
this.panel1.Size = new System.Drawing.Size(485, 200);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.White;
|
||||
this.panel3.Controls.Add(this.btsave);
|
||||
this.panel3.Controls.Add(this.tbCustomProductId1);
|
||||
this.panel3.Controls.Add(this.label7);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(2, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(481, 198);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// btsave
|
||||
//
|
||||
this.btsave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btsave.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btsave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btsave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btsave.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btsave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btsave.Location = new System.Drawing.Point(411, 165);
|
||||
this.btsave.Name = "btsave";
|
||||
this.btsave.Size = new System.Drawing.Size(60, 23);
|
||||
this.btsave.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
|
||||
this.btsave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
|
||||
this.btsave.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btsave.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.btsave.Style.CornerDiameter = 1;
|
||||
this.btsave.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.btsave.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.btsave.Style.GradientAngle = 90;
|
||||
this.btsave.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
|
||||
this.btsave.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||||
this.btsave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btsave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
|
||||
this.btsave.TabIndex = 550;
|
||||
this.btsave.Text = "保存";
|
||||
this.btsave.Click += new System.EventHandler(this.btsave_Click);
|
||||
//
|
||||
// tbCustomProductId1
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbCustomProductId1.Border.Class = "TextBoxBorder";
|
||||
this.tbCustomProductId1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbCustomProductId1.Location = new System.Drawing.Point(155, 72);
|
||||
this.tbCustomProductId1.Name = "tbCustomProductId1";
|
||||
this.tbCustomProductId1.Size = new System.Drawing.Size(283, 21);
|
||||
this.tbCustomProductId1.TabIndex = 512;
|
||||
this.tbCustomProductId1.WatermarkText = "填写后默认为一次性总店ID,软件重启后即失效";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(45, 76);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(113, 12);
|
||||
this.label7.TabIndex = 546;
|
||||
this.label7.Text = "设置一次性总店ID:";
|
||||
//
|
||||
// SetOnceOnlyUpIdForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(485, 232);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "SetOnceOnlyUpIdForm";
|
||||
this.Text = "设置一次性总店";
|
||||
this.TitleText = "设置一次性总店";
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX tbCustomProductId1;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private DevComponents.DotNetBar.PanelEx btsave;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
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 Work.BaseForms;
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
public partial class SetOnceOnlyUpIdForm : BaseForm
|
||||
{
|
||||
public static Dictionary<string, string> dicOnceUpId = new Dictionary<string, string>();
|
||||
public string _orderIds;
|
||||
|
||||
public SetOnceOnlyUpIdForm(string orderIds = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this._orderIds = orderIds;
|
||||
}
|
||||
|
||||
private void btsave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(_orderIds))
|
||||
{
|
||||
BaseMsgForm.ShowError("未选择订单");
|
||||
return;
|
||||
}
|
||||
var upId = tbCustomProductId1.Text.Trim();
|
||||
if (string.IsNullOrEmpty(upId))
|
||||
{
|
||||
BaseMsgForm.ShowError("总店Id为空");
|
||||
return;
|
||||
}
|
||||
var orderIdArr = _orderIds.Split(',');
|
||||
foreach (var oId in orderIdArr)
|
||||
{
|
||||
dicOnceUpId[oId] = upId;
|
||||
}
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQcgAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
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>
|
||||
+568
@@ -0,0 +1,568 @@
|
||||
|
||||
namespace _29WxOrder.OrderForms
|
||||
{
|
||||
partial class SuccessOrderListForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.DgvSuccessOrderList = new _29WxOrder.MyControl.MyDataGridView();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.已催评ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.修改订单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.待拍单ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.订单插旗ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.灰色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.紫色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.蓝色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.绿色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.橙色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.红色ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pnlUpdateOrderInfo = new DevComponents.DotNetBar.PanelEx();
|
||||
this.col_shop_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_shop_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_up_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_product_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_c_biz_desc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productSku = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productImgSku = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.productSellingPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_buy_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission_scale = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.commission = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.profit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.productCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_id = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_name_fake = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_mobile = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_mobile_fake = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_address = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_address_fake = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_create_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_promise_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_order_send_remaining_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buyOrderTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buyOrderNum = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.order_Status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.buyOrderUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.expressName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.expressNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.is_evaluate_status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.is_comment = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvSuccessOrderList)).BeginInit();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// DgvSuccessOrderList
|
||||
//
|
||||
this.DgvSuccessOrderList.AllowUserToAddRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
|
||||
this.DgvSuccessOrderList.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DgvSuccessOrderList.BackgroundColor = System.Drawing.Color.White;
|
||||
this.DgvSuccessOrderList.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvSuccessOrderList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DgvSuccessOrderList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DgvSuccessOrderList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.col_shop_id,
|
||||
this.col_shop_name,
|
||||
this.col_title,
|
||||
this.col_up_product_id,
|
||||
this.col_product_id,
|
||||
this.col_c_biz_desc,
|
||||
this.productSku,
|
||||
this.productImgSku,
|
||||
this.productSellingPrice,
|
||||
this.col_buy_price,
|
||||
this.commission_scale,
|
||||
this.commission,
|
||||
this.profit,
|
||||
this.productCount,
|
||||
this.col_order_id,
|
||||
this.col_name,
|
||||
this.col_name_fake,
|
||||
this.col_mobile,
|
||||
this.col_mobile_fake,
|
||||
this.col_address,
|
||||
this.col_address_fake,
|
||||
this.col_create_time,
|
||||
this.col_order_promise_time,
|
||||
this.col_order_send_remaining_time,
|
||||
this.buyOrderTime,
|
||||
this.buyOrderNum,
|
||||
this.order_Status,
|
||||
this.buyOrderUser,
|
||||
this.expressName,
|
||||
this.expressNo,
|
||||
this.is_evaluate_status,
|
||||
this.is_comment,
|
||||
this.col_remark});
|
||||
this.DgvSuccessOrderList.ContextMenuStrip = this.contextMenuStrip1;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
||||
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.Color.White;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DgvSuccessOrderList.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.DgvSuccessOrderList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.DgvSuccessOrderList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.DgvSuccessOrderList.IsCustomSort = false;
|
||||
this.DgvSuccessOrderList.Location = new System.Drawing.Point(0, 0);
|
||||
this.DgvSuccessOrderList.Name = "DgvSuccessOrderList";
|
||||
this.DgvSuccessOrderList.ReadOnly = true;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DgvSuccessOrderList.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.DgvSuccessOrderList.RowTemplate.Height = 23;
|
||||
this.DgvSuccessOrderList.ShowCellToolTips = false;
|
||||
this.DgvSuccessOrderList.Size = new System.Drawing.Size(800, 450);
|
||||
this.DgvSuccessOrderList.TabIndex = 2;
|
||||
this.DgvSuccessOrderList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.successOrderListDgv_CellContentClick);
|
||||
this.DgvSuccessOrderList.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.successOrderListDgv_CellMouseDown);
|
||||
this.DgvSuccessOrderList.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.successOrderListDgv_CellMouseEnter);
|
||||
this.DgvSuccessOrderList.CellMouseLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.successOrderListDgv_CellMouseLeave);
|
||||
this.DgvSuccessOrderList.Scroll += new System.Windows.Forms.ScrollEventHandler(this.successOrderListDgv_Scroll);
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.已催评ToolStripMenuItem,
|
||||
this.修改订单ToolStripMenuItem,
|
||||
this.订单插旗ToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(125, 70);
|
||||
//
|
||||
// 已催评ToolStripMenuItem
|
||||
//
|
||||
this.已催评ToolStripMenuItem.Name = "已催评ToolStripMenuItem";
|
||||
this.已催评ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
|
||||
this.已催评ToolStripMenuItem.Text = "已催评";
|
||||
this.已催评ToolStripMenuItem.Click += new System.EventHandler(this.successmenu_click);
|
||||
//
|
||||
// 修改订单ToolStripMenuItem
|
||||
//
|
||||
this.修改订单ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.待拍单ToolStripMenuItem});
|
||||
this.修改订单ToolStripMenuItem.Name = "修改订单ToolStripMenuItem";
|
||||
this.修改订单ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
|
||||
this.修改订单ToolStripMenuItem.Text = "修改状态";
|
||||
//
|
||||
// 待拍单ToolStripMenuItem
|
||||
//
|
||||
this.待拍单ToolStripMenuItem.Name = "待拍单ToolStripMenuItem";
|
||||
this.待拍单ToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
|
||||
this.待拍单ToolStripMenuItem.Text = "待拍单";
|
||||
this.待拍单ToolStripMenuItem.Click += new System.EventHandler(this.待拍单ToolStripMenuItem_Click);
|
||||
//
|
||||
// 订单插旗ToolStripMenuItem
|
||||
//
|
||||
this.订单插旗ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.灰色ToolStripMenuItem,
|
||||
this.紫色ToolStripMenuItem,
|
||||
this.蓝色ToolStripMenuItem,
|
||||
this.绿色ToolStripMenuItem,
|
||||
this.橙色ToolStripMenuItem,
|
||||
this.红色ToolStripMenuItem});
|
||||
this.订单插旗ToolStripMenuItem.Name = "订单插旗ToolStripMenuItem";
|
||||
this.订单插旗ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
|
||||
this.订单插旗ToolStripMenuItem.Text = "订单插旗";
|
||||
//
|
||||
// 灰色ToolStripMenuItem
|
||||
//
|
||||
this.灰色ToolStripMenuItem.Name = "灰色ToolStripMenuItem";
|
||||
this.灰色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.灰色ToolStripMenuItem.Text = "灰色";
|
||||
this.灰色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 紫色ToolStripMenuItem
|
||||
//
|
||||
this.紫色ToolStripMenuItem.Name = "紫色ToolStripMenuItem";
|
||||
this.紫色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.紫色ToolStripMenuItem.Text = "紫色";
|
||||
this.紫色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 蓝色ToolStripMenuItem
|
||||
//
|
||||
this.蓝色ToolStripMenuItem.Name = "蓝色ToolStripMenuItem";
|
||||
this.蓝色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.蓝色ToolStripMenuItem.Text = "蓝色";
|
||||
this.蓝色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 绿色ToolStripMenuItem
|
||||
//
|
||||
this.绿色ToolStripMenuItem.Name = "绿色ToolStripMenuItem";
|
||||
this.绿色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.绿色ToolStripMenuItem.Text = "绿色";
|
||||
this.绿色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 橙色ToolStripMenuItem
|
||||
//
|
||||
this.橙色ToolStripMenuItem.Name = "橙色ToolStripMenuItem";
|
||||
this.橙色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.橙色ToolStripMenuItem.Text = "橙色";
|
||||
this.橙色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// 红色ToolStripMenuItem
|
||||
//
|
||||
this.红色ToolStripMenuItem.Name = "红色ToolStripMenuItem";
|
||||
this.红色ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
||||
this.红色ToolStripMenuItem.Text = "红色";
|
||||
this.红色ToolStripMenuItem.Click += new System.EventHandler(this.colore_clicke);
|
||||
//
|
||||
// pnlUpdateOrderInfo
|
||||
//
|
||||
this.pnlUpdateOrderInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlUpdateOrderInfo.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlUpdateOrderInfo.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlUpdateOrderInfo.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlUpdateOrderInfo.Location = new System.Drawing.Point(345, 175);
|
||||
this.pnlUpdateOrderInfo.MaximumSize = new System.Drawing.Size(300, 140);
|
||||
this.pnlUpdateOrderInfo.Name = "pnlUpdateOrderInfo";
|
||||
this.pnlUpdateOrderInfo.Size = new System.Drawing.Size(110, 100);
|
||||
this.pnlUpdateOrderInfo.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlUpdateOrderInfo.Style.BackColor1.Alpha = ((byte)(128));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor2.Alpha = ((byte)(128));
|
||||
this.pnlUpdateOrderInfo.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
|
||||
this.pnlUpdateOrderInfo.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pnlUpdateOrderInfo.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.pnlUpdateOrderInfo.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlUpdateOrderInfo.Style.GradientAngle = 90;
|
||||
this.pnlUpdateOrderInfo.TabIndex = 10;
|
||||
this.pnlUpdateOrderInfo.Text = "正在更新订单";
|
||||
this.pnlUpdateOrderInfo.Visible = false;
|
||||
//
|
||||
// col_shop_id
|
||||
//
|
||||
this.col_shop_id.HeaderText = "店铺编号";
|
||||
this.col_shop_id.Name = "col_shop_id";
|
||||
this.col_shop_id.ReadOnly = true;
|
||||
this.col_shop_id.Width = 80;
|
||||
//
|
||||
// col_shop_name
|
||||
//
|
||||
this.col_shop_name.HeaderText = "店铺名称";
|
||||
this.col_shop_name.Name = "col_shop_name";
|
||||
this.col_shop_name.ReadOnly = true;
|
||||
//
|
||||
// col_title
|
||||
//
|
||||
this.col_title.HeaderText = "商品名称";
|
||||
this.col_title.Name = "col_title";
|
||||
this.col_title.ReadOnly = true;
|
||||
//
|
||||
// col_up_product_id
|
||||
//
|
||||
this.col_up_product_id.HeaderText = "上家ID";
|
||||
this.col_up_product_id.Name = "col_up_product_id";
|
||||
this.col_up_product_id.ReadOnly = true;
|
||||
//
|
||||
// col_product_id
|
||||
//
|
||||
this.col_product_id.HeaderText = "本店ID";
|
||||
this.col_product_id.Name = "col_product_id";
|
||||
this.col_product_id.ReadOnly = true;
|
||||
this.col_product_id.Width = 120;
|
||||
//
|
||||
// col_c_biz_desc
|
||||
//
|
||||
this.col_c_biz_desc.HeaderText = "商品描述";
|
||||
this.col_c_biz_desc.Name = "col_c_biz_desc";
|
||||
this.col_c_biz_desc.ReadOnly = true;
|
||||
this.col_c_biz_desc.Width = 80;
|
||||
//
|
||||
// productSku
|
||||
//
|
||||
this.productSku.HeaderText = "规格";
|
||||
this.productSku.Name = "productSku";
|
||||
this.productSku.ReadOnly = true;
|
||||
//
|
||||
// productImgSku
|
||||
//
|
||||
this.productImgSku.HeaderText = "图片";
|
||||
this.productImgSku.Name = "productImgSku";
|
||||
this.productImgSku.ReadOnly = true;
|
||||
this.productImgSku.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.productImgSku.Width = 80;
|
||||
//
|
||||
// productSellingPrice
|
||||
//
|
||||
this.productSellingPrice.HeaderText = "售价";
|
||||
this.productSellingPrice.Name = "productSellingPrice";
|
||||
this.productSellingPrice.ReadOnly = true;
|
||||
this.productSellingPrice.Width = 60;
|
||||
//
|
||||
// col_buy_price
|
||||
//
|
||||
this.col_buy_price.HeaderText = "进价";
|
||||
this.col_buy_price.Name = "col_buy_price";
|
||||
this.col_buy_price.ReadOnly = true;
|
||||
this.col_buy_price.Width = 60;
|
||||
//
|
||||
// commission_scale
|
||||
//
|
||||
this.commission_scale.HeaderText = "佣金比例";
|
||||
this.commission_scale.Name = "commission_scale";
|
||||
this.commission_scale.ReadOnly = true;
|
||||
this.commission_scale.Width = 60;
|
||||
//
|
||||
// commission
|
||||
//
|
||||
this.commission.HeaderText = "佣金";
|
||||
this.commission.Name = "commission";
|
||||
this.commission.ReadOnly = true;
|
||||
this.commission.Width = 60;
|
||||
//
|
||||
// profit
|
||||
//
|
||||
this.profit.HeaderText = "利润";
|
||||
this.profit.Name = "profit";
|
||||
this.profit.ReadOnly = true;
|
||||
this.profit.Width = 60;
|
||||
//
|
||||
// productCount
|
||||
//
|
||||
this.productCount.HeaderText = "数量";
|
||||
this.productCount.Name = "productCount";
|
||||
this.productCount.ReadOnly = true;
|
||||
this.productCount.Width = 40;
|
||||
//
|
||||
// col_order_id
|
||||
//
|
||||
this.col_order_id.HeaderText = "订单号";
|
||||
this.col_order_id.Name = "col_order_id";
|
||||
this.col_order_id.ReadOnly = true;
|
||||
this.col_order_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_order_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_order_id.Width = 130;
|
||||
//
|
||||
// col_name
|
||||
//
|
||||
this.col_name.HeaderText = "姓名";
|
||||
this.col_name.Name = "col_name";
|
||||
this.col_name.ReadOnly = true;
|
||||
this.col_name.Visible = false;
|
||||
//
|
||||
// col_name_fake
|
||||
//
|
||||
this.col_name_fake.HeaderText = "姓名";
|
||||
this.col_name_fake.Name = "col_name_fake";
|
||||
this.col_name_fake.ReadOnly = true;
|
||||
//
|
||||
// col_mobile
|
||||
//
|
||||
this.col_mobile.HeaderText = "电话";
|
||||
this.col_mobile.Name = "col_mobile";
|
||||
this.col_mobile.ReadOnly = true;
|
||||
this.col_mobile.Visible = false;
|
||||
//
|
||||
// col_mobile_fake
|
||||
//
|
||||
this.col_mobile_fake.HeaderText = "电话";
|
||||
this.col_mobile_fake.Name = "col_mobile_fake";
|
||||
this.col_mobile_fake.ReadOnly = true;
|
||||
//
|
||||
// col_address
|
||||
//
|
||||
this.col_address.HeaderText = "地址";
|
||||
this.col_address.Name = "col_address";
|
||||
this.col_address.ReadOnly = true;
|
||||
this.col_address.Visible = false;
|
||||
//
|
||||
// col_address_fake
|
||||
//
|
||||
this.col_address_fake.HeaderText = "地址";
|
||||
this.col_address_fake.Name = "col_address_fake";
|
||||
this.col_address_fake.ReadOnly = true;
|
||||
//
|
||||
// col_create_time
|
||||
//
|
||||
this.col_create_time.HeaderText = "订单确认时间";
|
||||
this.col_create_time.Name = "col_create_time";
|
||||
this.col_create_time.ReadOnly = true;
|
||||
this.col_create_time.Width = 120;
|
||||
//
|
||||
// col_order_promise_time
|
||||
//
|
||||
this.col_order_promise_time.HeaderText = "延迟发货时间";
|
||||
this.col_order_promise_time.Name = "col_order_promise_time";
|
||||
this.col_order_promise_time.ReadOnly = true;
|
||||
this.col_order_promise_time.Width = 120;
|
||||
//
|
||||
// col_order_send_remaining_time
|
||||
//
|
||||
this.col_order_send_remaining_time.HeaderText = "延迟剩余";
|
||||
this.col_order_send_remaining_time.Name = "col_order_send_remaining_time";
|
||||
this.col_order_send_remaining_time.ReadOnly = true;
|
||||
//
|
||||
// buyOrderTime
|
||||
//
|
||||
this.buyOrderTime.HeaderText = "拍单时间";
|
||||
this.buyOrderTime.Name = "buyOrderTime";
|
||||
this.buyOrderTime.ReadOnly = true;
|
||||
this.buyOrderTime.Width = 120;
|
||||
//
|
||||
// buyOrderNum
|
||||
//
|
||||
this.buyOrderNum.HeaderText = "拍单订单号";
|
||||
this.buyOrderNum.Name = "buyOrderNum";
|
||||
this.buyOrderNum.ReadOnly = true;
|
||||
this.buyOrderNum.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.buyOrderNum.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.buyOrderNum.Width = 150;
|
||||
//
|
||||
// order_Status
|
||||
//
|
||||
this.order_Status.HeaderText = "订单状态";
|
||||
this.order_Status.Name = "order_Status";
|
||||
this.order_Status.ReadOnly = true;
|
||||
//
|
||||
// buyOrderUser
|
||||
//
|
||||
this.buyOrderUser.HeaderText = "买手号";
|
||||
this.buyOrderUser.Name = "buyOrderUser";
|
||||
this.buyOrderUser.ReadOnly = true;
|
||||
//
|
||||
// expressName
|
||||
//
|
||||
this.expressName.HeaderText = "物流公司";
|
||||
this.expressName.Name = "expressName";
|
||||
this.expressName.ReadOnly = true;
|
||||
//
|
||||
// expressNo
|
||||
//
|
||||
this.expressNo.HeaderText = "物流单号";
|
||||
this.expressNo.Name = "expressNo";
|
||||
this.expressNo.ReadOnly = true;
|
||||
//
|
||||
// is_evaluate_status
|
||||
//
|
||||
this.is_evaluate_status.HeaderText = "催评状态";
|
||||
this.is_evaluate_status.Name = "is_evaluate_status";
|
||||
this.is_evaluate_status.ReadOnly = true;
|
||||
//
|
||||
// is_comment
|
||||
//
|
||||
this.is_comment.HeaderText = "是否评价";
|
||||
this.is_comment.Name = "is_comment";
|
||||
this.is_comment.ReadOnly = true;
|
||||
//
|
||||
// col_remark
|
||||
//
|
||||
this.col_remark.HeaderText = "备注";
|
||||
this.col_remark.Name = "col_remark";
|
||||
this.col_remark.ReadOnly = true;
|
||||
//
|
||||
// SuccessOrderListForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.pnlUpdateOrderInfo);
|
||||
this.Controls.Add(this.DgvSuccessOrderList);
|
||||
this.Name = "SuccessOrderListForm";
|
||||
this.Text = "SuccessOrderListForm";
|
||||
this.Load += new System.EventHandler(this.SuccessOrderListForm_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.DgvSuccessOrderList)).EndInit();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private MyControl.MyDataGridView DgvSuccessOrderList;
|
||||
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 已催评ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 修改订单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 待拍单ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 订单插旗ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 灰色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 紫色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 蓝色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 绿色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 橙色ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 红色ToolStripMenuItem;
|
||||
private DevComponents.DotNetBar.PanelEx pnlUpdateOrderInfo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_shop_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_title;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_up_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_c_biz_desc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productSku;
|
||||
private System.Windows.Forms.DataGridViewImageColumn productImgSku;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productSellingPrice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_buy_price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission_scale;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn commission;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn profit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn productCount;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_order_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_name_fake;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_mobile;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_mobile_fake;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_address;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_address_fake;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_create_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_promise_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_order_send_remaining_time;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buyOrderTime;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn buyOrderNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn order_Status;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn buyOrderUser;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn expressName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn expressNo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn is_evaluate_status;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn is_comment;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_remark;
|
||||
}
|
||||
}
|
||||
Loaded 100 of 322 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user