1删除部分不需要的文件 2货号对应原价导入功能

This commit is contained in:
wule committed 2025-08-14 18:02:28 +08:00
1 parent 0492e87aee
commit 535adc6011
166 files changed
+2091 -55519

No files matched your search

+1
View File
@@ -194,6 +194,7 @@
<Compile Include="Model\Param\TemuProductManage\TemuSizeSpecParam.cs" />
<Compile Include="Model\Result\TemuActivityInfo.cs" />
<Compile Include="Model\Result\TemuActivityMatchProductInfo.cs" />
<Compile Include="Model\Result\TemuDBPriceInfo.cs" />
<Compile Include="Model\Result\TemuDBProductSelect.cs" />
<Compile Include="Model\Result\TemuPriceAdjustInfo.cs" />
<Compile Include="Model\Result\TemuProductInfo.cs" />
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result
{
public class TemuDBPriceInfo
{
public int id { get; set; }
public string ext_code { get; set; }
public int original_price { get; set; }
public int markup_times { get; set; }
public int extra_price { get; set; }
public string notes { get; set; }
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
}
}
@@ -0,0 +1,285 @@
using KJD_Web.Model;
using KJD_Web.Utils;
using MySql.Data.MySqlClient;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
namespace KJD_Web.BLL
{
public class PriceManage
{
public string AddPrice(string inputData)
{
if (!string.IsNullOrEmpty(inputData))
{
var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
string user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
string ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "ext_code")).ParseToString();
int original_price = RegexUtils.GetStringQuery(ref inputData, "original_price").ParseToInt();
int markup_times = RegexUtils.GetStringQuery(ref inputData, "markup_times").ParseToInt();
int extra_price = RegexUtils.GetStringQuery(ref inputData, "extra_price").ParseToInt();
string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes")).ParseToString();
if (string.IsNullOrEmpty(user_name))
{
return "{\"code\":500,\"msg\":\"没有用户名\"}";
}
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
string sqlExist = "select count(ext_code) from kjd.price_markup where ext_code=@ext_code";
string sql = "insert into kjd.price_markup " +
"(ext_code,original_price,markup_times,extra_price,notes) " +
"values (@ext_code,@original_price,@markup_times,@extra_price,@notes);";
List<MySqlParameter> paramLst = new List<MySqlParameter>();
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@ext_code", Value = ext_code, });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@original_price", Value = original_price, });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@markup_times", Value = markup_times, });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@extra_price", Value = extra_price, });
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@notes", Value = notes, });
var has = mySql.ExecuteFirst(sqlExist, paramLst.ToArray());
if (has != "0")
{
mySql.Close();
return "{\"code\":501,\"msg\":\"货号 " + ext_code + " 价格数据已存在\"}";
}
var rst = mySql.ExecuteNonQuery(sql, paramLst.ToArray());
mySql.Close();
if (rst)
{
return "{\"code\":200,\"msg\":\"success\"}";
}
else
{
return "{\"code\":502,\"msg\":\"" + mySql.Message + "\"}";
}
}
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
public string GetPriceList(string inputData)
{
if (!string.IsNullOrEmpty(inputData))
{
var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
var password = RegexUtils.GetStringQuery(ref inputData, "password");
string start_original_price = RegexUtils.GetStringQuery(ref inputData, "start_original_price");
string end_original_price = RegexUtils.GetStringQuery(ref inputData, "end_original_price");
string start_markup_times = RegexUtils.GetStringQuery(ref inputData, "start_markup_times");
string end_markup_times = RegexUtils.GetStringQuery(ref inputData, "end_markup_times");
string start_extra_price = RegexUtils.GetStringQuery(ref inputData, "start_extra_price");
string end_extra_price = RegexUtils.GetStringQuery(ref inputData, "end_extra_price");
var search_ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "search_ext_code"));
var search_notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "search_notes"));
var in_ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "in_ext_code"));
int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt();
int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50);
if (string.IsNullOrEmpty(user_name))
{
return "{\"code\":500,\"msg\":\"没有用户名\"}";
}
List<MySqlParameter> paramLst = new List<MySqlParameter>();
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@search_ext_code", Value = "%" + search_ext_code + "%", });
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@search_notes", Value = "%" + search_notes + "%", });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@start_original_price", Value = start_original_price.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@end_original_price", Value = end_original_price.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@start_markup_times", Value = start_markup_times.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@end_markup_times", Value = end_markup_times.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@start_extra_price", Value = start_extra_price.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@end_extra_price", Value = end_extra_price.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@in_ext_code", Value = "'" + in_ext_code?.Replace(",","','") + "'", });
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
string sql = "select count(id) from kjd.price_markup p where 1=1";
string where = "";
if (!string.IsNullOrWhiteSpace(search_ext_code))
where += " and p.ext_code like @search_ext_code";
if (!string.IsNullOrWhiteSpace(search_notes))
where += " and p.notes like @search_notes";
if (!string.IsNullOrWhiteSpace(start_original_price))
where += " and p.original_price >= @start_original_price";
if (!string.IsNullOrWhiteSpace(end_original_price))
where += " and p.original_price <= @end_original_price";
if (!string.IsNullOrWhiteSpace(start_markup_times))
where += " and p.markup_times >= @start_markup_times";
if (!string.IsNullOrWhiteSpace(end_markup_times))
where += " and p.markup_times <= @end_markup_times";
if (!string.IsNullOrWhiteSpace(start_extra_price))
where += " and p.extra_price >= @start_extra_price";
if (!string.IsNullOrWhiteSpace(end_extra_price))
where += " and p.extra_price <= @end_extra_price";
if (!string.IsNullOrEmpty(in_ext_code))
where += " and p.ext_code in (@in_ext_code)";
sql += where;
var count = mySql.ExecuteRowCount(sql, paramLst.ToArray());
DataTable dt;
if (count == 0)
{
dt = new DataTable();
}
else
{
sql = "select * from kjd.price_markup p where 1=1";
//where子句
sql += where;
sql += " order by p.id desc";
sql += " limit " + Math.Max(page - 1, 0) * page_size + "," + page_size;
dt = mySql.ExecuteDataTable(sql, paramLst.ToArray());
}
mySql.Close();
if (dt != null)
{
try
{
List<DBPriceResultParam> priceList = new List<DBPriceResultParam>();
foreach (DataRow row in dt.Rows)
{
DBPriceResultParam price = new DBPriceResultParam
{
id = row["id"].ParseToInt(),
extra_price = row["extra_price"].ParseToInt(),
markup_times = row["markup_times"].ParseToInt(),
original_price = row["original_price"].ParseToInt(),
notes = row["notes"].ParseToString(),
ext_code = row["ext_code"].ParseToString(),
add_time = Convert.ToDateTime(row["add_time"]),
mdy_time = Convert.ToDateTime(row["mdy_time"]),
};
priceList.Add(price);
}
var data = JsonUtils.SerializerObjectToString(priceList);
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"count\":" + count + "}";
}
catch (Exception ex)
{
return "{\"code\":500,\"msg\":\"" + ex.Message + "\",\"data\":[],\"count\":" + 0 + "}";
}
}
else
{
return "{\"code\":500,\"msg\":\"" + mySql.Message + "\",\"data\":[],\"count\":" + 0 + "}";
}
}
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
public string DelDbPrice(string inputData)
{
if (!string.IsNullOrEmpty(inputData))
{
var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name")?.Replace("'", "\\'");
var id = RegexUtils.GetStringQuery(ref inputData, "db_id")?.Replace("'", "\\'");
if (string.IsNullOrEmpty(user_name))
{
return "{\"code\":500,\"msg\":\"没有用户名\"}";
}
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
string sql = "delete from kjd.price_markup where id='" + id + "'";
var rst = mySql.ExecuteNonQuery(sql);
mySql.Close();
if (rst)
{
return "{\"code\":200,\"msg\":\"success\"}";
}
else
return "{\"code\":500,\"msg\":\"删除失败:" + mySql.Message + "\"}";
}
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
public string MdyDBPrice(string inputData, bool isAdmin = false)
{
if (!string.IsNullOrEmpty(inputData))
{
var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
var id = RegexUtils.GetStringQuery(ref inputData, "db_id");
string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes"));
string ext_code = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "ext_code"));
string original_price = RegexUtils.GetStringQuery(ref inputData, "original_price");
string markup_times = RegexUtils.GetStringQuery(ref inputData, "markup_times");
string extra_price = RegexUtils.GetStringQuery(ref inputData, "extra_price");
if (string.IsNullOrEmpty(user_name))
{
return "{\"code\":500,\"msg\":\"没有用户名\"}";
}
List<MySqlParameter> paramLst = new List<MySqlParameter>();
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@ext_code", Value = ext_code, });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@original_price", Value = original_price.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@markup_times", Value = markup_times.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.Int32, ParameterName = "@extra_price", Value = extra_price.ParseToInt(), });
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "@notes", Value = notes, });
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
string sql = "update kjd.price_markup set";
if (notes != null)
sql += " notes=@notes,";
//if (ext_code != null)
// sql += " ext_code=@ext_code,";
if (original_price != null)
sql += " original_price=@original_price,";
if (markup_times != null)
sql += " markup_times=@markup_times,";
if (extra_price != null)
sql += " extra_price=@extra_price,";
sql = sql.TrimEnd(',');
sql += " where id=@id;";
var rst = mySql.ExecuteNonQuery(sql);
mySql.Close();
if (rst)
{
return "{\"code\":200,\"msg\":\"success\"}";
}
else
{
return "{\"code\":500,\"msg\":\"更新失败:" + mySql.Message + "\"}";
}
}
return "{\"code\":19999,\"msg\":\"输入为空\"}";
}
}
}
@@ -1,4 +1,5 @@
using KJD_Web.Utils;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -21,21 +22,25 @@ namespace KJD_Web.BLL
if (time1 != EncrypUtil.Encryption(time))
return "{\"code\":50000,\"msg\":\"校验失败\"}";
var version = 0;
int.TryParse(RegexUtils.GetStringQuery(ref inputData, "version"), out version);
var version = RegexUtils.GetStringQuery(ref inputData, "version").ParseToInt();
var serverVersion = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateVersion"].ConnectionString;
var UpdateFiles = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateFiles"].ConnectionString;
var UpdateExe = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateExe"].ConnectionString;
var UpdateExeChk = System.Configuration.ConfigurationManager.ConnectionStrings["UpdateExeChk"].ConnectionString;
var LowVersion = System.Configuration.ConfigurationManager.ConnectionStrings["LowVersion"].ConnectionString;
if (version > 0)
if (version > LowVersion.ParseToInt())
{
return "{\"code\":200,\"msg\":\"success\",\"next_version\":" + serverVersion + ",\"exe_check\":\"" + UpdateExeChk +
"\",\"exe_address\":\"" + UpdateExe + "\",\"file_address\":\"" + UpdateFiles + "\"}";
}
else if (version > 0)
{
return "{\"code\":501,\"msg\":\"版本过低已无法直接升级,请联系管理员获取最新安装包\"}";
}
else
{
return "{\"code\":501,\"msg\":\"failed\"}";
return "{\"code\":502,\"msg\":\"get update version failed\"}";
}
}
return "{\"code\":19999,\"msg\":\"未知错误\"}";
+5
View File
@@ -48,6 +48,11 @@ namespace KJD_Web
hPath = hPath.Replace("/product_third/", "/ProductThirdService.asmx/");
Context.RewritePath(hPath);
}
else if (!hPath.Contains(".asmx") && hPath.Contains("/price/"))
{
hPath = hPath.Replace("/price/", "/PriceService.asmx/");
Context.RewritePath(hPath);
}
}
protected void Application_AuthenticateRequest(object sender, EventArgs e)
@@ -75,6 +75,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="Global.asax" />
<Content Include="PriceService.asmx" />
<Content Include="ProductThirdService.asmx" />
<Content Include="ProductService.asmx" />
<Content Include="ShopService.asmx" />
@@ -84,6 +85,7 @@
<Content Include="Web.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="BLL\PriceManage.cs" />
<Compile Include="BLL\ProductThirdManage.cs" />
<Compile Include="BLL\ProductManage.cs" />
<Compile Include="BLL\ShopManage.cs" />
@@ -94,11 +96,16 @@
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Model\CommentParam.cs" />
<Compile Include="Model\DBPriceResultParam.cs" />
<Compile Include="Model\OrderParam.cs" />
<Compile Include="Model\DBProductResultParam.cs" />
<Compile Include="Model\ProductSelectResultParam.cs" />
<Compile Include="Model\ShopModel\ShopParam.cs" />
<Compile Include="Model\UserLoginResultParam.cs" />
<Compile Include="PriceService.asmx.cs">
<DependentUpon>PriceService.asmx</DependentUpon>
<SubType>Component</SubType>
</Compile>
<Compile Include="ProductThirdService.asmx.cs">
<DependentUpon>ProductThirdService.asmx</DependentUpon>
<SubType>Component</SubType>
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace KJD_Web.Model
{
public class DBPriceResultParam
{
public int id { get; set; }
public string ext_code { get; set; }
public int original_price { get; set; }
public int markup_times { get; set; }
public int extra_price { get; set; }
public string notes { get; set; }
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
}
}
@@ -0,0 +1 @@
<%@ WebService Language="C#" CodeBehind="PriceService.asmx.cs" Class="KJD_Web.PriceService" %>
@@ -0,0 +1,100 @@
using KJD_Web.BLL;
using KJD_Web.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Services;
namespace KJD_Web
{
/// <summary>
/// PriceService 的摘要说明
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消注释以下行。
// [System.Web.Script.Services.ScriptService]
public class PriceService : System.Web.Services.WebService
{
private string GetRequestJsonString()
{
Context.Response.ContentType = "text/html;charset=utf-8";
Context.Response.ContentEncoding = System.Text.Encoding.GetEncoding("utf-8");
using (Stream s = HttpContext.Current.Request.InputStream) // 获得json 字符流
{
// 还原数据流
byte[] b = new byte[s.Length];
s.Read(b, 0, (int)s.Length);
string jsonText = Encoding.UTF8.GetString(b); // JSON字符串
if (string.IsNullOrEmpty(jsonText))
{
var qs = HttpContext.Current.Request.QueryString;
if (qs != null && qs.Keys.Count > 0)
{
jsonText = "{";
foreach (var key in qs.Keys)
{
jsonText += "\"" + key + "\":" + "\"" + qs[key.ToString()] + "\";";
}
jsonText = jsonText.TrimEnd(';') + "}";
}
}
return jsonText;
}
}
[WebMethod]
public void get_price_list()
{
string jsontext = GetRequestJsonString();
var result = jsontext;
result = new PriceManage().GetPriceList(jsontext);
Context.Response.Write(result);
Context.Response.End();
}
[WebMethod]
public void add_price()
{
string jsontext = GetRequestJsonString();
var result = jsontext;
result = new PriceManage().AddPrice(jsontext);
Context.Response.Write(result);
Context.Response.End();
}
[WebMethod]
public void del_db_price()
{
string jsontext = GetRequestJsonString();
var result = jsontext;
result = new PriceManage().DelDbPrice(jsontext);
Context.Response.Write(result);
Context.Response.End();
}
[WebMethod]
public void mdy_db_price()
{
string jsontext = GetRequestJsonString();
var result = jsontext;
result = new PriceManage().MdyDBPrice(jsontext);
Context.Response.Write(result);
Context.Response.End();
}
}
}
+4 -3
View File
@@ -6,10 +6,11 @@
<configuration>
<connectionStrings>
<add name="ConnKJD" connectionString="Max Pool Size=512;Database='kjd';Data Source='nj-cynosdbmysql-grp-hl51pkfr.sql.tencentcdb.com';Port=27660;User Id='kjd';Password='Temukjd0625';Charset=utf8mb4;"/>
<add name="UpdateVersion" connectionString="100"/>
<add name="UpdateVersion" connectionString="525"/>
<add name="LowVersion" connectionString="523"/>
<add name="UpdateExe" connectionString="http://1.13.195.131:9000/Download/Update.exe"/>
<add name="UpdateFiles" connectionString="http://1.13.195.131:9000/Download/Update.zip"/>
<add name="UpdateExeChk" connectionString="2CDEA1FB"/>
<add name="UpdateFiles" connectionString="http://1.13.195.131:9000/Download/Update525.zip"/>
<add name="UpdateExeChk" connectionString="324527ACE5020DCA77D65A5037718B65"/>
</connectionStrings>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
+37 -401
View File
@@ -121,6 +121,31 @@
<Compile Include="KJDForms\AdminForms\AdminForm.Designer.cs">
<DependentUpon>AdminForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\FissionUserControl\Fission.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\FissionUserControl\Fission.designer.cs">
<DependentUpon>Fission.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\FissionUserControl\FissionBrowserObject.cs" />
<Compile Include="KJDForms\ProductForms\FissionUserControl\FissionDataBaseForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\FissionUserControl\FissionDataBaseForm.designer.cs">
<DependentUpon>FissionDataBaseForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\FissionUserControl\FissionShowBigImgForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\FissionUserControl\FissionShowBigImgForm.designer.cs">
<DependentUpon>FissionShowBigImgForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductSelectForms\Price\DbProductPriceMarkUpForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductSelectForms\Price\DbProductPriceMarkUpForm.Designer.cs">
<DependentUpon>DbProductPriceMarkUpForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\AdminForms\AdminShopAddSubSaForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -176,112 +201,6 @@
<Compile Include="KJDForms\ProductForms\FissionUserControl\UcQualifiaction.Designer.cs">
<DependentUpon>UcQualifiaction.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\CatForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\CatForm.designer.cs">
<DependentUpon>CatForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\CleanDataForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\CleanDataForm.Designer.cs">
<DependentUpon>CleanDataForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\CommissionForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\CommissionForm.Designer.cs">
<DependentUpon>CommissionForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\FilterForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\FilterForm.Designer.cs">
<DependentUpon>FilterForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\Fission.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\Fission.designer.cs">
<DependentUpon>Fission.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\FissionBrowserObject.cs" />
<Compile Include="KJDForms\ProductForms\Old\FissionDataBaseForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\FissionDataBaseForm.Designer.cs">
<DependentUpon>FissionDataBaseForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\FissionShowBigImgForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\FissionShowBigImgForm.designer.cs">
<DependentUpon>FissionShowBigImgForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\GetUpProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\GetUpProductForm.Designer.cs">
<DependentUpon>GetUpProductForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\IeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\IeForm.designer.cs">
<DependentUpon>IeForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\ShopProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\ShopProductForm.Designer.cs">
<DependentUpon>ShopProductForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\SpecialDelaySendForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\SpecialDelaySendForm.Designer.cs">
<DependentUpon>SpecialDelaySendForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\StockSyncForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\StockSyncForm.Designer.cs">
<DependentUpon>StockSyncForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\TbSettleSlideForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\TbSettleSlideForm.designer.cs">
<DependentUpon>TbSettleSlideForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductCefForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductErrorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductErrorForm.Designer.cs">
<DependentUpon>UploadProductErrorForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductForm.Designer.cs">
<DependentUpon>UploadProductForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductViolateSelectForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\UploadProductViolateSelectForm.Designer.cs">
<DependentUpon>UploadProductViolateSelectForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\ViolateManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ProductForms\Old\ViolateManageForm.Designer.cs">
<DependentUpon>ViolateManageForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ProductForms\PriceManageForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -373,108 +292,6 @@
<Compile Include="KJDForms\SalesCenterForms\MarketingActivityForm.Designer.cs">
<DependentUpon>MarketingActivityForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\CouponForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\CouponForm.Designer.cs">
<DependentUpon>CouponForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\CouponMulitAddForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\CouponMulitAddForm.Designer.cs">
<DependentUpon>CouponMulitAddForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\CouponShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\CouponShopForm.Designer.cs">
<DependentUpon>CouponShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductPromotionListSkuInfoEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductPromotionListSkuInfoEditForm.Designer.cs">
<DependentUpon>DouProductPromotionListSkuInfoEditForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductProPromotionListSkuInfoForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductProPromotionListSkuInfoForm.Designer.cs">
<DependentUpon>DouProductProPromotionListSkuInfoForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusActiveForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusActiveForm.Designer.cs">
<DependentUpon>FullMinusActiveForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusForm.Designer.cs">
<DependentUpon>FullMinusForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusShopForm.Designer.cs">
<DependentUpon>FullMinusShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyCustomActivityNameForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyCustomActivityNameForm.Designer.cs">
<DependentUpon>GroupBuyCustomActivityNameForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyForm.Designer.cs">
<DependentUpon>GroupBuyForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyMonitorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyMonitorForm.Designer.cs">
<DependentUpon>GroupBuyMonitorForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyShopForm.Designer.cs">
<DependentUpon>GroupBuyShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesActivityNameForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesActivityNameForm.Designer.cs">
<DependentUpon>LimitedSalesActivityNameForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesManagerActiveForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesManagerActiveForm.Designer.cs">
<DependentUpon>LimitedSalesManagerActiveForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesForm.Designer.cs">
<DependentUpon>SeckillingAndLimitedSalesForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesShopForm.Designer.cs">
<DependentUpon>SeckillingAndLimitedSalesShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\UcCouponAddParam.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\UcCouponAddParam.Designer.cs">
<DependentUpon>UcCouponAddParam.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\SalesCenterForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -487,48 +304,6 @@
<Compile Include="KJDForms\SalesCenterForms\UcActivityDiscountCtrl.Designer.cs">
<DependentUpon>UcActivityDiscountCtrl.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateAddForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateAddForm.Designer.cs">
<DependentUpon>FreightTemplateAddForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateForm.Designer.cs">
<DependentUpon>FreightTemplateForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateListForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateListForm.Designer.cs">
<DependentUpon>FreightTemplateListForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateNameForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateNameForm.Designer.cs">
<DependentUpon>FreightTemplateNameForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateNotSendAreaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateNotSendAreaForm.Designer.cs">
<DependentUpon>FreightTemplateNotSendAreaForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\MaterialManageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\MaterialManageForm.Designer.cs">
<DependentUpon>MaterialManageForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\ShopAuthForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\ShopAuthForm.Designer.cs">
<DependentUpon>ShopAuthForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\ReturnPackageDetailForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -583,24 +358,6 @@
<Compile Include="KJDForms\ShopForms\UcSubAccount.Designer.cs">
<DependentUpon>UcSubAccount.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopOptimizeForms\ClearNoVisitorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopOptimizeForms\ClearNoVisitorForm.Designer.cs">
<DependentUpon>ClearNoVisitorForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopOptimizeForms\ClearNoVisitorShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopOptimizeForms\ClearNoVisitorShopForm.Designer.cs">
<DependentUpon>ClearNoVisitorShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopOptimizeForms\OptimizeForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\ShopOptimizeForms\OptimizeForm.Designer.cs">
<DependentUpon>OptimizeForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SystemForms\SystemForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -797,6 +554,18 @@
<EmbeddedResource Include="KJDForms\AdminForms\AdminForm.resx">
<DependentUpon>AdminForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\FissionUserControl\Fission.resx">
<DependentUpon>Fission.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\FissionUserControl\FissionDataBaseForm.resx">
<DependentUpon>FissionDataBaseForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\FissionUserControl\FissionShowBigImgForm.resx">
<DependentUpon>FissionShowBigImgForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductSelectForms\Price\DbProductPriceMarkUpForm.resx">
<DependentUpon>DbProductPriceMarkUpForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\AdminForms\AdminShopAddSubSaForm.resx">
<DependentUpon>AdminShopAddSubSaForm.cs</DependentUpon>
</EmbeddedResource>
@@ -824,57 +593,6 @@
<EmbeddedResource Include="KJDForms\ProductForms\FissionUserControl\UcQualifiaction.resx">
<DependentUpon>UcQualifiaction.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\CatForm.resx">
<DependentUpon>CatForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\CleanDataForm.resx">
<DependentUpon>CleanDataForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\CommissionForm.resx">
<DependentUpon>CommissionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\FilterForm.resx">
<DependentUpon>FilterForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\Fission.resx">
<DependentUpon>Fission.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\FissionDataBaseForm.resx">
<DependentUpon>FissionDataBaseForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\FissionShowBigImgForm.resx">
<DependentUpon>FissionShowBigImgForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\GetUpProductForm.resx">
<DependentUpon>GetUpProductForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\IeForm.resx">
<DependentUpon>IeForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\ShopProductForm.resx">
<DependentUpon>ShopProductForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\SpecialDelaySendForm.resx">
<DependentUpon>SpecialDelaySendForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\StockSyncForm.resx">
<DependentUpon>StockSyncForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\TbSettleSlideForm.resx">
<DependentUpon>TbSettleSlideForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\UploadProductErrorForm.resx">
<DependentUpon>UploadProductErrorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\UploadProductForm.resx">
<DependentUpon>UploadProductForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\UploadProductViolateSelectForm.resx">
<DependentUpon>UploadProductViolateSelectForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\Old\ViolateManageForm.resx">
<DependentUpon>ViolateManageForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ProductForms\PriceManageForm.resx">
<DependentUpon>PriceManageForm.cs</DependentUpon>
</EmbeddedResource>
@@ -920,85 +638,12 @@
<EmbeddedResource Include="KJDForms\SalesCenterForms\MarketingActivityForm.resx">
<DependentUpon>MarketingActivityForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\CouponForm.resx">
<DependentUpon>CouponForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\CouponMulitAddForm.resx">
<DependentUpon>CouponMulitAddForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\CouponShopForm.resx">
<DependentUpon>CouponShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\DouProductPromotionListSkuInfoEditForm.resx">
<DependentUpon>DouProductPromotionListSkuInfoEditForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\DouProductProPromotionListSkuInfoForm.resx">
<DependentUpon>DouProductProPromotionListSkuInfoForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\FullMinusActiveForm.resx">
<DependentUpon>FullMinusActiveForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\FullMinusForm.resx">
<DependentUpon>FullMinusForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\FullMinusShopForm.resx">
<DependentUpon>FullMinusShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyCustomActivityNameForm.resx">
<DependentUpon>GroupBuyCustomActivityNameForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyForm.resx">
<DependentUpon>GroupBuyForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyMonitorForm.resx">
<DependentUpon>GroupBuyMonitorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyShopForm.resx">
<DependentUpon>GroupBuyShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\LimitedSalesActivityNameForm.resx">
<DependentUpon>LimitedSalesActivityNameForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\LimitedSalesManagerActiveForm.resx">
<DependentUpon>LimitedSalesManagerActiveForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesForm.resx">
<DependentUpon>SeckillingAndLimitedSalesForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesShopForm.resx">
<DependentUpon>SeckillingAndLimitedSalesShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\UcCouponAddParam.resx">
<DependentUpon>UcCouponAddParam.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\SalesCenterForm.resx">
<DependentUpon>SalesCenterForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\UcActivityDiscountCtrl.resx">
<DependentUpon>UcActivityDiscountCtrl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\FreightTemplateAddForm.resx">
<DependentUpon>FreightTemplateAddForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\FreightTemplateForm.resx">
<DependentUpon>FreightTemplateForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\FreightTemplateListForm.resx">
<DependentUpon>FreightTemplateListForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\FreightTemplateNameForm.resx">
<DependentUpon>FreightTemplateNameForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\FreightTemplateNotSendAreaForm.resx">
<DependentUpon>FreightTemplateNotSendAreaForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\MaterialManageForm.resx">
<DependentUpon>MaterialManageForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\ShopAuthForm.resx">
<DependentUpon>ShopAuthForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\ReturnPackageDetailForm.resx">
<DependentUpon>ReturnPackageDetailForm.cs</DependentUpon>
</EmbeddedResource>
@@ -1026,15 +671,6 @@
<EmbeddedResource Include="KJDForms\ShopForms\UcSubAccount.resx">
<DependentUpon>UcSubAccount.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopOptimizeForms\ClearNoVisitorForm.resx">
<DependentUpon>ClearNoVisitorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopOptimizeForms\ClearNoVisitorShopForm.resx">
<DependentUpon>ClearNoVisitorShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopOptimizeForms\OptimizeForm.resx">
<DependentUpon>OptimizeForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SystemForms\SystemForm.resx">
<DependentUpon>SystemForm.cs</DependentUpon>
</EmbeddedResource>
+26 -26
View File
@@ -29,9 +29,9 @@ namespace TemuKJD.KJDForms.AdminForms
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer5 = new System.Windows.Forms.SplitContainer();
this.cmbSaLevel = new System.Windows.Forms.ComboBox();
this.label6 = new System.Windows.Forms.Label();
@@ -131,7 +131,7 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.splitContainer5.Panel2.Controls.Add(this.splitContainer1);
this.splitContainer5.Panel2.Padding = new System.Windows.Forms.Padding(0, 5, 5, 5);
this.splitContainer5.Size = new System.Drawing.Size(800, 542);
this.splitContainer5.Size = new System.Drawing.Size(800, 527);
this.splitContainer5.SplitterDistance = 357;
this.splitContainer5.SplitterWidth = 1;
this.splitContainer5.TabIndex = 3;
@@ -464,27 +464,27 @@ namespace TemuKJD.KJDForms.AdminForms
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.dgvUser);
this.splitContainer1.Size = new System.Drawing.Size(437, 532);
this.splitContainer1.SplitterDistance = 501;
this.splitContainer1.Size = new System.Drawing.Size(437, 517);
this.splitContainer1.SplitterDistance = 486;
this.splitContainer1.TabIndex = 2;
//
// dgvUser
//
this.dgvUser.AllowUserToAddRows = false;
this.dgvUser.AllowUserToDeleteRows = false;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvUser.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvUser.BackgroundColor = System.Drawing.Color.White;
this.dgvUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.UserIdColumn,
@@ -498,21 +498,21 @@ namespace TemuKJD.KJDForms.AdminForms
this.colSaLevelName,
this.editColumn,
this.deleteColumn});
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvUser.DefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvUser.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvUser.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvUser.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvUser.Location = new System.Drawing.Point(0, 0);
this.dgvUser.Name = "dgvUser";
this.dgvUser.ReadOnly = true;
this.dgvUser.RowTemplate.Height = 23;
this.dgvUser.Size = new System.Drawing.Size(437, 501);
this.dgvUser.Size = new System.Drawing.Size(437, 486);
this.dgvUser.TabIndex = 1;
this.dgvUser.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvUser_CellContentClick);
//
@@ -591,7 +591,7 @@ namespace TemuKJD.KJDForms.AdminForms
// AdminAccountForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 542);
this.ClientSize = new System.Drawing.Size(800, 527);
this.Controls.Add(this.splitContainer5);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "AdminAccountForm";
+20 -16
View File
@@ -31,14 +31,16 @@
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("超级店铺管理");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("超级用户管理");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("选品数据库");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("认领待上传");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("库存上传");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("选品加价管理");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("认领待上传");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("库存上传");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
treeNode4,
treeNode5});
treeNode5,
treeNode6});
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
@@ -61,7 +63,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(792, 461);
this.panel1.Size = new System.Drawing.Size(792, 446);
this.panel1.TabIndex = 2;
//
// panel3
@@ -69,7 +71,7 @@
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 28);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(792, 433);
this.panel3.Size = new System.Drawing.Size(792, 418);
this.panel3.TabIndex = 1;
//
// panel2
@@ -106,7 +108,7 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Size = new System.Drawing.Size(933, 461);
this.splitContainer1.Size = new System.Drawing.Size(933, 446);
this.splitContainer1.SplitterDistance = 140;
this.splitContainer1.SplitterWidth = 1;
this.splitContainer1.TabIndex = 3;
@@ -135,23 +137,25 @@
treeNode2.Text = "超级用户管理";
treeNode3.Name = "选品数据库";
treeNode3.Text = "选品数据库";
treeNode4.Name = "认领待上传";
treeNode4.Text = "认领待上传";
treeNode5.Name = "库存上传";
treeNode5.Text = "库存上传";
treeNode6.Name = "超级权限管理";
treeNode6.Text = "超级权限管理";
treeNode4.Name = "选品加价管理";
treeNode4.Text = "选品加价管理";
treeNode5.Name = "认领待上传";
treeNode5.Text = "认领待上传";
treeNode6.Name = "库存上传";
treeNode6.Text = "库存上传";
treeNode7.Name = "超级权限管理";
treeNode7.Text = "超级权限管理";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode6});
treeNode7});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.tv.Size = new System.Drawing.Size(140, 461);
this.tv.Size = new System.Drawing.Size(140, 446);
this.tv.TabIndex = 1;
this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
//
// AdminForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(933, 461);
this.ClientSize = new System.Drawing.Size(933, 446);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+6 -1
View File
@@ -21,6 +21,7 @@ namespace TemuKJD.KJDForms.AdminForms
public Lazy<AdminAccountForm> adminAccountForm = new Lazy<AdminAccountForm>();
public Lazy<AdminShopListForm> adminShopForm = new Lazy<AdminShopListForm>();
public Lazy<DbProductListForm> dbProductListForm = new Lazy<DbProductListForm>();
public Lazy<DbPriceMarkUpForm> dbPriceMarkUpForm = new Lazy<DbPriceMarkUpForm>();
public Lazy<DbProductSelectListManageForm> dbProductSelectListManageForm = new Lazy<DbProductSelectListManageForm>();
public Lazy<ProductThirdSelectListManageForm> productThirdSelectListManageForm = new Lazy<ProductThirdSelectListManageForm>();
@@ -33,7 +34,7 @@ namespace TemuKJD.KJDForms.AdminForms
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
List<string> hideName = new List<string>() { "超级用户管理", "超级店铺管理", "选品数据库", "认领待上传", "库存上传" };
List<string> hideName = new List<string>() { "超级用户管理", "超级店铺管理", "选品数据库", "选品加价管理", "认领待上传", "库存上传" };
if (BaseClass.GroupId == 3)
{
@@ -43,6 +44,7 @@ namespace TemuKJD.KJDForms.AdminForms
hideName.Remove("超级用户管理");
hideName.Remove("超级店铺管理");
hideName.Remove("选品数据库");
hideName.Remove("选品加价管理");
hideName.Remove("认领待上传");
hideName.Remove("库存上传");
}
@@ -86,6 +88,9 @@ namespace TemuKJD.KJDForms.AdminForms
case "选品数据库":
SetForm(dbProductListForm.Value);
break;
case "选品加价管理":
SetForm(dbPriceMarkUpForm.Value);
break;
case "认领待上传":
SetForm(dbProductSelectListManageForm.Value);
break;
+46 -46
View File
@@ -54,9 +54,6 @@ namespace TemuKJD.KJDForms.AdminForms
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.chkAutoDrag = new System.Windows.Forms.CheckBox();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -83,6 +80,9 @@ namespace TemuKJD.KJDForms.AdminForms
this.colSubSa = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn();
this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn();
this.chkAutoDrag = new System.Windows.Forms.CheckBox();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -115,7 +115,7 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
this.splitContainer1.Size = new System.Drawing.Size(1273, 625);
this.splitContainer1.Size = new System.Drawing.Size(1273, 610);
this.splitContainer1.SplitterDistance = 46;
this.splitContainer1.TabIndex = 34;
//
@@ -368,15 +368,15 @@ namespace TemuKJD.KJDForms.AdminForms
this.splitContainer2.Panel2.Controls.Add(this.chkAutoDrag);
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
this.splitContainer2.Size = new System.Drawing.Size(1273, 575);
this.splitContainer2.SplitterDistance = 546;
this.splitContainer2.Size = new System.Drawing.Size(1273, 560);
this.splitContainer2.SplitterDistance = 531;
this.splitContainer2.TabIndex = 0;
//
// pbLoading
//
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbLoading.Location = new System.Drawing.Point(611, 248);
this.pbLoading.Location = new System.Drawing.Point(611, 240);
this.pbLoading.Name = "pbLoading";
this.pbLoading.Size = new System.Drawing.Size(50, 50);
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -433,45 +433,10 @@ namespace TemuKJD.KJDForms.AdminForms
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(1265, 546);
this.dgvShop.Size = new System.Drawing.Size(1265, 531);
this.dgvShop.TabIndex = 5;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// chkAutoDrag
//
this.chkAutoDrag.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkAutoDrag.AutoSize = true;
this.chkAutoDrag.BackColor = System.Drawing.Color.White;
this.chkAutoDrag.Location = new System.Drawing.Point(597, 0);
this.chkAutoDrag.Name = "chkAutoDrag";
this.chkAutoDrag.Size = new System.Drawing.Size(159, 21);
this.chkAutoDrag.TabIndex = 3;
this.chkAutoDrag.Text = "登录时自动滑动拼图验证";
this.chkAutoDrag.UseVisualStyleBackColor = false;
this.chkAutoDrag.Visible = false;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.Location = new System.Drawing.Point(911, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
this.ucSplitPage1.TabIndex = 4;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1273, 25);
this.statusBar.TabIndex = 1;
//
// colSelect
//
this.colSelect.FillWeight = 26F;
@@ -685,13 +650,48 @@ namespace TemuKJD.KJDForms.AdminForms
this.colDelete.ReadOnly = true;
this.colDelete.Visible = false;
//
// AdminShopForm
// chkAutoDrag
//
this.chkAutoDrag.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkAutoDrag.AutoSize = true;
this.chkAutoDrag.BackColor = System.Drawing.Color.White;
this.chkAutoDrag.Location = new System.Drawing.Point(597, 0);
this.chkAutoDrag.Name = "chkAutoDrag";
this.chkAutoDrag.Size = new System.Drawing.Size(159, 21);
this.chkAutoDrag.TabIndex = 3;
this.chkAutoDrag.Text = "登录时自动滑动拼图验证";
this.chkAutoDrag.UseVisualStyleBackColor = false;
this.chkAutoDrag.Visible = false;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.Location = new System.Drawing.Point(911, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
this.ucSplitPage1.TabIndex = 4;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1273, 25);
this.statusBar.TabIndex = 1;
//
// AdminShopListForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1273, 625);
this.ClientSize = new System.Drawing.Size(1273, 610);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "AdminShopForm";
this.Name = "AdminShopListForm";
this.Text = "AdminShopForm";
this.Load += new System.EventHandler(this.AdminShopForm_Load);
this.VisibleChanged += new System.EventHandler(this.AdminShopForm_VisibleChanged);
+38 -2
View File
@@ -38,13 +38,49 @@ namespace TemuKJD.KJDForms.BaseForms
SetFont(c, dpi);
Font of = c.Font;
Font f = new Font(of.FontFamily, (of.Size * 96.0 / dpi).ParseToFloat(), of.Style, Font.Unit, Font.GdiCharSet, Font.Bold);
c.Font = f;
Font nf = new Font(of.FontFamily, (of.Size * 96.0 / dpi).ParseToFloat(), of.Style, of.Unit, of.GdiCharSet, of.Bold);
c.Font = nf;
if (c is DevComponents.DotNetBar.PanelEx)
{
var pEx = (c as DevComponents.DotNetBar.PanelEx);
if (pEx.Style.Font != null)
{
Font osf = pEx.Style.Font;
Font nsf = new Font(osf.FontFamily, (osf.Size * 96.0 / dpi).ParseToFloat(), osf.Style, osf.Unit, osf.GdiCharSet, osf.Bold);
pEx.Style.Font = nsf;
}
if (pEx.StyleMouseOver.Font != null)
{
Font oof = pEx.StyleMouseOver.Font;
Font nof = new Font(oof.FontFamily, (oof.Size * 96.0 / dpi).ParseToFloat(), oof.Style, oof.Unit, oof.GdiCharSet, oof.Bold);
pEx.StyleMouseOver.Font = nof;
}
if (pEx.StyleMouseDown.Font != null)
{
Font odf = pEx.StyleMouseDown.Font;
Font ndf = new Font(odf.FontFamily, (odf.Size * 96.0 / dpi).ParseToFloat(), odf.Style, odf.Unit, odf.GdiCharSet, odf.Bold);
pEx.StyleMouseDown.Font = ndf;
}
}
if (c is UserComponent.UcTreeView)
{
var tree = c as UserComponent.UcTreeView;
Font ogf = tree.GroupFont;
Font ngf = new Font(ogf.FontFamily, (ogf.Size * 96.0 / dpi).ParseToFloat(), ogf.Style, ogf.Unit, ogf.GdiCharSet, ogf.Bold);
tree.GroupFont = ngf;
}
if (c is DataGridView)
{
}
if (c.Name == "pnlSA")
{
}
}
}
}
@@ -24,8 +24,10 @@ using Work.Api;
using System.Threading;
using TemuKJD.KJDForms.ToolForms;
using TemuKJD.KJDForms.ToolForms.JDVerify;
using NaiBa.Util;
using Work.DouyinApiClass;
using Work.BLL.Upload;
using NaiBa.CefHelper;
using AllBase.Model.Param.ProductManage;
using TemuKJD.KJDForms.ProductForms.FissionUserControl;
using AllBase.Model.Result;
@@ -109,7 +111,7 @@ namespace TemuKJD.KJDForms.ProductForms
Icon = BaseClass.Ico;
}
CleanDataForm.LstFissionForm.Add(this);
//CleanDataForm.LstFissionForm.Add(this);
this.lklbResetShop_LinkClicked(null, null);
@@ -931,7 +933,7 @@ namespace TemuKJD.KJDForms.ProductForms
ProductCollectBase pcb = null;
if (CheckSubmit(out fessionDataModel, out pcb))
{
UploadProductForm.ImportFromFission(new List<ProductCollectBase>() { pcb });
//UploadProductForm.ImportFromFission(new List<ProductCollectBase>() { pcb });
#region UpdateUI
dataGridView1.SelectedRows[0].Cells["status"].Value = "提交上传处理成功";
@@ -1756,9 +1758,9 @@ namespace TemuKJD.KJDForms.ProductForms
private void lklbChangeCatId_Click(object sender, EventArgs e)
{
CatForm form = new CatForm(detailDataPcb);
form.frmFission = this;
form.ShowDialog();
//CatForm form = new CatForm(detailDataPcb);
//form.frmFission = this;
//form.ShowDialog();
}
public void ReloadShop()
@@ -2908,7 +2910,7 @@ namespace TemuKJD.KJDForms.ProductForms
private void Fission_FormClosed(object sender, FormClosedEventArgs e)
{
CleanDataForm.LstFissionForm.Remove(this);
//CleanDataForm.LstFissionForm.Remove(this);
}
private void btnShowOriginal_Click(object sender, EventArgs e)
@@ -688,7 +688,7 @@ namespace TemuKJD.KJDForms.ProductForms
if (pcbList.Count >= 50)
{
// 添加到上传数据库
UploadProductForm.ImportFromFission(pcbList);
//UploadProductForm.ImportFromFission(pcbList);
pcbList.Clear();
// 记录使用次数
SetUseCount(fissionDataBaseIds);
@@ -702,7 +702,7 @@ namespace TemuKJD.KJDForms.ProductForms
}
// 添加到上传数据库
UploadProductForm.ImportFromFission(pcbList);
//UploadProductForm.ImportFromFission(pcbList);
pcbList.Clear();
// 记录使用次数
SetUseCount(fissionDataBaseIds);
@@ -1,325 +0,0 @@
using AllBase;
using AllBase.Model.Param.FissionManage;
using TemuKJD.KJDForms.BaseForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class CatForm : LRBaseForm
{
private const int SB_HORZ = 0;
private const int SB_VERT = 1;
private const int SB_CTL = 2;
private const int SB_BOTH = 3;
[DllImport("user32", EntryPoint = "ShowScrollBar")]
public static extern int ShowScrollBar(int hwnd, int wBar, int bShow);
private ProductCollectBase pcb;
private int iCatId = 0;
private List<GoodsCategoryModelEx> lstRootGoodsCategory = new List<GoodsCategoryModelEx>();
private List<GoodsCategoryModelEx> lst2ndGoodsCategory = new List<GoodsCategoryModelEx>();
private List<GoodsCategoryModelEx> lst3rdGoodsCategory = new List<GoodsCategoryModelEx>();
public Fission frmFission;
private int lst1Cid = 0;
private int lst2Cid = 0;
private int lst3Cid = 0;
public CatForm(ProductCollectBase _pcb)
{
pcb = _pcb;
InitializeComponent();
}
private void CatForm_Load(object sender, EventArgs e)
{
lbxSearch.Height = 300;
ShowHistoricalCid(pcb.cat_id);
//ShowScrollBar((int)this.lvRootCategory.Handle, SB_VERT, 1);
//ShowScrollBar((int)this.lv2rdCategory.Handle, SB_VERT, 1);
//ShowScrollBar((int)this.lv3rdCategory.Handle, SB_VERT, 1);
}
private void ShowHistoricalCid(int cid)
{
try
{
if (Fission.goodsCategoryList.Count == 0)
Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList<GoodsCategoryModelEx>(AllBase.Model.Param.ProductManage.DyCategoryParam.DyCategorys);
lvRootCategory.Clear();
lstRootGoodsCategory = Fission.goodsCategoryList.FindAll(m => m.parent_id == 0);
foreach (GoodsCategoryModel item in lstRootGoodsCategory)
lvRootCategory.Items.Add(item.id.ToString(), item.name, "");
List<int> catList = Fission.GetParentCatList(cid);
string cidName = string.Join(",", catList);
if (!string.IsNullOrEmpty(cidName))
{
string[] strArrary = cidName.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
strArrary = strArrary.Where(o => o != "0").ToArray();
if (strArrary.Length == 3)
{
lvRootCategory.FocusedItem = lvRootCategory.Items[strArrary[0]];
lvRootCategory.Items[strArrary[0]].Selected = true;
lv2rdCategory.FocusedItem = lv2rdCategory.Items[strArrary[1]];
lv2rdCategory.Items[strArrary[1]].Selected = true;
lv3rdCategory.Focus();
lv3rdCategory.FocusedItem = lv3rdCategory.Items[strArrary[2]];
lv3rdCategory.Items[strArrary[2]].Selected = true;
}
else if (strArrary.Length == 2)
{
lvRootCategory.FocusedItem = lvRootCategory.Items[strArrary[0]];
lvRootCategory.Items[strArrary[0]].Selected = true;
lv2rdCategory.Focus();
lv2rdCategory.FocusedItem = lv2rdCategory.Items[strArrary[1]];
lv2rdCategory.Items[strArrary[1]].Selected = true;
}
else
{
lvRootCategory.Focus();
lvRootCategory.FocusedItem = lvRootCategory.Items[strArrary[0]];
if (lvRootCategory.Items[strArrary[0]] != null)
lvRootCategory.Items[strArrary[0]].Selected = true;
}
}
}
catch
{
}
}
private void lvRootCategory_SelectedIndexChanged(object sender, EventArgs e)
{
lv2rdCategory.Items.Clear();
lv3rdCategory.Items.Clear();
lst2Cid = 0;
lst3Cid = 0;
var cid = lvRootCategory.FocusedItem.Name;
lbSelectCatName.Text = "当前选择商品分类:" + lvRootCategory.FocusedItem.Text;
iCatId = int.Parse(cid);
lst1Cid = iCatId;
lst2ndGoodsCategory = Fission.goodsCategoryList.FindAll(m => m.parent_id == iCatId);
btnChangeCatId.Enabled = lst2ndGoodsCategory.Count == 0;
foreach (GoodsCategoryModel item in lst2ndGoodsCategory)
{
if (item.name.Equals("未知")) continue;
lv2rdCategory.Items.Add(item.id.ToString(), item.name, "");
}
}
private void lv2rdCategory_SelectedIndexChanged(object sender, EventArgs e)
{
lst3Cid = 0;
lv3rdCategory.Items.Clear();
var cid = lv2rdCategory.FocusedItem.Name;
lbSelectCatName.Text = "当前选择商品分类:" + lv2rdCategory.FocusedItem.Text;
iCatId = int.Parse(cid);
lst2Cid = iCatId;
lst3rdGoodsCategory = Fission.goodsCategoryList.FindAll(m => m.parent_id == iCatId);
btnChangeCatId.Enabled = lst3rdGoodsCategory.Count == 0;
foreach (GoodsCategoryModel item in lst3rdGoodsCategory)
{
if (item.name.Equals("未知")) continue;
lv3rdCategory.Items.Add(item.id.ToString(), item.name, "");
}
}
private void lv3rdCategory_SelectedIndexChanged(object sender, EventArgs e)
{
iCatId = int.Parse(lv3rdCategory.FocusedItem?.Name);
lst3Cid = iCatId;
btnChangeCatId.Enabled = true;
lbSelectCatName.Text = "当前选择商品分类:" + lv3rdCategory.FocusedItem.Text;
}
/// <summary>
/// 确认变更商品分类
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void btnChangeCatId_Click(object sender, EventArgs e)
{
string sChangedCatName = lbSelectCatName.Text.Split(':')[1];
if (BaseMsgForm.ShowConfirm("确认商品分类设置为【" + sChangedCatName + "】?").DialogResult.Equals(DialogResult.OK))
{
pcb.cat_id = iCatId;
pcb.cat1 = lst1Cid;
pcb.main_cid = lst1Cid;
pcb.cat2 = lst2Cid;
pcb.cat3 = lst3Cid;
pcb.cat4 = 0;
frmFission.lblCategory.Text = Fission.GetFullCatString(iCatId);
var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id == iCatId);
if (cat != null)
{
// {"id":21621,"name":"电吹风","parent_cid":20099,"level":2,"enable":true,"first_cid":20099,"second_cid":21621,"third_cid":0,"fourth_cid":0,"first_name":"个人保健/护理电器","second_name":"电吹风","third_name":"","fourth_name":"","is_leaf":true,"highlight_levels":[],"extra_info":null,"industry_status":0}
frmFission.fullCatStrings = "[{\"id\":" + cat.id + ",\"name\":\"" + cat.name + "\"," +
"\"parent_cid\":" + cat.parent_id + ",\"level\":" + cat.level + ",\"enable\":" + cat.enable.ToString().ToLower() + ",";
List<GoodsCategoryModel> cl = new List<GoodsCategoryModel>();
cl.Add(cat);
var catEx = Fission.goodsCategoryList.FirstOrDefault(c => c.id == cat.id);
var pCat = Fission.goodsCategoryList.FirstOrDefault(c => c.id == cat.parent_id);
while (pCat != null && pCat.id != 0)
{
cl.Insert(0, pCat);
pCat = Fission.goodsCategoryList.FirstOrDefault(c => c.id == pCat.parent_id);
}
while (cl.Count < 4)
{
cl.Add(new GoodsCategoryModelEx());
}
frmFission.fullCatStrings += "\"first_cid\":" + cl[0].id + ",\"second_cid\":" + cl[1].id + ",\"third_cid\":" + cl[2].id + ",\"fourth_cid\":" + cl[3].id + "," +
"\"first_name\":\"" + cl[0].name + "\",\"second_name\":\"" + cl[1].name + "\",\"third_name\":\"" + cl[2].name + "\",\"fourth_name\":\"" + cl[3].name + "\",";
frmFission.fullCatStrings += "\"is_leaf\":" + cat.is_leaf.ToString().ToLower() + ",\"highlight_levels\":[],\"extra_info\":null," +
"\"industry_status\":" + catEx.industry_status + "}]";
}
Close();
}
}
private void txtCateSearch_TextChanged(object sender, EventArgs e)
{
lbxSearch.Items.Clear();
if (txtCateSearch.Text.Trim().Length > 0)
{
List<string> listResult = new List<string>();
foreach (var item in Fission.goodsCategoryList)
{
if (item.name.Contains(txtCateSearch.Text.Trim()))
{
List<string> dd = GetCatString(item.id);
listResult.AddRange(dd);
}
}
listResult = listResult.Distinct().OrderBy(x => x).ToList();
if (listResult.Count > 0)
{
lbxSearch.Visible = true;
foreach (var cstr in listResult)
lbxSearch.Items.Add(cstr);
}
else
lbxSearch.Visible = false;
}
else
{
lbxSearch.Visible = false;
}
}
List<string> GetCatString(int cid)
{
//获取上级类目
List<int> listCat = Fission.GetParentCatList(cid);
List<string> listParent = new List<string>();
for (int i = 0; i < listCat.Count; i++)
{
var c = Fission.goodsCategoryList.Find(x => x.id == listCat[i]);
listParent.Add(c.name);
}
string strParentList = string.Join(">>", listParent);
//获取所有下级类目
List<string> listChild = new List<string>();
List<int> listChild1 = GetChildCatList(cid);
for (int i1 = 0; i1 < listChild1.Count; i1++)
{
List<int> listChild2 = GetChildCatList(listChild1[i1]);
string s1 = Fission.goodsCategoryList.Find(x => x.id == listChild1[i1]).name;
if (listChild2.Count == 0)
{
listChild.Add(s1);
continue;
}
for (int i2 = 0; i2 < listChild2.Count; i2++)
{
List<int> listChild3 = GetChildCatList(listChild2[i2]);
string s2 = Fission.goodsCategoryList.Find(x => x.id == listChild2[i2]).name;
if (listChild3.Count == 0)
{
listChild.Add(s1 + ">>" + s2);
continue;
}
for (int i3 = 0; i3 < listChild3.Count; i3++)
{
List<int> listChild4 = GetChildCatList(listChild3[i3]);
string s3 = Fission.goodsCategoryList.Find(x => x.id == listChild3[i3]).name;
if (listChild4.Count == 0)
{
listChild.Add(s1 + ">>" + s2 + ">>" + s3);
continue;
}
}
}
}
List<string> listResult = new List<string>();
if (listChild.Count > 0)
{
for (int i = 0; i < listChild.Count; i++)
{
listResult.Add(strParentList + ">>" + listChild[i]);
}
}
else
{
listResult.Add(strParentList);
}
return listResult;
}
List<int> GetChildCatList(int cid)
{
List<int> list = new List<int>();
var listNext = Fission.goodsCategoryList.FindAll(x => x.parent_id == cid);
for (int i = 0; i < listNext.Count; i++)
list.Add(listNext[i].id);
return list;
}
private void lbxSearch_Click(object sender, EventArgs e)
{
if (lbxSearch.SelectedIndex >= 0)
{
string cateStr = lbxSearch.SelectedItem.ToString();
string[] cateArr = cateStr.Split(new string[] { ">>" }, StringSplitOptions.RemoveEmptyEntries);
GoodsCategoryModel model = null;
if (cateArr.Length > 0)
model = Fission.goodsCategoryList.Find(x => x.parent_id == 0 && x.name == cateArr[0]);
if (cateArr.Length > 1 && model != null)
{
model = Fission.goodsCategoryList.Find(x => x.parent_id == model.id && x.name == cateArr[1]);
}
if (cateArr.Length > 2 && model != null)
{
model = Fission.goodsCategoryList.Find(x => x.parent_id == model.id && x.name == cateArr[2]);
}
if (cateArr.Length > 3 && model != null)
{
model = Fission.goodsCategoryList.Find(x => x.parent_id == model.id && x.name == cateArr[3]);
}
if (model != null)
ShowHistoricalCid(model.id);
}
lbxSearch.Visible = false;
}
}
}
-225
View File
@@ -1,225 +0,0 @@
using System.Windows.Forms;
namespace TemuKJD.KJDForms.ProductForms
{
partial class CatForm
{
/// <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(CatForm));
this.panel2 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.lbxSearch = new System.Windows.Forms.ListBox();
this.txtCateSearch = new System.Windows.Forms.TextBox();
this.lbSelectCatName = new System.Windows.Forms.Label();
this.btnChangeCatId = new TemuKJD.UserComponent.ButtonLc();
this.lv3rdCategory = new System.Windows.Forms.ListView();
this.lv2rdCategory = new System.Windows.Forms.ListView();
this.lvRootCategory = new System.Windows.Forms.ListView();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panel2.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Controls.Add(this.lbxSearch);
this.panel2.Controls.Add(this.tableLayoutPanel1);
this.panel2.Controls.Add(this.label1);
this.panel2.Controls.Add(this.txtCateSearch);
this.panel2.Controls.Add(this.lbSelectCatName);
this.panel2.Controls.Add(this.btnChangeCatId);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(1, 33);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(674, 565);
this.panel2.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(32, 38);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 35;
this.label1.Text = "搜索类目";
//
// lbxSearch
//
this.lbxSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbxSearch.FormattingEnabled = true;
this.lbxSearch.ItemHeight = 12;
this.lbxSearch.Location = new System.Drawing.Point(91, 54);
this.lbxSearch.Name = "lbxSearch";
this.lbxSearch.ScrollAlwaysVisible = true;
this.lbxSearch.Size = new System.Drawing.Size(551, 16);
this.lbxSearch.TabIndex = 34;
this.lbxSearch.Visible = false;
this.lbxSearch.Click += new System.EventHandler(this.lbxSearch_Click);
//
// txtCateSearch
//
this.txtCateSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtCateSearch.Location = new System.Drawing.Point(91, 34);
this.txtCateSearch.Name = "txtCateSearch";
this.txtCateSearch.Size = new System.Drawing.Size(551, 21);
this.txtCateSearch.TabIndex = 33;
this.txtCateSearch.TextChanged += new System.EventHandler(this.txtCateSearch_TextChanged);
//
// lbSelectCatName
//
this.lbSelectCatName.AutoSize = true;
this.lbSelectCatName.Font = new System.Drawing.Font("新宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbSelectCatName.Location = new System.Drawing.Point(31, 526);
this.lbSelectCatName.Name = "lbSelectCatName";
this.lbSelectCatName.Size = new System.Drawing.Size(63, 14);
this.lbSelectCatName.TabIndex = 30;
this.lbSelectCatName.Text = "当前选择";
//
// btnChangeCatId
//
this.btnChangeCatId.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(163)))), ((int)(((byte)(219)))));
this.btnChangeCatId.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnChangeCatId.Enabled = false;
this.btnChangeCatId.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnChangeCatId.Font = new System.Drawing.Font("新宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnChangeCatId.ForeColor = System.Drawing.Color.White;
this.btnChangeCatId.Location = new System.Drawing.Point(545, 518);
this.btnChangeCatId.Name = "btnChangeCatId";
this.btnChangeCatId.Size = new System.Drawing.Size(99, 30);
this.btnChangeCatId.TabIndex = 26;
this.btnChangeCatId.Text = "变更分类";
this.btnChangeCatId.UseVisualStyleBackColor = false;
this.btnChangeCatId.Click += new System.EventHandler(this.btnChangeCatId_Click);
//
// lv3rdCategory
//
this.lv3rdCategory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lv3rdCategory.Dock = System.Windows.Forms.DockStyle.Fill;
this.lv3rdCategory.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lv3rdCategory.FullRowSelect = true;
this.lv3rdCategory.HideSelection = false;
this.lv3rdCategory.Location = new System.Drawing.Point(409, 3);
this.lv3rdCategory.Name = "lv3rdCategory";
this.lv3rdCategory.Size = new System.Drawing.Size(199, 430);
this.lv3rdCategory.TabIndex = 2;
this.lv3rdCategory.TileSize = new System.Drawing.Size(268, 22);
this.lv3rdCategory.UseCompatibleStateImageBehavior = false;
this.lv3rdCategory.View = System.Windows.Forms.View.Tile;
this.lv3rdCategory.SelectedIndexChanged += new System.EventHandler(this.lv3rdCategory_SelectedIndexChanged);
//
// lv2rdCategory
//
this.lv2rdCategory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lv2rdCategory.Dock = System.Windows.Forms.DockStyle.Fill;
this.lv2rdCategory.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lv2rdCategory.FullRowSelect = true;
this.lv2rdCategory.HideSelection = false;
this.lv2rdCategory.Location = new System.Drawing.Point(206, 3);
this.lv2rdCategory.Name = "lv2rdCategory";
this.lv2rdCategory.Size = new System.Drawing.Size(197, 430);
this.lv2rdCategory.TabIndex = 1;
this.lv2rdCategory.TileSize = new System.Drawing.Size(268, 22);
this.lv2rdCategory.UseCompatibleStateImageBehavior = false;
this.lv2rdCategory.View = System.Windows.Forms.View.Tile;
this.lv2rdCategory.SelectedIndexChanged += new System.EventHandler(this.lv2rdCategory_SelectedIndexChanged);
//
// lvRootCategory
//
this.lvRootCategory.Activation = System.Windows.Forms.ItemActivation.OneClick;
this.lvRootCategory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lvRootCategory.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvRootCategory.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lvRootCategory.FullRowSelect = true;
this.lvRootCategory.HideSelection = false;
this.lvRootCategory.Location = new System.Drawing.Point(3, 3);
this.lvRootCategory.Name = "lvRootCategory";
this.lvRootCategory.Size = new System.Drawing.Size(197, 430);
this.lvRootCategory.TabIndex = 0;
this.lvRootCategory.TileSize = new System.Drawing.Size(268, 22);
this.lvRootCategory.UseCompatibleStateImageBehavior = false;
this.lvRootCategory.View = System.Windows.Forms.View.Tile;
this.lvRootCategory.SelectedIndexChanged += new System.EventHandler(this.lvRootCategory_SelectedIndexChanged);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.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.tableLayoutPanel1.ColumnCount = 3;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
this.tableLayoutPanel1.Controls.Add(this.lvRootCategory, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.lv2rdCategory, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.lv3rdCategory, 2, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(34, 76);
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(611, 436);
this.tableLayoutPanel1.TabIndex = 36;
//
// CatForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(676, 599);
this.Controls.Add(this.panel2);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "CatForm";
this.ShowMinimizedBox = true;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "商品分类";
this.TitleText = "商品分类";
this.Load += new System.EventHandler(this.CatForm_Load);
this.Controls.SetChildIndex(this.panel2, 0);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel2;
private ListView lvRootCategory;
private ListView lv2rdCategory;
private ListView lv3rdCategory;
private UserComponent.ButtonLc btnChangeCatId;
private Label lbSelectCatName;
private Label label1;
private ListBox lbxSearch;
private TextBox txtCateSearch;
private TableLayoutPanel tableLayoutPanel1;
}
}
@@ -1,298 +0,0 @@
<?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>
AAABAAEAgIAQZAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
/4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
/////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
//////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
//////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
/4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
/////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
//j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
//+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
/4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
//////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
//iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
//////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
//+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
+IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
/4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
//////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
/////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
@@ -1,236 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class CleanDataForm
{
/// <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(CleanDataForm));
this.chkIsUseProxy = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.buttonLoginPdd = new DevComponents.DotNetBar.ButtonX();
this.btnImport = new DevComponents.DotNetBar.ButtonX();
this.txtProduct = new DevComponents.DotNetBar.Controls.TextBoxX();
this.labelX10 = new DevComponents.DotNetBar.LabelX();
this.chkIsUseResourcePack = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.pbPaste = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.btnSearch = new TemuKJD.UserControls.ButtonEx();
((System.ComponentModel.ISupportInitialize)(this.pbPaste)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// chkIsUseProxy
//
//
//
//
this.chkIsUseProxy.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.chkIsUseProxy.FocusCuesEnabled = false;
this.chkIsUseProxy.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chkIsUseProxy.Location = new System.Drawing.Point(156, 217);
this.chkIsUseProxy.Name = "chkIsUseProxy";
this.chkIsUseProxy.Size = new System.Drawing.Size(82, 23);
this.chkIsUseProxy.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.chkIsUseProxy.TabIndex = 51;
this.chkIsUseProxy.Text = "使用代理IP";
this.chkIsUseProxy.Visible = false;
this.chkIsUseProxy.CheckedChanged += new System.EventHandler(this.chkIsUseProxy_CheckedChanged);
//
// buttonLoginPdd
//
this.buttonLoginPdd.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonLoginPdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonLoginPdd.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonLoginPdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonLoginPdd.Location = new System.Drawing.Point(353, 174);
this.buttonLoginPdd.Name = "buttonLoginPdd";
this.buttonLoginPdd.Size = new System.Drawing.Size(89, 29);
this.buttonLoginPdd.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
this.buttonLoginPdd.TabIndex = 48;
this.buttonLoginPdd.Text = "拼多多登录";
this.buttonLoginPdd.TextColor = System.Drawing.Color.White;
this.buttonLoginPdd.ThemeAware = true;
this.buttonLoginPdd.Visible = false;
//
// btnImport
//
this.btnImport.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnImport.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnImport.FocusCuesEnabled = false;
this.btnImport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnImport.Location = new System.Drawing.Point(254, 174);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(89, 29);
this.btnImport.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
this.btnImport.TabIndex = 44;
this.btnImport.Text = "导入链接";
this.btnImport.TextColor = System.Drawing.Color.White;
this.btnImport.ThemeAware = true;
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// txtProduct
//
this.txtProduct.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
this.txtProduct.Border.Class = "TextBoxBorder";
this.txtProduct.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtProduct.Font = new System.Drawing.Font("新宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtProduct.Location = new System.Drawing.Point(155, 129);
this.txtProduct.Name = "txtProduct";
this.txtProduct.PreventEnterBeep = true;
this.txtProduct.Size = new System.Drawing.Size(727, 29);
this.txtProduct.TabIndex = 46;
this.txtProduct.TextChanged += new System.EventHandler(this.txtProduct_TextChanged);
//
// labelX10
//
this.labelX10.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labelX10.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.labelX10.Location = new System.Drawing.Point(61, 132);
this.labelX10.Name = "labelX10";
this.labelX10.Size = new System.Drawing.Size(92, 23);
this.labelX10.TabIndex = 45;
this.labelX10.Text = "宝贝网址";
//
// chkIsUseResourcePack
//
//
//
//
this.chkIsUseResourcePack.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.chkIsUseResourcePack.FocusCuesEnabled = false;
this.chkIsUseResourcePack.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chkIsUseResourcePack.Location = new System.Drawing.Point(254, 217);
this.chkIsUseResourcePack.Name = "chkIsUseResourcePack";
this.chkIsUseResourcePack.Size = new System.Drawing.Size(82, 23);
this.chkIsUseResourcePack.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.chkIsUseResourcePack.TabIndex = 52;
this.chkIsUseResourcePack.Text = "使用资源包";
this.chkIsUseResourcePack.Visible = false;
//
// pbPaste
//
this.pbPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pbPaste.BackColor = System.Drawing.Color.White;
this.pbPaste.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pbPaste.Image = global::TemuKJD.Properties.Resources.FullPaste;
this.pbPaste.Location = new System.Drawing.Point(879, 129);
this.pbPaste.Name = "pbPaste";
this.pbPaste.Size = new System.Drawing.Size(33, 29);
this.pbPaste.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pbPaste.TabIndex = 50;
this.pbPaste.TabStop = false;
this.pbPaste.Click += new System.EventHandler(this.pbPaste_Click);
//
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(470, 172);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(33, 32);
this.pictureBox1.TabIndex = 49;
this.pictureBox1.TabStop = false;
this.pictureBox1.Visible = false;
//
// label1
//
this.label1.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.label1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(2, 240);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(969, 34);
this.label1.TabIndex = 53;
this.label1.Text = "正在初始化店铺类目,请稍候";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label1.Visible = false;
//
// btnSearch
//
this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearch.FlatAppearance.BorderSize = 0;
this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnSearch.ForeColor = System.Drawing.Color.White;
this.btnSearch.Location = new System.Drawing.Point(155, 174);
this.btnSearch.Margin = new System.Windows.Forms.Padding(2);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(94, 29);
this.btnSearch.TabIndex = 378;
this.btnSearch.Text = "搜索";
this.btnSearch.UseVisualStyleBackColor = false;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// CleanDataForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(972, 497);
this.Controls.Add(this.btnSearch);
this.Controls.Add(this.label1);
this.Controls.Add(this.chkIsUseResourcePack);
this.Controls.Add(this.chkIsUseProxy);
this.Controls.Add(this.pbPaste);
this.Controls.Add(this.buttonLoginPdd);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.btnImport);
this.Controls.Add(this.txtProduct);
this.Controls.Add(this.labelX10);
this.Name = "CleanDataForm";
this.Text = "CleanDataForm";
this.Load += new System.EventHandler(this.CleanDataForm_Load);
((System.ComponentModel.ISupportInitialize)(this.pbPaste)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevComponents.DotNetBar.Controls.CheckBoxX chkIsUseProxy;
private System.Windows.Forms.PictureBox pbPaste;
private DevComponents.DotNetBar.ButtonX buttonLoginPdd;
private System.Windows.Forms.PictureBox pictureBox1;
private DevComponents.DotNetBar.ButtonX btnImport;
private DevComponents.DotNetBar.Controls.TextBoxX txtProduct;
private DevComponents.DotNetBar.LabelX labelX10;
private DevComponents.DotNetBar.Controls.CheckBoxX chkIsUseResourcePack;
private System.Windows.Forms.Label label1;
private UserControls.ButtonEx btnSearch;
}
}
@@ -1,442 +0,0 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Param.FissionManage;
using AllBase.Model.Param.ProductManage;
using AllBase.Model.Result;
using TemuKJD.KJDForms.BaseForms;
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.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work.Api;
using Work.BLL.Upload;
using Work.CollectClass;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class CleanDataForm : BaseForm
{
private string cleaningData = "";
private string sFromUrl = "";
private string path { get; set; } = "temp/FissionBackup.txt";
private delegate ProductCollectBase deleTaoBaoCollect(ProductCollectBase pcb);
private delegate ProductCollectBase delePingDuoDuoCollect(TaobaoProductBase pcb);
private delegate void deleChangePicVisible();
public static List<Fission> LstFissionForm = new List<Fission>();
public CleanDataForm()
{
InitializeComponent();
}
private void CleanDataForm_Load(object sender, EventArgs e)
{
}
private void btnSearch_Click(object sender, EventArgs e)
{
sFromUrl = cleaningData.Trim();
// 读取本地看是否有备份文件 提示存在备用数据,是否载入,点是载入,点否丢弃并删除备用数据,
if (FileBase.Exists(path))
{
if (BaseMsgForm.ShowConfirm("是否需要载入备份数据", "提示").DialogResult == DialogResult.OK)
{
//载入
using (StreamReader str = new StreamReader(path, System.Text.Encoding.Default))
{
sFromUrl += "\r\n" + str.ReadToEnd().Trim();
}
}
else
{
//FileBase.Delete(path);
}
}
try
{
CollectProductFromUrl();
}
catch (Exception ex)
{
BaseMsgForm.ShowError("未正确获取到商品信息!(请确认商品ID是否正确以及网络)");
}
}
private void btnImport_Click(object sender, EventArgs e)
{
BaseMsgForm.ShowInfo("格式1:商品地址\r\n" +
"格式2:关键词-----商品地址\r\n", "导入格式");
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Filter = "文本文件(*.txt)|*.txt";
openFileDialog.RestoreDirectory = true;
openFileDialog.FilterIndex = 1;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
string fName = openFileDialog.FileName;
string line = string.Empty;
using (StreamReader sr = new StreamReader(openFileDialog.FileName, System.Text.Encoding.Default))
{
txtProduct.Text = string.Empty;
txtProduct.Text = sr.ReadToEnd();
}
}
}
private void pbPaste_Click(object sender, EventArgs e)
{
IDataObject iData = Clipboard.GetDataObject();
if (iData != null && iData.GetDataPresent(DataFormats.Text))
{
txtProduct.Text = (string)iData.GetData(DataFormats.Text);
}
}
private void CollectProductFromUrl(bool showLoading = true)
{
string url = sFromUrl.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault();
if (url == null)
{
BaseMsgForm.ShowError("无效网址!");
return;
}
if (url.Contains("-----"))
{
url = url.Substring(url.IndexOf("-----") + 5);
}
ProductCollectBase proInfo = new ProductCollectBase { from_url = url };
// 拼多多商品采集
if (proInfo.from_url.Contains(@"yangkeduo.com"))
{
TaobaoProductBase tp = new TaobaoProductBase();
tp.GoodsId = tp.FromId = GetIdFromURLByRegex(proInfo.from_url);
tp.FromType = "拼多多";
if (tp.GoodsId.Equals(0))
{
BaseMsgForm.ShowError("无效网址!");
return;
}
if (showLoading) this.pictureBox1.Visible = true;
delePingDuoDuoCollect del_pddc = PddProductCollect;
del_pddc.BeginInvoke(tp, ProductCollectCompleted, del_pddc);
}
// 其他平台商品采集
else
{
if (!AllBase.BaseClass.IsCloudBuyOrder)
{
// 非公司用户暂时关闭除拼多多以外所有商品上传
BaseMsgForm.ShowError("无效网址!");
return;
}
proInfo.from_id = GetIdFromURLByRegex(proInfo.from_url);
if (proInfo.from_id.Equals(0))
{
BaseMsgForm.ShowError("无效网址!");
return;
}
if (showLoading) this.pictureBox1.Visible = true;
deleTaoBaoCollect del_tbc = ProductCollect;
del_tbc.BeginInvoke(proInfo, ProductCollectCompleted, del_tbc);
}
}
private void ProductCollectCompleted(IAsyncResult ar)
{
if (ar == null) throw new ArgumentNullException("ar");
deleTaoBaoCollect delTaoBaoCollect = ar.AsyncState as deleTaoBaoCollect;
delePingDuoDuoCollect delPinDuoDuo = ar.AsyncState as delePingDuoDuoCollect;
if (delTaoBaoCollect != null || delPinDuoDuo != null)
{
ProductCollectBase res;
if (delPinDuoDuo != null)
{
res = delPinDuoDuo.EndInvoke(ar);
}
else
{
res = delTaoBaoCollect.EndInvoke(ar);
}
// 先判断是否存在page.html临时文件,存在就先删除。
if (System.IO.File.Exists(System.IO.Directory.GetCurrentDirectory() + @"\page.html"))
{
System.IO.File.Delete(System.IO.Directory.GetCurrentDirectory() + @"\page.html");
}
// 调用php后台
string createHtmlPath = Fission.creatFissionPage(res);
ShowFormInUiThread(createHtmlPath, res);
}
}
internal ProductCollectBase ProductCollect(ProductCollectBase pcb)
{
if (pcb.from_url.Contains("detail.1688.com"))
{
AlibabaProductGet proInfo = new AlibabaProductGet(pcb);
proInfo.Get();
pcb.cat_id = FromTitleToCatTaobao.Get(pcb.name);
if (proInfo.Product.Images.Count == 0)
{
return null;
}
proInfo.Product.from = "阿里巴巴";
return proInfo.Product;
}
if (pcb.from_url.Contains("jinritemai.com"))
{
CollectDoyin cd = new CollectDoyin(pcb);
cd.GetProduct();
if (!cd.GetSuccess)
{
BaseMsgForm.ShowInfo("采集失败,跳过:" + pcb.from_id + ":" + pcb.message);
return null;
}
if (cd.Product?.IsOnSale == false)
{
BaseMsgForm.ShowInfo("商品已下架:" + pcb.from_id);
return null;
}
cd.Product.from = "抖音";
cd.Product.from_url = pcb.from_url;
return cd.Product;
}
if (pcb.from_url.Contains("jd.com"))
{
bool isPassVerify = false;
retry:
ProductCollectBase proInfo = new ProductCollectBase
{
from_url = "https://item.m.jd.com/product/" + pcb.from_id + ".html",
from_id = Convert.ToInt64(pcb.from_id),
};
JingXiCollect tm = new JingXiCollect(proInfo);
tm.IsUseProxy = GlobalConfig.FissionSettingParam.IsUseProxyIp;
tm.Get();
if (!string.IsNullOrEmpty(JingXiCollect.VerifyCodeUrl))
{
if (!isPassVerify && JingXiCollect.VerifyCodeUrl.Contains("wqs.jd.com/item/spider_check.shtml")) // 京喜采集验证码校验 by ttzhao 2020.6.29
{
//Fission.JingXiVerify(JingXiCollect.VerifyCodeUrl);
//if (string.IsNullOrEmpty(JingXiCollect.VerifyCodeUrl))
//{
// isPassVerify = true;
// goto retry;
//}
}
BaseMsgForm.ShowInfo("获取失败,京东商品采集需要验证");
return null;
}
else if ((tm.Product != null && tm.Product.Images.Count == 0) || tm.IsOnSale == false)
{
Invoke(new Action(() =>
{
BaseMsgForm.ShowInfo("获取失败,商品不存在或不可展示");
}));
return null;
}
tm.Product.from = "京喜";
return tm.Product;
}
TaobaoMobileCollect goodsFormInfo = new TaobaoMobileCollect(pcb);
goodsFormInfo.IsPurifyData = true;
try
{
goodsFormInfo.Get();
}
catch (Exception ex)
{
LogSave.Add("淘宝商品采集出现异常:" + ex.Message + "-" + ex.StackTrace);
}
goodsFormInfo.Product.from = "淘宝";
return goodsFormInfo.Product;
}
internal ProductCollectBase PddProductCollect(TaobaoProductBase tp)
{
int retryTime = 0;
ProductCollectBase proInfo;
Retry:
PinduoduoProductCollect pdd = new PinduoduoProductCollect(Name, tp);
PinduoduoProductCollect.TempIds.Clear();
pdd.IsUseProxy = GlobalConfig.FissionSettingParam.IsUseProxyIp;
pdd.Get();
if (GlobalConfig.FissionSettingParam.IsUseProxyIp && pdd.IsOverdue)
{
BaseMsgForm.ShowInfo("代理ip套餐已过期", "提示");
}
bool isResourceEnable = true;
if (GlobalConfig.FissionSettingParam.IsUseResourcePack)
{
//Func<bool> canContinue = PinDuoDuoHelperTemp.CanContinueCollectFunc((token) => { return token.ProductDetailStatus == TokenStatus.Valid; }, null, GlobalConfig.FissionSettingParam.IsUseResourcePack, null);
//if (!canContinue())
//{
// isResourceEnable = false;
// BaseMsgForm.ShowInfo("资源包打码不可用!", "提示");
//}
}
if (pdd.IsNoToken)
{
if (GlobalConfig.FissionSettingParam.IsUseResourcePack && isResourceEnable == true && retryTime < 2)
{
retryTime++;
goto Retry;
}
else
BaseMsgForm.ShowInfo("请先登录拼多多或输入Token!", "提示");
}
proInfo = pdd.pb;
proInfo.from_url = proInfo.from_url.Contains(@"mobile.yangkeduo.com") ? "http://mobile.yangkeduo.com/goods.html?goods_id=" + tp.GoodsId : "http://yangkeduo.com/goods.html?goods_id=" + tp.GoodsId;
return proInfo;
}
internal long GetIdFromURLByRegex(string url)
{
try
{
if (url.Contains(@"yangkeduo.com"))
{
Regex pddurl = new Regex(@"[?&]goods_id=([^&#]+)");
string id = pddurl.Match(url).ToString();
//Regex idRegex = new Regex(@"[^0-9]+");
string Num = Regex.Replace(id, @"[^0-9]+", "");
return long.Parse(Num);
}
if (url.Contains(@"1688.com"))
{
string str = url.Substring(0, url.IndexOf(".html")).Replace(@"1688.com", "");
string num = Regex.Replace(str, @"[^0-9]+", "");
return long.Parse(num);
}
if (url.Contains("jd.com"))
{
//https://item.jd.com/69126349289.html
string str = url.Substring(url.IndexOf("jd.com/")).Replace(".html", "");
string num = Regex.Replace(str, @"[^0-9]+", "");
return long.Parse(num);
}
if (url.Contains("jinritemai.com"))
{
Regex pddurl = new Regex(@"[?&]id=([^&#]+)");
string id = pddurl.Match(url).ToString();
string Num = Regex.Replace(id, @"[^0-9]+", "");
return long.Parse(Num);
}
Regex urlRegex = new Regex(@"[?&]id=([^&#]+)");
string idStr = urlRegex.Match(url).ToString();
//Regex idRegex = new Regex(@"[^0-9]+");
string idNum = Regex.Replace(idStr, @"[^0-9]+", "");
return long.Parse(idNum);
}
catch (Exception ex)
{
return 0;
}
}
private void chkIsUseProxy_CheckedChanged(object sender, EventArgs e)
{
GlobalConfig.FissionSettingParam.IsUseProxyIp = chkIsUseProxy.Checked;
if (GlobalConfig.FissionSettingParam.IsUseProxyIp)
chkIsUseResourcePack.Checked = false;
if (chkIsUseProxy.Checked)
{
//if (string.IsNullOrEmpty(GlobalConfig.ConfigParam.ProxyUrl))
//{
// BaseMsgForm.ShowInfo("请检测代理ip设置是否正确或过期");
// chkIsUseProxy.Checked = false;
// return;
//}
//bool bo = PinDuoDuoHelperTemp.CheckProxyStatus(GlobalConfig.FissionSettingParam.IsUseProxyIp, null);
//if (!bo)
//{
// chkIsUseProxy.Checked = false;
//}
}
//StartUp.SaveFissionSettingParam();
}
private void txtProduct_TextChanged(object sender, EventArgs e)
{
if (txtProduct.Text.Length > 2000)
{
txtProduct.TextChanged -= txtProduct_TextChanged;
cleaningData = txtProduct.Text;
txtProduct.Text = cleaningData.Substring(0, 2000);
txtProduct.TextChanged += txtProduct_TextChanged;
}
else
{
cleaningData = txtProduct.Text;
}
if (this.cleaningData.Contains(@"yangkeduo.com"))
{
buttonLoginPdd.Visible = true;
}
else
{
buttonLoginPdd.Visible = false;
}
}
private void ShowFormInUiThread(string createHtmlPath, ProductCollectBase detailData)
{
Task.Run(() =>
{
//获取所有类目
//Invoke(new Action(() =>
//{
// label1.Visible = true;
//}));
//Fission.goodsCategoryList = Fission.GetShopGoodsCategories();
Invoke(new Action(() =>
{
Fission fs = new Fission(createHtmlPath, sFromUrl, null, detailData);
label1.Visible = false;
fs.FormLoadedEvent = formLoadEvent;
fs.Show();
}));
});
}
private void formLoadEvent()
{
ChangePicVisible();
}
private void ChangePicVisible()
{
if (this.pictureBox1.InvokeRequired)
{
deleChangePicVisible delChangePic = ChangePicVisible;
this.pictureBox1.Invoke(delChangePic);
}
else
{
this.pictureBox1.Visible = false;
}
}
}
}
@@ -1,218 +0,0 @@
<?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="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhIAAgAOfzAAABAAACAAEEAAIFAQQHAgUIBAcJBQgLBwoMCAsNCgwPCw4QDA8RDRASDxETEBIU
ERMUEhQVExUWFBYYFRcYFhgZFxkbGBocGRscGhwdGx0fHB4fHR8gHiAhHyEjICIkISMkIiQlIyUnJCYo
JScoJigpJykrKCosKSstKiwtKy0uLC4vLS8xLjAyLzEzMDIzMTM0MjQ2MzU3NDY4NTc5Njg5Nzk6ODo7
OTs9Ojw+Oz0/PD5APT9APkBBP0FCQEFDQUNFQkRGQ0VHREZIRUdJRkhJR0lKSEpLSUpMSkxOS01PTE5Q
TU9RTlBST1FTUFJUUVNUUlRVU1VWVFZXVVZYVVdZVllbWFpcWVtdWlxeW11fXF5gXV9hXmBiX2FjYGJk
YWNlYmRlY2VmZGZnZWdoZmhpZ2hqZ2lraGpsaWttamxua21vbG5wbW9xbnFzcHJ0cXN1cnR2c3V3dHZ4
dXd5dnh6d3l7eHp8eXt9enx+e31/fH6AfX+BfoCCf4GDgIKEgYOFgoSGg4WHhIaIhYeJhoiKh4mLiIqM
iYuNioyOi42PjI6QjY+RjpCSj5GTkJKUkZOVkpSWk5WXlJaYlZeZlpial5qbmJudmZyem52fnJ6gnZ+h
nqCin6GjoKKkoaOloqSmo6WnpKaopaeppqiqp6mrqKqsqautqqyuq62vrK6wrbCyrrGzr7K0sbO1srS2
s7W3tLa4tbe5tri6t7m7uLq8ubu9ury+u72/vL7BvcDCvsHDv8LEwcPFwsTGw8XHxMbIxcfJxsjKx8nL
yMrMycvOys3Py87QzM/RztDSz9HT0NLU0dPV0tTW09XX1NbY1dja1tnb19rc2dvd2tze293f3N7g3d/h
3uDi3+Hk4OPl4eTm4+Xn5Obo5efp5ujq5+nr6Ors6evu6u3v6+7w7e/x7vDy7/Hz8PL08fP18vT38/b4
9Pf59vj69/n7+Pr8+fv9+vz/+/7//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
ACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsKDBgwgNwlvIsCHDhAgd
SmwI0eA7dxLRfWM3saK8d+CQ5UoG7p08eOxk+UEGTyBFiO+eATpy44igZu7koVPE49VDhxG70ckAoOgG
Ot3cuVvWqttPb9POmTzI7pWNolhhwGoH7107jAy/6ZliKt3CgvDOWQqB1agls2dPLkT2IkGZcHEHwkv3
qQTWAABCjOJIsWu3sWULL3SHDMmBAIABHAmWU27Lhe+6PTtn+bLccKB6TFhQwUenchM7AoXnjtyzUoDg
FKKFN+7ZjnLlputFCM4gWdbCceycO/finAzZwSpCIUHpX+9s37b9kZklS9VMwrNWpi0AN5xT/kvsVgcD
B0N43yHzEbloD6fSOzOkNqVoGafvkh3xfgT+z5bGwUPOIzf4AApq8IQjCAZYVbAIOy5NB+BlC4UTTDB4
neQOM2W8wAEMb1Aj3mriuVONLKK8woxwE1I4okudvXPOL5Yo4kpSFEYol1dgKcYaL1CAgIENjnzjIozw
tAOMJbkgeNKTJ3nzBgRY8XBLdBO1E8sNFbzwlkQnSQOFAViFEEpO76BDDlwJwpFAUWFE41lD3ZSRQGQ1
zPIOO8Iggsco8JXzBwQEJDCGfy66sxwFEajQxzUbTgFBAilYghdjU9wwBSvDAaiXObD4QYcl07jDFwhY
TfHMQu08U4syOug8hBZK3nQj1V6ddFBUAqoydFF0UCqE2VnqSUqpJeRIGKywErGTSx9tYOeirB51xk44
3tyal6cDBQQAIfkEAQgA/wAsAAAAACAAIAAACP4A5QkcSHBgO2/Ron1zV7ChQ4fmeOGBAiWPL3MPMxaE
xy7XFAoAAFCYwoudxozw5MHrlgcDgAAhMeDpdrLgu3DMkHVj12xKAZghAUxpVnOgu2WBoByJYyvYlJch
AyQYWlSltTcuAUiAYupO1pAVZsp7160bw4fsWsEICgDDIFdQIAQIsCAKLpPe8uCx9hBeOk4h2AKA003Y
niNH+iBDp7JbmDDMMrJTtTZqhkTm4KED9w2du5QcnTljl7IhPHjU2IAEAOEIr3enYwuMLfvhO3S/6hwp
UgYWudKmVQLfWE4ZrmDNkOlMV/UhuVNTekCxtBN2c3jvCLa7ZSRBSBijzv5WRcfLErJ1As81+poAzrnm
8qRNCVGGprxzjNi7r4r9WRgQb/AlTzu2FOHdATCQIt5Jp6Gji3mkqRSOKVpIR911sbVjnXDF4YJMOMNh
OFBs77DjDjvlnLMgfBvBE04siDyCDHMnnfMNjQ5xhIoPGXQQBjErEgQPOJbAEQo5tnVTBgQhdfAIRg+5
o0oKCdxQS4gqvVNNGEFhcAiSY62zTnYquRPKBgCswAqZG5HDSAkFQOADLCa1k0wnnSRjkkrStFFEHtZg
GVs3i4RBBirhqPTMGBtkIAY0JHaDjDdYzgaPO+RQs9Np7riiQkgqtMIQbaehdNo72Z16Sw0h2XDLqB2V
5ijciN0ocoQRinQTK4bveCOMMJSyaCqqpdYUEAAh+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsOA7d/AK
KlzIUJ67bsJ0OTPXsKLCdsvy+LgxBZS3hBYXgoRHrU4GAAAS8Ch1zuE5cujeWTxnLdm1dOxm8SiAEoCE
OdfIBbPESBSzdQ3JnSoTpYyrbqVW9AyQIAyyUVJKcHhRxpc6hfBy+kiQIMIRWLaKAAgQAEAFO5+MJOhZ
oQw0kAPhhQskoecGRc4AdVh7oIgpQhtQtgXQQ1a7gvC+3YGwmMKgcN0sTTkyZ1c3PREWo3xRip3CdKNW
GAhQoMapdvDaYS737tyjwYsP8KBlmiA8eN3+9EhRRJG138h/v9sFZYFfOtPw5k3XzVapW90QCsQLj1yq
KSlC/sBwEyyddHnv0JVrdxA2w9/plJni1IqaO4XlkHXipIwd8orwvJMOOv6dx04tUYQAwhS8yGRRcvC4
c85XA4UDCAUoUcAHOiER9M4zkJgSznbdvDFXSmWk0+F27+QCBVDboWPJCgggAIMlva0IjzeyBINOQr91
s8gUU1hizYrbKfcbQe2A8wwz3rxzXkj/JQnhlEjmZSU85YTzWJYVuYMMInrMQhGA3yCTzX0NTRMGBRD4
EEuOC52jyA1tVPPeO7zAgBIHj5wpEjhlQFCEMFj+1kwUECRQgykqCnRONd18KQ87qJDxyEciwXOOKWIU
eZw83YESBh7I3PcbOt2Qg2VeNuhU40w4S8KzjFodKFIOqRACmFxeyhyRQAeL7LodklUKFI4nYdyRKpjv
dUdNN5FC22mArxYUEAAh+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsKC7de0KKlzIUGA4ZKxsVUvYsCJB
eOY+RXnBQw8yihYrugt2JAEAACQIdRP47l1IefDSjUP3Dh46UiQCnEwQhhm7bsJ6OTsHr+E7a6QGeXLG
Lp2pEicD8FSG7M8RH2FKgSuqEF43QC8opLgjzd2zLRAAJIBh6VecDjuLrEK3EJ4wHycB3ID1Lp2tMj6O
WHrW6kZeABTurCwI752vGwROvlBV0503adTMsSuV4jDPZwvfdSuzIQEHMciKwlu9+l0tHwkCyObgpxvX
gavb/fozJY+tc7gFrrbGJ4UBABCgxEpXF167bsy6pbt9kd0yRVOOlOHk7Fs6l4xZ/q9m2Jqcs12oFukh
lMqaO5bjpl2jO77iane9yqSosIEHopXwWLNIFFOQEs5Lq3kDRwWHweCJPOysYgNyR6T2kjzIGAaATsiV
YZMlIZwEwyzUNQQPMp1xqNYVzuUCxQUdlNFMiQ01U8QBsskmAR6rgeOKIIsEw1xIq5mjiHE6QXDELTDF
9E047dBYF0zPFOJDCi+EgcqB4klpIjzudKOLKasgQw519V0oXGPuuFMTjaIpow1IJrITJWsMTaNHD2Ug
815FziACy5B1uYPKCihZAhx578DiAyAHkucOLUVEwEMqhLIDTjngDVcKMOx8+Q0pcHDSjUvwsONLIJYs
xho7NX9+mY435rijWjiAdFDELrHiaZ94uJljyQ1hIAMeTGoiS9A71cTySzleJttkqrZKa5GvIQUEACH5
BAEIAP8ALAAAAAAgACAAAAj+AOUJHEiwILx38AoqXMhQYLlmwZyZa0hRIbxzrcIUKdOKXMWP8twpmwIB
AIQwwtoJhOfu3cd36c65kwevHS0YAHLycMVOHjppwpqVS8iwHbNPloKdC+nLSAIACY7sYhfuVZkjYUJ1
I2pwmpwUIMLwagfPWyMeJHxY6pbuVpQIJn2oWqrwHa4bOVNYMnewmyxLtry9I+cIRE4AGfp0s+guWBEE
AGCIOgevMkuE8MIl6gAgAIAKda4thPfNEpQigqTNtGxZXrpWPhIQSFCjEzmuA1l2A5bLmsrR8LpZOgKj
SCHVDCu7I4vbILtuvlS1QmaN3EyLrSladtftVSE9lpD+pSP4rt11kJXTlYLCgUKJMsiunwtmSdVWkDSn
TXmak8OgbyExUwYJNXhC10fw8KLCYVBNIQ1LvfjwGSDgoAcPMDB4llMCYURD0zN33HDEKujgB881YUhw
GAmI3AYPO9LQ8ks4zTUETzqvaLFCCDXcocx1LLHjTmUguROOM7yUAokjpDjDDlHZgZQOMoqEAUUZlixT
zm+jIdTQO83IUUJOEPjAyTc1CtSONL5gcx5B8KBjyQsFHHYSMj0tJM0cPSCy2ELh8KEigzWokiec8CAj
BQZlPGgROHqoqCEAN6xyaG7BeeKGK0MNtM6WPlmyQmeeRTBFStjBYw5bubHzS3hGCDVTRwoMJEBBEZ1U
CBxrK51j2ikzsZMMI2FMUcYo3XiZHE2tvsqMZe14w0wy1ZCjLH40sXMOczQdhFma2kXZLZHYlrtQQAAh
+QQBCAD/ACwAAAAAIAAgAAAI/gDlCRxIsKDBgwgTCmx3Tt07hRALwiPnq9MqauwianSna0oKHoquwdOo
EN45SBwAJIgSzN1Ady4jumP3UOA5SyBUTkHmsl01X8C6xTz4LtwuVM7WyYPHTtiaGkcsdZPXDlmbHkX8
OBtakB0sKTXwPHsID90yVr28uYP3DVFOADA4kTsIr5wgDAB80Gq3FB68d379UiuTAACADHy6jZSYrlSR
FGV4Dgw8El43QRsAHFghdTFBv91SWdJlDqHfdL3IwLghB1lGuu3QkWPn2aBfc8hQuWJmrvZkyr5t+23n
juG51yRNn26GSpSvcJ7dlfOWLvlSdrzErEgRNZxAd904/vmpVTr5NTt4VULptTTdLSgg6FhLDg8ZlMKG
U4wS+A5ZmSKQeBOcac6EkUAAABBQQyt9pZOMLtbUpBE84HDCQwQQlECHNAL59c5aAyLkzjnPWCJGGIUI
U12HfiXHjjW0gELKLsgg0w1y1n3nDCE+pGCDG7ucA1iI7kho2zeWwGAYACHgIU2LtnXTCjIrwjOOMkBd
o44yYUCwJABF4MLVZOzgcsQg28jjDjWNHLGCDWXAUst9X/pQC18HtdPMIauQA54lLyyJwRSfuJHBkhCE
gYyRv7XzTW/s9ELnkiAQQkoWHUSAQRGegJMQcOy4csOSCEIgBzO4GFIGHqt0A1hEQUzVUkQBACAIgAR9
dINON9N0U86rsL7TTBsV1AqAATWQco6HQ5J0Wy1TcJAABDUA8mRgOfZ1ji+DiNGGJ9LQplBAACH5BAEI
AP8ALAAAAAAgACAAAAj+AOUJHEiwoMGDCBMqXMiQXbdp4NwxnCjvnbJBZSx1g0dRIbx0lmBQgNJLYseE
IEsk8JHLJLxy1KqZ45jwpbZzHOG9Q3ZnyqON8uB5szSmzClwNA+GQ8XHFTmB8NBVU9aNHcd2uo5AqDAl
GLuD8OAhm9KhTLOcYcNCPRcqBAAAN1qhAwvv2p8iiK4lVTuw3a4jFTaEEdYOITx2zGQ5+2oYXjhTb+o4
9eiOnbukdM1Rs3buHWaCaT/TDc33pEdz16qFMznwHeuO8LpxEhPG0TPW55j16mb63CkeEAC8gBQuKDxr
hcLYKkxR6KAKbxOEiWb82yhDyF4zDNfILYAKbXj+h31Hrlu6k/Da/QqTogQUUuUGhm63rt27ifDM8Wqk
qFW3+wSxQw0toaSCjDgLvcMOO+mA4405AA7EzjJ/+LACDGGkUhxY4AjzCi/dtJMWaN0cokICb1EwRS6M
geYNKFPccIQi0jBHUDu5QPHWjiEkEuI42XSDzkeyFBFcAjBY8k1BH7FygwFvBQAABXIwk8sfU2TkTDeQ
eAeABG1I81k7txyxYwABZKDHKlNskEACKwACjCUpACAlBnNMg5lOz9SxAQFSrmTJICDsCEAPpcgyRQUJ
QMADKBuClg4uYayAQQhGPILLGxEYWoIl1qwyBhRTWEKNZ0zCQ04wlviRyCpGMfmRgaEwlIIOOcjsgkyI
ohnXTjndgIPOO+e04gOKAGQwBjKevdOOVb0aR1pY31giBQw3lHELTqE1J5+qwaQiizTpRDtQQAAh+QQB
CAD/ACwAAAAAIAAgAAAI/gDlCRxIsKDBgwgTKlzIUF47de4aSpRnDhktae0mLoTnrA4USN40KnwXDEoI
OtbgCYR3Lty5dwzdQVwJr5slO63KrexWShCpbioTspNGy1pGefDYfatGDp5KdriOcDjyKl1CeOEsRSml
E6nTr0jRnVoB4MWnc1fP1SoELF1QrwPhuUtWpsgbZBEROi3Xzdxbg07TWUSG9qC7denYuXP396BTduza
OS34rhyzWap0VWPH8CvYguZuxSnCA0qhZ3kluitHbt3TYGIyAACQoIQioA3hoUNmSdEsb/C+WUoxu3iR
YKlHOotTooMUWemu0akwO8DsFbKOKoTXDpeP2SQa/oXrFohD9dk1bHFm2A7ZFAkJanQydw5VEQTWAUAo
g7qzu2+ghAHFIMu04840h9yAAQQgHLFKOY3p9U43wOwyjVtJTTPKH3IAYsksyXSz3lXvvCNXOyau9M45
3SgjCh1RhLEIMusktE430oj4mVfvpONLGB0kAMEKe0gDk0HpAFNIGYMEYxVg4CzSQXEA8LAKOisN5A4z
cQTZQRnKaEdTN3VIkB8AJVjizTfNIBPNOUnR8t1sPbiCZUE1EbJBANYRAAMozXxCBhR01EJOOrcYkQBt
PszyZFzwpCPLERIUAMCXtoTiAwQAbBCGL+dI8wcMG8CQR3941kRKGEUcAUcsVMjMQd11loSTjjKW5GEJ
Mm4BJpc3yMhSyzLgNNNGBMWlAEk4kXpDjY5XJQUZYzapYGkCRbQCp2cREsRtYMnkwcMKR1hSDUw7TvSY
NKl8Qks3jC0UEAA7
</value>
</data>
</root>
@@ -1,602 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class CommissionForm
{
/// <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();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.btnStart = new DevComponents.DotNetBar.PanelEx();
this.btnEditSampleRule = new DevComponents.DotNetBar.PanelEx();
this.btnStop = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.rbFreeSample = new System.Windows.Forms.RadioButton();
this.rbNoSample = new System.Windows.Forms.RadioButton();
this.label10 = new System.Windows.Forms.Label();
this.txtRatio = new System.Windows.Forms.TextBox();
this.txtTotalPage = new System.Windows.Forms.TextBox();
this.label26 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnRefresh = new TemuKJD.UserControls.ButtonEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.rbNew = new System.Windows.Forms.RadioButton();
this.rbAll = new System.Windows.Forms.RadioButton();
this.btnPause = new TemuKJD.UserControls.ButtonEx();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.pnlShowError = new DevComponents.DotNetBar.PanelEx();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.panelEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.btnStart);
this.splitContainer1.Panel1.Controls.Add(this.btnEditSampleRule);
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(1070, 606);
this.splitContainer1.SplitterDistance = 80;
this.splitContainer1.TabIndex = 3;
//
// btnStart
//
this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStart.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStart.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStart.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStart.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStart.Location = new System.Drawing.Point(830, 12);
this.btnStart.Name = "btnStart";
this.btnStart.Size = new System.Drawing.Size(72, 23);
this.btnStart.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnStart.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStart.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStart.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnStart.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnStart.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnStart.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnStart.Style.GradientAngle = 90;
this.btnStart.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnStart.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnStart.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnStart.TabIndex = 413;
this.btnStart.Text = "新增佣金";
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
//
// btnEditSampleRule
//
this.btnEditSampleRule.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnEditSampleRule.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnEditSampleRule.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnEditSampleRule.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEditSampleRule.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnEditSampleRule.Location = new System.Drawing.Point(908, 12);
this.btnEditSampleRule.Name = "btnEditSampleRule";
this.btnEditSampleRule.Size = new System.Drawing.Size(72, 23);
this.btnEditSampleRule.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEditSampleRule.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEditSampleRule.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnEditSampleRule.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnEditSampleRule.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnEditSampleRule.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnEditSampleRule.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnEditSampleRule.Style.GradientAngle = 90;
this.btnEditSampleRule.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnEditSampleRule.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnEditSampleRule.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnEditSampleRule.TabIndex = 409;
this.btnEditSampleRule.Text = "修改申样";
this.btnEditSampleRule.Click += new System.EventHandler(this.btnEditSampleRule_Click);
//
// btnStop
//
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStop.Location = new System.Drawing.Point(986, 12);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(72, 23);
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnStop.Style.GradientAngle = 90;
this.btnStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnStop.TabIndex = 405;
this.btnStop.Text = "停止操作";
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// ucGroupBoxEx2
//
this.ucGroupBoxEx2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx2.Controls.Add(this.rbFreeSample);
this.ucGroupBoxEx2.Controls.Add(this.rbNoSample);
this.ucGroupBoxEx2.Controls.Add(this.label10);
this.ucGroupBoxEx2.Controls.Add(this.txtRatio);
this.ucGroupBoxEx2.Controls.Add(this.txtTotalPage);
this.ucGroupBoxEx2.Controls.Add(this.label26);
this.ucGroupBoxEx2.Controls.Add(this.label1);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(147, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(272, 79);
this.ucGroupBoxEx2.TabIndex = 400;
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "参数设置";
//
// rbFreeSample
//
this.rbFreeSample.AutoSize = true;
this.rbFreeSample.Location = new System.Drawing.Point(15, 52);
this.rbFreeSample.Name = "rbFreeSample";
this.rbFreeSample.Size = new System.Drawing.Size(71, 16);
this.rbFreeSample.TabIndex = 432;
this.rbFreeSample.Text = "免费申样";
this.rbFreeSample.UseVisualStyleBackColor = true;
//
// rbNoSample
//
this.rbNoSample.AutoSize = true;
this.rbNoSample.Checked = true;
this.rbNoSample.Location = new System.Drawing.Point(92, 52);
this.rbNoSample.Name = "rbNoSample";
this.rbNoSample.Size = new System.Drawing.Size(83, 16);
this.rbNoSample.TabIndex = 431;
this.rbNoSample.TabStop = true;
this.rbNoSample.Text = "不支持申样";
this.rbNoSample.UseVisualStyleBackColor = true;
//
// label10
//
this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label10.ForeColor = System.Drawing.Color.Black;
this.label10.Location = new System.Drawing.Point(223, 24);
this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(19, 17);
this.label10.TabIndex = 429;
this.label10.Text = "%";
//
// txtRatio
//
this.txtRatio.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtRatio.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtRatio.Location = new System.Drawing.Point(195, 21);
this.txtRatio.Margin = new System.Windows.Forms.Padding(2);
this.txtRatio.Name = "txtRatio";
this.txtRatio.Size = new System.Drawing.Size(28, 23);
this.txtRatio.TabIndex = 428;
this.txtRatio.Text = "10";
//
// txtTotalPage
//
this.txtTotalPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtTotalPage.Location = new System.Drawing.Point(78, 21);
this.txtTotalPage.Margin = new System.Windows.Forms.Padding(2);
this.txtTotalPage.Name = "txtTotalPage";
this.txtTotalPage.Size = new System.Drawing.Size(35, 23);
this.txtTotalPage.TabIndex = 381;
this.txtTotalPage.Text = "99";
//
// label26
//
this.label26.AutoSize = true;
this.label26.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label26.Location = new System.Drawing.Point(12, 24);
this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(68, 17);
this.label26.TabIndex = 380;
this.label26.Text = "设置页数:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(132, 24);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(68, 17);
this.label1.TabIndex = 430;
this.label1.Text = "佣金比例:";
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnRefresh);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 79);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// btnRefresh
//
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefresh.ForeColor = System.Drawing.Color.White;
this.btnRefresh.Location = new System.Drawing.Point(15, 31);
this.btnRefresh.Margin = new System.Windows.Forms.Padding(2);
this.btnRefresh.Name = "btnRefresh";
this.btnRefresh.Size = new System.Drawing.Size(112, 26);
this.btnRefresh.TabIndex = 398;
this.btnRefresh.Text = "刷新店铺";
this.btnRefresh.UseVisualStyleBackColor = false;
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1070, 522);
this.splitContainer3.SplitterDistance = 492;
this.splitContainer3.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.rbNew);
this.splitContainer2.Panel1.Controls.Add(this.rbAll);
this.splitContainer2.Panel1.Controls.Add(this.btnPause);
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1070, 492);
this.splitContainer2.SplitterDistance = 336;
this.splitContainer2.TabIndex = 0;
//
// rbNew
//
this.rbNew.AutoSize = true;
this.rbNew.Checked = true;
this.rbNew.Location = new System.Drawing.Point(26, 46);
this.rbNew.Name = "rbNew";
this.rbNew.Size = new System.Drawing.Size(107, 16);
this.rbNew.TabIndex = 396;
this.rbNew.TabStop = true;
this.rbNew.Text = "设置无佣金商品";
this.rbNew.UseVisualStyleBackColor = true;
this.rbNew.Visible = false;
//
// rbAll
//
this.rbAll.AutoSize = true;
this.rbAll.Location = new System.Drawing.Point(26, 68);
this.rbAll.Name = "rbAll";
this.rbAll.Size = new System.Drawing.Size(95, 16);
this.rbAll.TabIndex = 397;
this.rbAll.Text = "设置所有商品";
this.rbAll.UseVisualStyleBackColor = true;
this.rbAll.Visible = false;
//
// btnPause
//
this.btnPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnPause.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnPause.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnPause.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnPause.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnPause.ForeColor = System.Drawing.Color.White;
this.btnPause.Location = new System.Drawing.Point(25, 92);
this.btnPause.Margin = new System.Windows.Forms.Padding(2);
this.btnPause.Name = "btnPause";
this.btnPause.Size = new System.Drawing.Size(72, 25);
this.btnPause.TabIndex = 388;
this.btnPause.Text = "暂停";
this.btnPause.UseVisualStyleBackColor = false;
this.btnPause.Visible = false;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colShopId,
this.colShopName,
this.colLoginStatus,
this.colMessage});
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 0);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
this.dgvShop.RowHeadersWidth = 30;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(332, 492);
this.dgvShop.TabIndex = 6;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// colSelect
//
this.colSelect.HeaderText = "全选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 28;
//
// colShopId
//
this.colShopId.HeaderText = "店铺";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Width = 55;
//
// colShopName
//
this.colShopName.FillWeight = 150F;
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colShopName.Width = 75;
//
// colLoginStatus
//
this.colLoginStatus.HeaderText = "登录状态";
this.colLoginStatus.Name = "colLoginStatus";
this.colLoginStatus.ReadOnly = true;
this.colLoginStatus.Width = 60;
//
// colMessage
//
this.colMessage.HeaderText = "消息";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 120;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.Controls.Add(this.pnlShowError);
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelEx1.Location = new System.Drawing.Point(0, 0);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Padding = new System.Windows.Forms.Padding(1);
this.panelEx1.Size = new System.Drawing.Size(726, 492);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.White;
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.White;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 183;
//
// pnlShowError
//
this.pnlShowError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlShowError.CanvasColor = System.Drawing.Color.Empty;
this.pnlShowError.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlShowError.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlShowError.Location = new System.Drawing.Point(182, 192);
this.pnlShowError.Name = "pnlShowError";
this.pnlShowError.Size = new System.Drawing.Size(361, 100);
this.pnlShowError.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlShowError.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
this.pnlShowError.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
this.pnlShowError.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.pnlShowError.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.pnlShowError.Style.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlShowError.Style.ForeColor.Color = System.Drawing.Color.Red;
this.pnlShowError.Style.GradientAngle = 90;
this.pnlShowError.TabIndex = 187;
this.pnlShowError.Text = "panelEx3";
this.pnlShowError.Visible = false;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
this.splitContainer4.Size = new System.Drawing.Size(1070, 26);
this.splitContainer4.SplitterDistance = 663;
this.splitContainer4.TabIndex = 3;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(663, 26);
this.statusBar.TabIndex = 2;
//
// CommissionForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1070, 606);
this.Controls.Add(this.splitContainer1);
this.Name = "CommissionForm";
this.Text = "CommissionForm";
this.Load += new System.EventHandler(this.CommissionForm_Load);
this.VisibleChanged += new System.EventHandler(this.CommissionForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
this.ucGroupBoxEx1.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel1.PerformLayout();
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.panelEx1.ResumeLayout(false);
this.splitContainer4.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserControls.ButtonEx btnPause;
private System.Windows.Forms.TextBox txtTotalPage;
private System.Windows.Forms.Label label26;
private System.Windows.Forms.SplitContainer splitContainer3;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvShop;
private System.Windows.Forms.SplitContainer splitContainer4;
private UserControls.StatusBarUserControl statusBar;
private System.Windows.Forms.RadioButton rbAll;
private System.Windows.Forms.RadioButton rbNew;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private UserControls.ButtonEx btnRefresh;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox txtRatio;
private System.Windows.Forms.Label label1;
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.PanelEx pnlShowError;
private System.Windows.Forms.RadioButton rbFreeSample;
private System.Windows.Forms.RadioButton rbNoSample;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private DevComponents.DotNetBar.PanelEx btnStop;
private DevComponents.DotNetBar.PanelEx btnStart;
private DevComponents.DotNetBar.PanelEx btnEditSampleRule;
}
}
File diff suppressed because it is too large. Load diff
@@ -1,132 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
-147
View File
@@ -1,147 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class FilterForm
{
/// <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(FilterForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.labelX1 = new DevComponents.DotNetBar.LabelX();
this.btnSave = new TemuKJD.UserControls.ButtonEx();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.panel2 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.BackColor = System.Drawing.Color.White;
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
this.splitContainer1.Panel1.Controls.Add(this.labelX1);
this.splitContainer1.Panel1.Controls.Add(this.btnSave);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.richTextBox1);
this.splitContainer1.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer1_Panel2_Paint);
this.splitContainer1.Size = new System.Drawing.Size(630, 463);
this.splitContainer1.SplitterDistance = 153;
this.splitContainer1.TabIndex = 0;
//
// labelX1
//
//
//
//
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labelX1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.labelX1.ForeColor = System.Drawing.SystemColors.ControlDark;
this.labelX1.Location = new System.Drawing.Point(12, 84);
this.labelX1.Name = "labelX1";
this.labelX1.Size = new System.Drawing.Size(125, 119);
this.labelX1.TabIndex = 401;
this.labelX1.Text = "维护范例:(一行一词)\r\n\r\n耐克\r\n阿迪达斯\r\n李宁\r\n……";
//
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSave.ForeColor = System.Drawing.Color.White;
this.btnSave.Location = new System.Drawing.Point(35, 54);
this.btnSave.Margin = new System.Windows.Forms.Padding(2);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 25);
this.btnSave.TabIndex = 400;
this.btnSave.Text = "保存";
this.btnSave.UseVisualStyleBackColor = false;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// richTextBox1
//
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(473, 463);
this.richTextBox1.TabIndex = 1;
this.richTextBox1.Text = "";
//
// panel2
//
this.panel2.Controls.Add(this.splitContainer1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(1, 33);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(630, 463);
this.panel2.TabIndex = 1;
//
// FilterForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ClientSize = new System.Drawing.Size(632, 497);
this.Controls.Add(this.panel2);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FilterForm";
this.Text = "违规词管理";
this.TitleText = "违规词管理";
this.Load += new System.EventHandler(this.FilterForm_Load);
this.Controls.SetChildIndex(this.panel2, 0);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private DevComponents.DotNetBar.LabelX labelX1;
private UserControls.ButtonEx btnSave;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Panel panel2;
}
}
@@ -1,140 +0,0 @@
using AllBase;
using TemuKJD.KJDForms.BaseForms;
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.BLL.Upload;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class FilterForm : LRBaseForm
{
string _type = "标题违规词";
public FilterForm(string type = "标题违规词")
{
InitializeComponent();
_type = type;
this.Text = TitleText = type.Replace("属性违规词", "sku违规词") + "管理";
}
private void btnSave_Click(object sender, EventArgs e)
{
if (_type == "标题违规词")
FileBase.WriteAllText("config/标题过滤词x.ini", richTextBox1.Text, Encoding.Default);
if (_type == "标题去除词")
FileBase.WriteAllText("config/标题去除词x.ini", richTextBox1.Text, Encoding.Default);
else if (_type == "属性违规词")
FileBase.WriteAllText("config/属性过滤词x.ini", richTextBox1.Text, Encoding.Default);
else if (_type == "品牌违规词")
FileBase.WriteAllText("config/品牌属性过滤词x.ini", richTextBox1.Text, Encoding.Default);
LoadFilterWord();
BaseMsgForm.ShowInfo("保存成功!", "提示", FormLevel.SMALL);
this.Close();
}
private void FilterForm_Load(object sender, EventArgs e)
{
if (_type == "标题违规词")
richTextBox1.Text = FileBase.ReadAllText("config/标题过滤词x.ini", Encoding.Default);
if (_type == "标题去除词")
richTextBox1.Text = FileBase.ReadAllText("config/标题去除词x.ini", Encoding.Default);
else if (_type == "属性违规词")
{
richTextBox1.Text = FileBase.ReadAllText("config/属性过滤词x.ini", Encoding.Default);
if (Work.Initialization.IsBase64(richTextBox1.Text))
{
richTextBox1.Text = Work.Initialization.Base64Decrypt(richTextBox1.Text);
}
}
else if (_type == "品牌违规词")
richTextBox1.Text = FileBase.ReadAllText("config/品牌属性过滤词x.ini", Encoding.Default);
if (Initialization.IsBase64(richTextBox1.Text))
{
richTextBox1.Text = Initialization.Base64Decrypt(richTextBox1.Text);
}
}
public static void LoadFilterWord()
{
UploadProductBLL.FilterTitleWordList.Clear();
string[] l = FileBase.ReadAllLines("config/标题过滤词x.ini", Encoding.Default);
if (l != null)
{
for (int i = 0; i < l.Length; i++)
{
if (string.IsNullOrEmpty(l[i]))
continue;
string s = l[i].Trim();
if (string.IsNullOrEmpty(s))
continue;
UploadProductBLL.FilterTitleWordList.Add(s);
}
}
UploadProductBLL.FilterRemoveTitleWordList.Clear();
string[] lr = FileBase.ReadAllLines("config/标题去除词x.ini", Encoding.Default);
if (lr != null)
{
for (int i = 0; i < lr.Length; i++)
{
if (string.IsNullOrEmpty(lr[i]))
continue;
string s = lr[i].Trim();
if (string.IsNullOrEmpty(s))
continue;
UploadProductBLL.FilterRemoveTitleWordList.Add(s);
}
}
UploadProductBLL.FilterSkuWordList.Clear();
string[] t = FileBase.ReadAllLines("config/属性过滤词x.ini", Encoding.Default);
if (t != null)
{
for (int i = 0; i < t.Length; i++)
{
if (Work.Initialization.IsBase64(t[i]))
{
t[i] = Work.Initialization.Base64Decrypt(t[i]);
}
if (string.IsNullOrEmpty(t[i]))
continue;
string s = t[i].Trim();
if (string.IsNullOrEmpty(s))
continue;
UploadProductBLL.FilterSkuWordList.Add(s);
}
}
UploadProductBLL.FilterBrandWordList.Clear();
string[] b = FileBase.ReadAllLines("config/品牌属性过滤词x.ini", Encoding.Default);
if (b != null)
{
for (int i = 0; i < b.Length; i++)
{
if (string.IsNullOrEmpty(b[i]))
continue;
string s = b[i].Trim();
if (string.IsNullOrEmpty(s))
continue;
UploadProductBLL.FilterBrandWordList.Add(s);
}
}
}
private void splitContainer1_Panel2_Paint(object sender, PaintEventArgs e)
{
}
}
}
@@ -1,298 +0,0 @@
<?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>
AAABAAEAgIAQXAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzM
zMzMzMzMzMx3d4iIiIiIiIh3fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
zMzMzMzMzMzHeIiIiIj/////////iIiIiId8zMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
zMzMzMzMzMzMzMeIiI/////////////////////4iIh8zMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAATMzM
zMzMzMzMzMzMzMzMzHiI////////////////////////////iIfMzMzMzMzMzMzMzMzMzMzMxAAAAAAA
AGzMzMzMzMzMzMzMzMzMx3iP///////////////////////////////4iHzMzMzMzMzMzMzMzMzMzMYA
AAAAAAbMzMzMzMzMzMzMzMzMx3iP//////////////////////////////////+IfMzMzMzMzMzMzMzM
zMzMYAAAAABMzMzMzMzMzMzMzMzMx3iP/////////////////////////////////////4h8zMzMzMzM
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzMzMzHiP////////////////////////////////////////h3zM
zMzMzMzMzMzMzMzGAAAABMzMzMzMzMzMzMzMzHiP////////////////////////////////////////
//iHzMzMzMzMzMzMzMzMzEAAAAbMzMzMzMzMzMzMzMeI////////////////////////////////////
////////+IfMzMzMzMzMzMzMzMxgAABMzMzMzMzMzMzMzMx4////////////////////////////////
//////////////+IfMzMzMzMzMzMzMzMxAAAbMzMzMzMzMzMzMzHj///////////////////////////
/////////////////////4fMzMzMzMzMzMzMzMYAAMzMzMzMzMzMzMzMeP//////////////////////
///////////////////////////4fMzMzMzMzMzMzMzMAAbMzMzMzMzMzMzMx4//////////////////
/////////////////////////////////4fMzMzMzMzMzMzMzGAGzMzMzMzMzMzMzHj/////////////
///////////////////////////////////////4fMzMzMzMzMzMzMxgDMzMzMzMzMzMzMyI////////
/////////////////////////////////////////////4zMzMzMzMzMzMzMwEzMzMzMzMzMzMzHj///
//////////////////////////////////////////////////+HzMzMzMzMzMzMzMRszMzMzMzMzMzM
eP//////////////////////////////////////////////////////+HzMzMzMzMzMzMzGbMzMzMzM
zMzMzHj///////////////////////////////////////////////////////+MzMzMzMzMzMzMxmzM
zMzMzMzMzMyP////+IiP////////////////////////////////////////+I//////h8zMzMzMzMzM
zMZszMzMzMzMzMzHj////4iIiI//////////////////////////////////////+IiIj/////jMzMzM
zMzMzMzGbMzMzMzMzMzMyP////iIiIiI/////////////////////////////////////4iIiIj////4
fMzMzMzMzMzMxszMzMzMzMzMzHj////4iIiIiP////////////////////////////////////+IiIiI
j////4zMzMzMzMzMzMbMzMzMzMzMzMx4////iIiIiIj////////////////////////////////////4
iIiIiI////+HzMzMzMzMzMzMzMzMzMzMzMzMj////4iIiIiI//////////////+IiP//iI//////////
////+IiIiIiP////h8zMzMzMzMzMzMzMzMzMzMzMzI/////4iIiIiP/////////////4d3eIiIeIj///
//////////+IiIiIj/////jMzMzMzMzMzMzMzMzMzMzMzMyP////+IiIiIj/////////////iIiId3eI
iI//////////////iIiIiI/////4zMzMzMzMzMzMzMzMzMzMzMzHj/////+IiIiP/////////////4//
/4d4j/+P//////////////iIiIj/////+MzMzMzMzMzMzMzMzMzMzMzMx4//////+IiP////////////
///////4j///////////////////iIiP//////jMzMzMzMzMzMzMzMzMzMzMzMeP//////////+IiIj/
///////////////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzH//////////+H
fMx8eP//////////////////////////iId3iP//////////+HzMzMzMzMzMzMzMzMzMzMzMyP//////
///4fMzHh8eP////////////////////////+MzMzMd4//////////h8zMzMzMzMzMzMzMzMzMzMzMf/
////////+MzMePjMeP///////////////////////4zMzMeHx4/////////4fMzMzMzMzMzMzMzMzMzM
zMzH/////////4fMd3eHzMeP//////////////////////iMzMzIiHx4////////+HzMzMzMzMzMzMzM
zMzMzMzMx/////////+Hx4iIfMzMj//////////////////////4h3d8x4h8yP////////jMzMzMzMzM
zMzMzMzMzMzMzMeP////////+HiP+IfMzI//////////////////////+HiIiHd3zHj////////4zMzM
zMzMzMzMzMzMzMzMzMzHj/////////h4//+HzMeP//////////////////////h4//h8zMyP////////
+MzMzMzMzMzMzMzMzMzMzMzMzI/////////4iP//h8x4///////////////////////4j//4fMzHj///
//////jMzMzMzMzMzMzMzMzMzMzMzMyP///////4iIiP+IfHj///////////////////////+Ij/+HzM
eP/////////4zMzMzMzMzMzMzMzMzMzMzMzMj///////iIiIiIh3eP////////////////////////+I
j4h8x3iI////////h8zMzMzMzMzMzMzMzMzMzMzMzH//////+Hj///iIiI//////////////////////
/////4iId4iIiIj//////4zMzMzMzMzMzMzMzMzMzMzMzMx4//////iP////iP//////////////////
/////////////4iP//iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMyP//////////+I//////////////
///////////////////4eP//iP//////jMzMzMzMzMzMzMzMzMzMzMzMzMj///////////iP////////
/////////////////////////4j/////////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj///////////////
//////////////////////////////+I//////////jMzMzMzMzMzMzMzMzMzMzMzMzMzI//////////
//////////////////////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
eP///////////////////////////////////////////////////////4zMzMzMzMzMzMzMzMzMzMzM
zMzMzMj///////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzM
zMzMzMzMzMzHj//////////////////////////////////////////////////////4zMzMzMzMzMzM
zMzMzMzMzMzMzMzMzI//////////////////////////////////////////////////////h8zMzMzM
zMzMzMzMzMzMzMzMzMzMzMx4////////////////////////////////////////////////////+HzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMyI////+I////////////////////////////////////////////
//h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+Ij/////////////////////////////////////
//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+IiIiIj//////////////////////////4
////iI/////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMiP/////4iIiP//////////////////////
////+IiIiIj/////iHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////////////////
///////////4iIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP////////////////////
//////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////
//////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////
///////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////
////////////////////////////////////////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI
j/////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMeP//////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMx4////////+I//////////////////////////////////////jMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMeP///////4iIj///////////////////////////iP///////4fMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMx4////////iIiIiP///////////////////////4iIiP///////4zMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIj///////+HzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIj////////////////////4iIiIiIj///////
+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIiI//
//////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiP////////////////////iIiI
iIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiIj/////iIiIiIiIj/////
/4iIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiI/////4zMzMzMzM
j/////+IiIiIiIiP//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP//////+IiIiIiIj/////+MzM
zMzMzI//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iIiIiIiI////
//jMzMzMzMyP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP///////4iIiIiI
iP/////4zMzMzMzMj//////4iIiIiIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iI
iIiIiI//////+MzMzMzMzI//////+IiIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
///4iIiIiIiP//////fMzMzMzMyP//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzH
j///////+IiIiIiI//////+HzMzMzMzMeP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzM
zMzMyP////////iIiIiIiP//////jMzMzMzMzHj///////iIiIiIiI///////4fMzMzMzMzMzMzMzMzM
zMzMzMzMzMj///////+IiIiIiI///////4zMzMzMzMzI///////4iIiIiIiI///////3zMzMzMzMzMzM
zMzMzMzMzMzMzMzI////////iIiIiIiP//////+MzMzMzMzMyP//////+IiIiIiIiP//////+MzMzMzM
zMzMzMzMzMzMzMzMzMzMeP///////4iIiIiIj///////jMzMzMzMzMj///////+IiIiIiIj///////jM
zMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiIiP//////+HzMzMzMzMzHj///////iIiIiIiI////
///4zMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIiI////////jMzMzMzMzMzI///////4iIiIiI
iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMzMj////////4iIiIiP///////4zMzMzMzMzMyP///////4
iIiIiIiP//////jMzMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiI////////h8zMzMzMzMzMeP//
/////4iIiIiIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIj////////4fMzMzMzMzM
zHj///////+IiIiIiI//////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////iIiP////////+MzMzM
zMzMzMzI////////+IiIiIiP//////h8zMzMzMzMzMzMxmzMzMzMzMzMx4/////////4iP/////////4
fMzMzMzMzMzMx4////////+IiIiIj//////4fMzMzMzMzMzMzMZszMzMzMzMzMeP////////////////
////+MzMzMzMzMzMzMyP////////iIiIiP//////+HzMzMzMzMzMzMzGbMzMzMzMzMzH////////////
//////////fMzMzMzMzMzMzMeP////////iIiIj///////98zMzMzMzMzMzMxmzMzMzMzMzMyP//////
//////////////+HzMzMzMzMzMzMzHj/////////+IiP////////jMzMzMzMzMzMzMZszMzMzMzMzMj/
////////////////////jMzMzMzMzMzMzMzIj////////////////////4zMzMzMzMzMzMzGTMzMzMzM
zMzH////////////////////+HzMzMzMzMzMzMzMx4////////////////////+MzMzMzMzMzMzMxAzM
zMzMzMzMx/////////////////////jMzMzMzMzMzMzMzMyI///////////////////4fMzMzMzMzMzM
zMAGzMzMzMzMzMeP//////////////////+HzMzMzMzMzMzMzMzMeP//////////////////+HzMzMzM
zMzMzMxgBszMzMzMzMzHj//////////////////4fMzMzMzMzMzMzMzMzMeP//////////////////h8
zMzMzMzMzMzMYADMzMzMzMzMzI//////////////////+HzMzMzMzMzMzMzMzMzHj///////////////
///4zMzMzMzMzMzMzAAAbMzMzMzMzMyP/////////////////4fMzMzMzMzMzMzMzMzMzHj/////////
////////+MzMzMzMzMzMzMYAAEzMzMzMzMzMj/////////////////+MzMzMzMzMzMzMzMzMzMzIj///
/////////////4fMzMzMzMzMzMzEAAAGzMzMzMzMzHj////////////////4fMzMzMzMzMzMzMzMzMzM
x4////////////////+MzMzMzMzMzMzMYAAABMzMzMzMzMx4////////////////h8zMzMzMzMzMzMzM
zMzMzMx4///////////////4fMzMzMzMzMzMzEAAAABszMzMzMzMx4//////////////+HzMzMzMzMzM
zMzMzMzMzMzMx4//////////////+MzMzMzMzMzMzMYAAAAATMzMzMzMzMyP/////////////4fMzMzM
zMzMzMzMzMzMzMzMzMeI/////////////4fMzMzMzMzMzMzEAAAAAAbMzMzMzMzMeP////////////h8
zMzMzMzMzMzMzMzMzMzMzMzMeI////////////h8zMzMzMzMzMzMYAAAAAAAbMzMzMzMzMeP////////
//iHzMzMzMzMzMzMzMzMzMzMzMzMzMyI//////////+HzMzMzMzMzMzMxgAAAAAAAEzMzMzMzMzMeP//
//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMx4/////////4fMzMzMzMzMzMzMQAAAAAAAAGzMzMzMzM
zMeI//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4j//////4h8zMzMzMzMzMzMxgAAAAAAAAAGzM
zMzMzMzMx4iIiIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiIj/+Ih3zMzMzMzMzMzMzGAAAAAAAA
AAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx3iId8zMzMzMzMzMzMzMYAAA
AAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
xgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
@@ -1,240 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class GetUpProductForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.label1 = new System.Windows.Forms.Label();
this.pbPaste = new System.Windows.Forms.PictureBox();
this.txtIds = new DevComponents.DotNetBar.Controls.TextBoxX();
this.labelX10 = new DevComponents.DotNetBar.LabelX();
this.btnSearch = new DevComponents.DotNetBar.ButtonX();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colProductId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colUpId = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.pbPaste)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.Color.Gray;
this.label1.Location = new System.Drawing.Point(245, 125);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(490, 17);
this.label1.TabIndex = 31;
this.label1.Text = "说明:多件商品请用逗号隔开,将同时弹出多个浏览器窗口。最大支持同时跳转20件商品。";
//
// pbPaste
//
this.pbPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pbPaste.BackColor = System.Drawing.Color.White;
this.pbPaste.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pbPaste.Image = global::TemuKJD.Properties.Resources.FullPaste;
this.pbPaste.Location = new System.Drawing.Point(860, 75);
this.pbPaste.Name = "pbPaste";
this.pbPaste.Size = new System.Drawing.Size(33, 29);
this.pbPaste.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pbPaste.TabIndex = 30;
this.pbPaste.TabStop = false;
this.pbPaste.Click += new System.EventHandler(this.pbPaste_Click);
//
// txtIds
//
this.txtIds.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
this.txtIds.Border.Class = "TextBoxBorder";
this.txtIds.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtIds.Font = new System.Drawing.Font("新宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtIds.Location = new System.Drawing.Point(137, 75);
this.txtIds.Name = "txtIds";
this.txtIds.PreventEnterBeep = true;
this.txtIds.Size = new System.Drawing.Size(724, 29);
this.txtIds.TabIndex = 28;
//
// labelX10
//
this.labelX10.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labelX10.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.labelX10.Location = new System.Drawing.Point(53, 78);
this.labelX10.Name = "labelX10";
this.labelX10.Size = new System.Drawing.Size(92, 23);
this.labelX10.TabIndex = 27;
this.labelX10.Text = "宝贝ID";
//
// btnSearch
//
this.btnSearch.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearch.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearch.Location = new System.Drawing.Point(137, 119);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(89, 29);
this.btnSearch.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
this.btnSearch.TabIndex = 48;
this.btnSearch.Text = "搜索";
this.btnSearch.TextColor = System.Drawing.Color.White;
this.btnSearch.ThemeAware = true;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonX1.Location = new System.Drawing.Point(137, 163);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(233, 29);
this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
this.buttonX1.TabIndex = 49;
this.buttonX1.Text = "搜索并列表显示";
this.buttonX1.TextColor = System.Drawing.Color.White;
this.buttonX1.ThemeAware = true;
this.buttonX1.Visible = false;
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
//
// dgvProduct
//
this.dgvProduct.AllowUserToAddRows = false;
this.dgvProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvProduct.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.dgvProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colProductId,
this.colFrom,
this.colUpId});
this.dgvProduct.Location = new System.Drawing.Point(137, 198);
this.dgvProduct.Name = "dgvProduct";
this.dgvProduct.ReadOnly = true;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvProduct.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvProduct.RowTemplate.Height = 23;
this.dgvProduct.Size = new System.Drawing.Size(756, 253);
this.dgvProduct.TabIndex = 50;
this.dgvProduct.Visible = false;
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Visible = false;
this.colSelect.Width = 41;
//
// colProductId
//
this.colProductId.HeaderText = "商品Id";
this.colProductId.Name = "colProductId";
this.colProductId.ReadOnly = true;
this.colProductId.Width = 200;
//
// colFrom
//
this.colFrom.HeaderText = "来源";
this.colFrom.Name = "colFrom";
this.colFrom.ReadOnly = true;
this.colFrom.Width = 90;
//
// colUpId
//
this.colUpId.HeaderText = "上家Id";
this.colUpId.Name = "colUpId";
this.colUpId.ReadOnly = true;
this.colUpId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colUpId.Width = 250;
//
// GetUpProductForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(947, 480);
this.Controls.Add(this.dgvProduct);
this.Controls.Add(this.buttonX1);
this.Controls.Add(this.btnSearch);
this.Controls.Add(this.label1);
this.Controls.Add(this.pbPaste);
this.Controls.Add(this.txtIds);
this.Controls.Add(this.labelX10);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "GetUpProductForm";
this.Text = "GetUpProductForm";
((System.ComponentModel.ISupportInitialize)(this.pbPaste)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pbPaste;
private DevComponents.DotNetBar.Controls.TextBoxX txtIds;
private DevComponents.DotNetBar.LabelX labelX10;
private DevComponents.DotNetBar.ButtonX btnSearch;
private DevComponents.DotNetBar.ButtonX buttonX1;
private UserComponent.DataGridViewEx dgvProduct;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colProductId;
private System.Windows.Forms.DataGridViewTextBoxColumn colFrom;
private System.Windows.Forms.DataGridViewTextBoxColumn colUpId;
}
}
@@ -1,135 +0,0 @@
using AllBase;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util;
using NaiBa.Util.Extension;
using NaiBa.Util.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;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class GetUpProductForm : BaseForm
{
public GetUpProductForm()
{
InitializeComponent();
}
private void btnSearch_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.txtIds.Text.Trim()))
{
BaseMsgForm.ShowError("请输入商品ID!");
return;
}
var idArr = this.txtIds.Text.Trim().Split(new string[] { "\r", "\n", ",", ",", ";", "-----" }, StringSplitOptions.RemoveEmptyEntries);
idArr = idArr.Take(20).ToArray();
foreach (var prodId in idArr)
{
var product_id = prodId.ParseToLong();
if (product_id > 0)
{
string url = BaseClass.LoginApiUrl + "?obj=upshopid/upid_dd&act=get";
string data = "&pid=" + product_id + "&table=" + (product_id % 1024);
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex("", "") + data);
string upId = BaseRegex.GetMatchRegexString(html, @"([\d]+)");
string upUrl = "";
if (html.StartsWith("tb"))
upUrl = "https://item.taobao.com/item.htm?id=" + upId;
if (html.StartsWith("pd"))
upUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + upId;
if (html.StartsWith("al"))
upUrl = "https://detail.1688.com/offer/" + upId + ".html";
if (html.StartsWith("jx"))
upUrl = "https://item.jd.com/" + upId + ".html";
if (html.StartsWith("dy"))
upUrl = "https://haohuo.jinritemai.com/views/product/detail?id=" + upId;
if (string.IsNullOrEmpty(upId))
upUrl = "https://www.baidu.com";
FileHelper.OpenUrl(upUrl + (upUrl.Contains("?") ? "&" : "?") + "lr_search_id=" + product_id);
//GetHtml.OpenUrl(upUrl + (upUrl.Contains("?") ? "&" : "?") + "lr_search_id=" + product_id);
}
else
{
BaseMsgForm.ShowError("输入商品Id错误!");
break;
}
}
}
private void pbPaste_Click(object sender, EventArgs e)
{
if (BaseClass.UserName == "18888888888")
{
this.buttonX1.Visible = true;
}
IDataObject iData = Clipboard.GetDataObject();
if (iData != null && iData.GetDataPresent(DataFormats.Text))
{
txtIds.Text = (string)iData.GetData(DataFormats.Text);
}
}
private void buttonX1_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.txtIds.Text.Trim()))
{
BaseMsgForm.ShowError("请输入商品ID!");
return;
}
dgvProduct.Visible = true;
dgvProduct.Rows.Clear();
var idArr = this.txtIds.Text.Trim().Split(new string[] { "\r", "\n", ",", ",", ";", "-----" }, StringSplitOptions.RemoveEmptyEntries);
//idArr = idArr.Take(20).ToArray();
Task.Run(() =>
{
foreach (var prodId in idArr)
{
Thread.Sleep(50);
var product_id = prodId.ParseToLong();
if (product_id > 0)
{
string url = BaseClass.LoginApiUrl + "?obj=upshopid/upid_dd&act=get";
string data = "&pid=" + product_id + "&table=" + (product_id % 1024);
string html = GetHtml.PostUtf8(url, UserLogin.GetSignaturex("", "") + data);
string upId = BaseRegex.GetMatchRegexString(html, @"([\d]+)");
string upUrl = "";
string from = "";
if (html.StartsWith("tb"))
from = "淘宝";
if (html.StartsWith("pd"))
from = "拼多多";
if (html.StartsWith("al"))
from = "阿里";
if (html.StartsWith("jx"))
from = "京东";
if (html.StartsWith("dy"))
from = "抖音";
Invoke(new Action(() =>
{
this.dgvProduct.Rows.Add(false, product_id, from, html.Split('-').LastOrDefault());
}));
}
else
{
BaseMsgForm.ShowError("输入商品Id错误!");
break;
}
}
});
}
}
}
@@ -1,132 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colFrom.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colUpId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
-897
View File
@@ -1,897 +0,0 @@
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 AllBase;
using CefSharp.WinForms;
using CefSharp;
using Work;
using System.Threading;
using Work.CollectClass;
using Work.Api;
using TemuKJD.KJDForms.BaseForms;
namespace TemuKJD.KJDForms
{
public partial class IeForm : LRBaseForm
{
public string Url = "";
public string skipUrl = "";
public bool isSlide = false;
public bool isExecJsSuccess = false;
public string x5Sec = "";
public string Title { get { return Text; } set { Text = value; } }
public string UrlString { get { return Url; } set { Url = value; } }
public IeForm()
{
InitializeComponent();
}
public IeForm(string _url)
{
Url = _url;
InitializeComponent();
}
public ChromiumWebBrowser cefWebBrowser3;
private void IeForm_Load(object sender, EventArgs e)
{
if (BaseClass.Ico != null)
Icon = BaseClass.Ico;
if (string.IsNullOrEmpty(Url))
{
cefWebBrowser3 = new ChromiumWebBrowser("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
StartPosition = FormStartPosition.CenterScreen;
}
else
{
if (string.IsNullOrEmpty(TitleText))
{
Location = new Point(330, 220);
TitleText = Text = "账号登录";
cefWebBrowser3 = new ChromiumWebBrowser(Url);
}
else
{
cefWebBrowser3 = new ChromiumWebBrowser(Url);
Text = TitleText;
}
}
RequestContextSettings requestContextSettings = new RequestContextSettings();
requestContextSettings.PersistSessionCookies = false;
//cef138//requestContextSettings.PersistUserPreferences = false;
cefWebBrowser3.RequestContext = new RequestContext(requestContextSettings);
cefWebBrowser3.Dock = DockStyle.Fill;
cefWebBrowser3.AutoSize = true;
cefWebBrowser3.FrameLoadEnd += CefWebBrowser3_FrameLoadEnd;
cefWebBrowser3.AddressChanged += CefWebBrowser3_AddressChanged;
cefWebBrowser3.AddressChanged += cefWebBrowser3_UrlChanged;
cefWebBrowser3.BrowserSettings = new BrowserSettings { /*Plugins = CefState.Disabled*/ /*cef92*/ };
panel2.Controls.Add(cefWebBrowser3);
DelCookies();
ChromeCookies = "";
new Thread(ReflashCookies).Start();
new Thread(ResetUserList).Start();
new Thread(SetTaoBaoCookies).Start();
new Thread(AutoRrefreshCookies).Start();
}
public void SetTaoBaoCookies()
{
if (TaobaoMobileCollect.CookiesDic.Count > 0)
{
foreach (var kvp in TaobaoMobileCollect.CookiesDic)
{
AddList(kvp.Key, kvp.Value, 1);
}
}
}
private void ResetUserList()
{
Thread.Sleep(100);
if (this.userComboBox.InvokeRequired)
{
this.Invoke(new Action(() => { userComboBox.Items.Clear(); }));
}
else
{
userComboBox.Items.Clear();
}
try
{
foreach (KeyValuePair<string, UserCookies> item in UserCookies)
{
if (this.userComboBox.InvokeRequired)
{
this.Invoke(new Action(() =>
{
if (!userComboBox.Items.Contains(item.Key))
userComboBox.Items.Add(item.Key);
}));
}
else
{
if (userComboBox.Items.Contains(item.Key))
continue;
userComboBox.Items.Add(item.Key);
}
}
}
catch
{
}
if (this.userComboBox.InvokeRequired)
{
this.Invoke(new Action(() => { userComboBox.Text = SetCookiesUserInfo.UserName; }));
}
else
{
userComboBox.Text = SetCookiesUserInfo.UserName;
}
}
private void CefWebBrowser3_AddressChanged(object sender, AddressChangedEventArgs e)
{
Url = e.Address;
}
/// <summary>
/// 限制滑块自动拖动次数
/// </summary>
private int iTryTimes = 0;
private Random random = new Random();
private int _locX;
private int _locY;
public bool isDoing = false;
public bool LoginOk = false;
public bool tradeOk = false;
#region 获取网页js
/// <summary>
/// 获取网页某元素坐标X
/// </summary>
private string sJsGetElementPageLeft = @"function getElementPageLeft(element) {
var actualLeft = element.offsetLeft;
var parent = element.offsetParent;
while (parent != null) {
actualLeft += parent.offsetLeft + (parent.offsetWidth - parent.clientWidth) / 2;
parent = parent.offsetParent;
}
return actualLeft;
};
getElementPageLeft(document.getElementById('nc_1_n1t'));";
/// <summary>
/// 获取网页某元素坐标Y
/// </summary>
private string sJsGetElementPageTop = @"function getElementPageTop(element) {
var actualTop=element.offsetTop;
var parent=element.offsetParent;
while(parent!=null) {
actualTop+=parent.offsetTop+(parent.offsetHeight-parent.clientHeight)/2;
parent=parent.offsetParent;
}
return actualTop;
};
getElementPageTop(document.getElementById('nc_1_n1t'))";
#endregion
private void CefWebBrowser3_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
{
if (!cefWebBrowser3.IsBrowserInitialized)
return;
Task.Run(() =>
{
var t = cefWebBrowser3.GetBrowser().MainFrame.EvaluateScriptAsync("document.getElementById('J_Quick2Static').click();");
t.Wait(2500);
string url = cefWebBrowser3.Address;
string loginOkUrl = "https://s.taobao.com/search?q=se";
if ((url.Contains(loginOkUrl) && url.IndexOf(loginOkUrl) == 0) || url.Contains("https://buyertrade.taobao.com")) //登录成功
{
try
{
if (!LoginOk)
{
LoginOk = true;
new Thread(GetLoginUserName).Start();
Hide();
}
}
catch
{
}
}
if (url.Contains("acs.m.taobao.com"))
{
var lst = UserCookies.ToList();
for (int i = 0; i < lst.Count; i++)
{
DelCookies();
SetTaoBao(lst[i].Key, true);
}
}
if (url.Contains("www.taobao.com"))
{
if (!tradeOk)
{
tradeOk = true;
cefWebBrowser3.Load("https://trade-acs.m.taobao.com");
}
}
if (url.Contains("nc_session_id"))
{
cefWebBrowser3.Load("https://www.taobao.com/");
}
});
}
public static Dictionary<string, UserCookies> UserCookies = new Dictionary<string, UserCookies>();
private void GetLoginUserName()
{
Thread.Sleep(2000);
string url = "https://i.taobao.com/my_taobao.htm";
string refere = "https://login.taobao.com/member/login.jhtml";
if (string.IsNullOrEmpty(ChromeCookies))
ChromeCookies = cookiesSrt;
string html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, ChromeCookies);
string name = BaseRegex.GetMatchRegexString(ref html, @"</em>[\s]*[\(]([\w]+)[\)]");
if (string.IsNullOrEmpty(name))
name = BaseRegex.GetMatchRegexString(ref ChromeCookies, @"dnk=([\w\W]+?);");
if (string.IsNullOrEmpty(name))
name = BaseRegex.GetMatchRegexString(ref ChromeCookies, @"_nk_=([\w\W]+?);");
if (string.IsNullOrEmpty(name))
return;
//if (!BaseClass.CookiesAll.ContainsKey("taobao.com"))
// return;
if (string.IsNullOrEmpty(ChromeCookies))
return;
//if (TaobaoMobileCollect.CookiesDic.Count>0&&TaobaoMobileCollect.CookiesDic[name].Contains("x5sec"))
//{
// string cookies = TaobaoMobileCollect.CookiesDic[name].ToString();
// BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookies, @"x5sec=([\w\W]+?);");
// ChromeCookies += "x5sec=" + BaseClass.x5Sec + ";";
//}
if (name.Contains("%"))
name = GetHtml.UrlDecode(name);
TaobaoMobileCollect.CookiesDic[name] = ChromeCookies;
AddList(name, ChromeCookies, 1);
SaveCookies();
}
public static void SaveCookies()
{
string temp = "";
foreach (var item in TaobaoMobileCollect.CookiesDic)
{
temp += item.Key + "-----" + item.Value + "\r\n";
}
FileBase.WriteAllText("temp/taobaocookies.txt", temp);
}
public void AddList(string name, string cookies, int site_id)
{
try
{
string[] l = cookies.Split(';');
List<System.Net.Cookie> cookie = new List<System.Net.Cookie>();
for (int j = 0; j < l.Length; j++)
{
if (string.IsNullOrEmpty(l[j]) || !l[j].Contains("="))
continue;
string[] ll = l[j].Split('=');
if (site_id == 1)
{
System.Net.Cookie c = new System.Net.Cookie();
c.Domain = "taobao.com";
c.Expires = DateTime.Now.AddYears(1);
c.Name = ll[0].Trim();
c.Value = ll[1];
c.Path = "/";
cookie.Add(c);
}
}
UserCookies uc = new UserCookies();
uc.Cookies = cookie;
uc.UserName = name;
uc.SiteId = site_id;
if (!UserCookies.ContainsKey(name))
UserCookies.Add(name, uc);
else
UserCookies[name] = uc;
SetCookiesUserInfo.UserName = name;
ResetUserList();
}
catch
{
}
}
/// <summary>
/// 模拟鼠标拖拽
/// </summary>
/// <param name="host">浏览器Host</param>
/// <param name="x1">起始坐标X</param>
/// <param name="y1">起始坐标Y</param>
/// <param name="x2">终止坐标X</param>
/// <param name="y2">终止坐标Y</param>
public void CefMouseDrag(IBrowserHost host, int x1, int y1, int x2, int y2)
{
Random random = new Random();
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None);//按下鼠标左键
Thread.Sleep(random.Next(5));
double x = x1;
double y = y1;
int xlen = x2 - x1;
while (x < x2)
{
int rs = random.Next(9, 15);
if (x2 - x > (xlen - xlen / 3))
{
rs = random.Next(3);
}
x = x + rs;
Thread.Sleep(1 + random.Next(rs));
host.SendMouseMoveEvent((int)x, (int)y, false, CefEventFlags.LeftMouseButton); // 移动鼠标
}
host.SendMouseClickEvent(x2, y2, MouseButtonType.Left, true, 1, CefEventFlags.None); // 抬起鼠标左键
}
private void panelSettleSlide_Click_1(object sender, EventArgs e)
{
TbSettleSlideForm tbForm = new TbSettleSlideForm();
//tbForm.freshType = 2;
tbForm.slideUrl = Url;
tbForm.tbDetailForm = this;
tbForm.Show();
}
private void userComboBox_SelectedIndexChanged_1(object sender, EventArgs e)
{
string url = cefWebBrowser3.Address;
if (SetCookiesUserInfo.UserName == userComboBox.Text && !url.Contains("login"))
return;
SetTaoBao(userComboBox.Text, true);
LoginOk = false;
cefWebBrowser3.Load("https://s.taobao.com/search?q=se");
}
private void delCookiesButtonX_Click_1(object sender, EventArgs e)
{
string cboname = userComboBox.Text;
Task.Run(() =>
{
UserCookies.Remove(cboname);
if (UserCookies.Count > 0)
SetCookiesUserInfo.UserName = UserCookies.FirstOrDefault().Key;
else
SetCookiesUserInfo.UserName = "";
TaobaoMobileCollect.CookiesDic.Remove(cboname);
TaobaoMobileCollect.CookiesDic.Clear();
DelCookies();
ChromeCookies = "";
BaseClass.IeFormCookies = "";
ResetUserList();
SaveCookies();
SetTaoBao(SetCookiesUserInfo.UserName, true);
LoginOk = false;
cefWebBrowser3.Load("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
});
}
public override void PictureBox1_Click(object sender, EventArgs e)
{
if (Text == "淘宝验证窗口")
{
if (userComboBox.SelectedItem == null)
Thread.Sleep(3000);
this.Close();
}
else
{
Hide();
return;
}
}
#region 添加x5sec事件
public void ExecX5secJs()
{
if (cefWebBrowser3 != null && cefWebBrowser3.IsBrowserInitialized)
{
string js = @"function setCookie(name,value)
{
var Days = 30;
var exp = new Date();
exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
document.cookie = name + '=' + escape(value) + ';path=/;expires=' + exp.toGMTString();
}
";
js += @"function getCookie(name)
{
var arr, reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)');
if (arr = document.cookie.match(reg))
return unescape(arr[2]);
else
return null;
}
";
js += @"function delCookie(name)
{
var exp = new Date();
exp.setTime(exp.getTime() - 1);
var cval = getCookie(name);
if (cval != null)
document.cookie = name + '=' + cval + ';expires=' + exp.toGMTString();
}
";
var task = cefWebBrowser3.GetBrowser().MainFrame.EvaluateScriptAsync(js);
task.Wait();
var result = task.Result.Success;
if (result)
{
js = "setCookie('x5sec','" + x5Sec + "')";
task = cefWebBrowser3.GetBrowser().MainFrame.EvaluateScriptAsync(js);
task.Wait();
if (task.Result.Success)
{
isExecJsSuccess = true;
cefWebBrowser3.Reload();
}
}
}
}
#endregion
private void panelSettleSlide_Click(object sender, EventArgs e)
{
TbSettleSlideForm tbForm = new TbSettleSlideForm();
//tbForm.freshType = 2;
tbForm.slideUrl = Url;
tbForm.tbDetailForm = this;
tbForm.Show();
}
private void cefWebBrowser3_UrlChanged(object sender, CefSharp.AddressChangedEventArgs e)
{
if (InvokeRequired)
{
Invoke(new Action(() =>
{
skipUrl = cefWebBrowser3.Address;
}));
}
else
{
skipUrl = cefWebBrowser3.Address;
}
}
private void panelBack_Click(object sender, EventArgs e)
{
if (cefWebBrowser3.IsBrowserInitialized && cefWebBrowser3.CanGoBack)
{
cefWebBrowser3.Back();
}
}
private void panelForward_Click(object sender, EventArgs e)
{
if (cefWebBrowser3.IsBrowserInitialized && cefWebBrowser3.CanGoForward)
{
cefWebBrowser3.Forward();
}
}
private void panelRefresh_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(skipUrl))
{
cefWebBrowser3.Load(skipUrl);
}
else
{
cefWebBrowser3.Load(Url);
}
cefWebBrowser3.Refresh();
}
private void wwPictureBox_Click(object sender, EventArgs e)
{
}
bool isH5 = false;
private void userComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
if (Url.Contains("https://login.m.taobao.com/") || Url.Contains("https://acs.m.taobao.com//h5"))
{
isH5 = true;
return;
}
if (isH5)
return;
string url = cefWebBrowser3.Address;
if (SetCookiesUserInfo.UserName == userComboBox.Text && !url.Contains("login"))
return;
SetTaoBao(userComboBox.Text, true);
LoginOk = false;
cefWebBrowser3.Load("https://s.taobao.com/search?q=se");
}
public bool SetTaoBao(string userName, bool refundFlag)
{
if (!UserCookies.ContainsKey(userName))
{
if (string.IsNullOrEmpty(userName))
DeleteTaoBao();
//MessageBox.Show("没有找到这个淘宝买家", "提示");
return false;
}
DeleteTaoBao();
//var cookieManager = CefSharp.Cef.GetGlobalCookieManager();
var cookieManager = cefWebBrowser3.RequestContext.GetCookieManager(null);
//List<System.Net.Cookie> cookies =UserCookies[userName].Cookies;
//Cef.GetGlobalCookieManager().SetStoragePath(Environment.CurrentDirectory, true);
//BaseClass.IeFormCookies
string[] l = BaseClass.IeFormCookies.Split(';');
List<System.Net.Cookie> cookies = new List<System.Net.Cookie>();
for (int j = 0; j < l.Length; j++)
{
if (string.IsNullOrEmpty(l[j]) || !l[j].Contains("="))
continue;
string[] ll = l[j].Split('=');
System.Net.Cookie c = new System.Net.Cookie();
c.Domain = "taobao.com";
c.Expires = DateTime.Now.AddYears(1);
c.Name = ll[0].Trim();
c.Value = ll[1];
c.Path = "/";
cookies.Add(c);
}
string domain = "https://s.taobao.com/search?q=se";
foreach (System.Net.Cookie c in cookies)
{
var cookie = new CefSharp.Cookie
{
Domain = c.Domain,
Name = c.Name,
Value = c.Value,
Expires = DateTime.Now.AddYears(1),
Path = "/"
};
Task<bool> task = cookieManager.SetCookieAsync(domain, cookie);
while (!task.IsCompleted)
{
Thread.Sleep(1);
continue;
}
}
if (!refundFlag)
{
BaseMsgForm.ShowInfo("切换到账户:" + userName + " 成功", "提示");
}
SetCookiesUserInfo.UserName = userName;
return true;
}
public void DeleteTaoBao()
{
var cookieManager = cefWebBrowser3.RequestContext.GetCookieManager(null); ;
if (!string.IsNullOrEmpty(ChromeCookies))
{
var cookies = ChromeCookies;// BaseClass.CookiesAllString["taobao.com"];
string[] l = cookies.Split(';');
for (int i = 0; i < l.Length; i++)
{
if (string.IsNullOrEmpty(l[i]) || !l[i].Contains("="))
continue;
string name = l[i].Split('=')[0].Trim();
try
{
cookieManager.DeleteCookies("https://s.taobao.com/search?q=se", name);
cookieManager.DeleteCookies("https://login.taobao.com/member/login.jhtml", name);
//cookieManager.Dispose();
}
catch
{
}
}
}
}
public void DelCookies()
{
ICookieManager cookieManager = null;
if (this.cefWebBrowser3 != null && this.cefWebBrowser3.RequestContext != null)
cookieManager = this.cefWebBrowser3.RequestContext.GetCookieManager(null);
else
cookieManager = Cef.GetGlobalCookieManager();
Task deleteTask = cookieManager.DeleteCookiesAsync("taobao.com", null);
deleteTask.Wait();
}
private void buttonEx4_Click(object sender, EventArgs e)
{
DelCookies();
LoginOk = false;
cefWebBrowser3.Load("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
}
private void buttonX2_Click(object sender, EventArgs e)
{
DelCookies();
LoginOk = false;
cefWebBrowser3.Load("https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://s.taobao.com/search?q=se&imgfile=&commend=all&ssid=s5-e&search_type=item&sourceId=tb.index&spm=a21bo.2017.201856-taobao-item.1&ie=utf8&initiative_id=tbindexz_20170306");
}
public static string ChromeCookies = "";
public static string oldSec = "";
public static string cookiesSrt = "";
public delegate void delegateView();
public void ReflashCookies()
{
try
{
while (true)
{
Thread.Sleep(300);
if (this == null || this.IsDisposed)
return;
Invoke(new delegateView(GetCookies));
Thread.Sleep(300);
string cookie = "";
for (int i = 0; i < cookies.Count; i++)//初始化COOKIES缓存
{
var c = cookies[i];
if (!c.Domain.Contains("taobao.com"))
continue;
cookie += c.Name + "=" + c.Value + "; ";
string mainDomain = GetHtml.GetMainDomain(c.Domain);
if (BaseClass.CookiesAll.ContainsKey(mainDomain))
{
if (BaseClass.CookiesAll[mainDomain].ContainsKey(c.Name))
BaseClass.CookiesAll[mainDomain][c.Name] = c.Value;
else
BaseClass.CookiesAll[mainDomain].Add(c.Name, c.Value);
}
else
{
BaseClass.CookiesAll.Add(mainDomain, new Dictionary<string, string>());
BaseClass.CookiesAll[mainDomain].Add(c.Name, c.Value);
}
}
if (!string.IsNullOrEmpty(cookie))
{
if (cookie.Contains("x5sec"))
cookiesSrt = cookie;
//if (cookie.Contains("x5sec")&&(cookie.Contains("tracknick") || cookie.Contains("dnk") || cookie.Contains("_w_tb_nick")))
// BaseClass.IeFormCookies = ChromeCookies = cookie;
//cookiesSrt = cookie;
if ((cookie.Contains("tracknick") || cookie.Contains("dnk") || cookie.Contains("_w_tb_nick")))
{
BaseClass.IeFormCookies = ChromeCookies = cookie;
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(BaseClass.x5Sec))
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
}
//if (cookie.Contains("x5sec")&&TitleText == "淘宝验证窗口" && isH5 && (cookie.Contains("tracknick") || cookie.Contains("dnk") || cookie.Contains("_w_tb_nick")))
// BaseClass.IeFormCookies = cookie;
//if (string.IsNullOrEmpty(BaseClass.x5Sec))
//{
// BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
// if (string.IsNullOrEmpty(BaseClass.x5Sec))
// BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
//}
}
//if (TaobaoMobileCollect.CookiesDic.Count==0)
//{
// GetLoginUserName();
//}
//string x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
//if (!string.IsNullOrEmpty(x5Sec) && x5Sec != oldSec)
//{
// BaseClass.x5Sec = x5Sec;
// oldSec = x5Sec;
//}
}
}
catch
{
}
}
public List<CefSharp.Cookie> cookies = new List<CefSharp.Cookie>();
/// <summary>
/// 加载完成时,重设cookies
/// </summary>
/// <param name="obj"></param>
private void visitor_SendCookie(CefSharp.Cookie obj)
{
cookies.Add(obj);
}
/// <summary>
/// 获取cookies
/// </summary>
private void GetCookies()
{
cookies.Clear();
var cookieManager = cefWebBrowser3.RequestContext.GetCookieManager(null);
CookieVisitor visitor = new CookieVisitor();
visitor.SendCookie += visitor_SendCookie;
cookieManager.VisitAllCookies(visitor);
}
private void delCookiesButtonX_Click(object sender, EventArgs e)
{
string cboname = userComboBox.Text;
Task.Run(() =>
{
UserCookies.Remove(cboname);
if (UserCookies.Count > 0)
SetCookiesUserInfo.UserName = UserCookies.FirstOrDefault().Key;
else
SetCookiesUserInfo.UserName = "";
TaobaoMobileCollect.CookiesDic.Remove(cboname);
DelCookies();
ChromeCookies = "";
ResetUserList();
SaveCookies();
SetTaoBao(SetCookiesUserInfo.UserName, true);
LoginOk = false;
cefWebBrowser3.Load("https://s.taobao.com/search?q=se");
});
}
private void buttonEx1_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(BaseClass.x5Sec))
{
MessageBox.Show("获取滑动参数成功。");
return;
}
string cookies = string.Empty;
IDataObject iData = Clipboard.GetDataObject();
if (iData.GetDataPresent(DataFormats.Text))
{
cookies = (string)iData.GetData(DataFormats.Text);
}
if (string.IsNullOrEmpty(cookies))
{
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(BaseClass.x5Sec))
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
if (string.IsNullOrEmpty(BaseClass.x5Sec))
MessageBox.Show("获取滑动参数失败。");
else
MessageBox.Show("获取滑动参数成功。");
return;
}
string x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(x5Sec))
{
x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "x5sec=([\\s\\S]+?);");
}
if (string.IsNullOrEmpty(x5Sec))
{
x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(x5Sec))
x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
}
if (string.IsNullOrEmpty(x5Sec))
{
Thread.Sleep(2000);
x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
}
BaseClass.x5Sec = x5Sec;
if (string.IsNullOrEmpty(x5Sec))
{
MessageBox.Show("获取滑动参数失败。");
return;
}
else
{
MessageBox.Show("获取滑动参数成功。");
return;
}
}
public void AutoRrefreshCookies()
{
while (true)
{
try
{
Thread.Sleep(10 * 60 * 1000);
var lst = UserCookies.ToList();
for (int i = 0; i < lst.Count; i++)
{
DelCookies();
SetTaoBao(lst[i].Key, true);
LoginOk = false;
cefWebBrowser3.Load("https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm");
Thread.Sleep(8 * 1000);
}
}
catch
{
}
}
}
private void buttonEx2_Click(object sender, EventArgs e)
{
new Thread(AutoRrefreshCookies).Start();
}
private void buttonEx1_Click_1(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(BaseClass.x5Sec))
{
MessageBox.Show("获取滑动参数成功。");
return;
}
string cookies = string.Empty;
IDataObject iData = Clipboard.GetDataObject();
if (iData.GetDataPresent(DataFormats.Text))
{
cookies = (string)iData.GetData(DataFormats.Text);
}
if (string.IsNullOrEmpty(cookies))
{
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(BaseClass.x5Sec))
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
if (string.IsNullOrEmpty(BaseClass.x5Sec))
MessageBox.Show("获取滑动参数失败。");
else
MessageBox.Show("获取滑动参数成功。");
return;
}
string x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(x5Sec))
{
x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "x5sec=([\\s\\S]+?);");
}
if (string.IsNullOrEmpty(x5Sec))
{
x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(x5Sec))
x5Sec = BaseRegex.GetMatchRegexString(ref cookiesSrt, "x5sec=([\\s\\S]+?);");
}
if (string.IsNullOrEmpty(x5Sec))
{
Thread.Sleep(2000);
x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
}
BaseClass.x5Sec = x5Sec;
if (string.IsNullOrEmpty(x5Sec))
{
MessageBox.Show("获取滑动参数失败。");
return;
}
else
{
MessageBox.Show("获取滑动参数成功。");
return;
}
}
/// <summary>
/// 本次软件运行期间是否不再显示淘宝登录/校验
/// </summary>
public static bool IsShowIeForm = true;
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
IsShowIeForm = !checkBox1.Checked;
}
}
}
-261
View File
@@ -1,261 +0,0 @@
namespace TemuKJD.KJDForms
{
partial class IeForm
{
/// <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(IeForm));
this.pnlBody = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
this.panelSettleSlide = new DevComponents.DotNetBar.PanelEx();
this.userComboBox = new System.Windows.Forms.ComboBox();
this.label25 = new System.Windows.Forms.Label();
this.delCookiesButtonX = new DevComponents.DotNetBar.PanelEx();
this.buttonEx4 = new TemuKJD.UserControls.ButtonEx();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.pnlBody.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// pnlBody
//
this.pnlBody.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pnlBody.Controls.Add(this.panel2);
this.pnlBody.Controls.Add(this.panel3);
this.pnlBody.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlBody.Location = new System.Drawing.Point(2, 34);
this.pnlBody.Margin = new System.Windows.Forms.Padding(0);
this.pnlBody.Name = "pnlBody";
this.pnlBody.Size = new System.Drawing.Size(1251, 660);
this.pnlBody.TabIndex = 1;
//
// panel2
//
this.panel2.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.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Location = new System.Drawing.Point(-1, 66);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1251, 591);
this.panel2.TabIndex = 6;
//
// panel3
//
this.panel3.Controls.Add(this.label1);
this.panel3.Controls.Add(this.checkBox1);
this.panel3.Controls.Add(this.buttonEx1);
this.panel3.Controls.Add(this.panelSettleSlide);
this.panel3.Controls.Add(this.userComboBox);
this.panel3.Controls.Add(this.label25);
this.panel3.Controls.Add(this.delCookiesButtonX);
this.panel3.Controls.Add(this.buttonEx4);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1249, 70);
this.panel3.TabIndex = 5;
//
// buttonEx1
//
this.buttonEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonEx1.ForeColor = System.Drawing.Color.White;
this.buttonEx1.Location = new System.Drawing.Point(843, 36);
this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
this.buttonEx1.Name = "buttonEx1";
this.buttonEx1.Size = new System.Drawing.Size(85, 25);
this.buttonEx1.TabIndex = 553;
this.buttonEx1.Text = "获取参数";
this.buttonEx1.UseVisualStyleBackColor = false;
this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click_1);
//
// panelSettleSlide
//
this.panelSettleSlide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.panelSettleSlide.CanvasColor = System.Drawing.Color.Red;
this.panelSettleSlide.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelSettleSlide.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelSettleSlide.DisabledBackColor = System.Drawing.Color.Empty;
this.panelSettleSlide.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelSettleSlide.Location = new System.Drawing.Point(1030, 8);
this.panelSettleSlide.Name = "panelSettleSlide";
this.panelSettleSlide.Size = new System.Drawing.Size(83, 21);
this.panelSettleSlide.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelSettleSlide.Style.BackColor1.Color = System.Drawing.Color.Red;
this.panelSettleSlide.Style.BackColor2.Color = System.Drawing.Color.Red;
this.panelSettleSlide.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelSettleSlide.Style.BorderColor.Color = System.Drawing.Color.Red;
this.panelSettleSlide.Style.CornerDiameter = 1;
this.panelSettleSlide.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.panelSettleSlide.Style.ForeColor.Color = System.Drawing.Color.White;
this.panelSettleSlide.Style.GradientAngle = 90;
this.panelSettleSlide.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelSettleSlide.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.panelSettleSlide.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelSettleSlide.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelSettleSlide.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.panelSettleSlide.TabIndex = 546;
this.panelSettleSlide.Text = "解除滑块";
this.panelSettleSlide.Visible = false;
this.panelSettleSlide.Click += new System.EventHandler(this.panelSettleSlide_Click_1);
//
// userComboBox
//
this.userComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.userComboBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.userComboBox.FormattingEnabled = true;
this.userComboBox.Location = new System.Drawing.Point(1087, 36);
this.userComboBox.Name = "userComboBox";
this.userComboBox.Size = new System.Drawing.Size(107, 25);
this.userComboBox.TabIndex = 538;
this.userComboBox.Text = "点击下拉切换";
this.userComboBox.SelectedIndexChanged += new System.EventHandler(this.userComboBox_SelectedIndexChanged_1);
//
// label25
//
this.label25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label25.AutoSize = true;
this.label25.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label25.Location = new System.Drawing.Point(1027, 40);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(56, 17);
this.label25.TabIndex = 539;
this.label25.Text = "淘宝号:";
//
// delCookiesButtonX
//
this.delCookiesButtonX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.delCookiesButtonX.CanvasColor = System.Drawing.SystemColors.Control;
this.delCookiesButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.delCookiesButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
this.delCookiesButtonX.DisabledBackColor = System.Drawing.Color.Empty;
this.delCookiesButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.delCookiesButtonX.Location = new System.Drawing.Point(1200, 36);
this.delCookiesButtonX.Name = "delCookiesButtonX";
this.delCookiesButtonX.Size = new System.Drawing.Size(46, 25);
this.delCookiesButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
this.delCookiesButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.delCookiesButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
this.delCookiesButtonX.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.delCookiesButtonX.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.delCookiesButtonX.Style.CornerDiameter = 1;
this.delCookiesButtonX.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.delCookiesButtonX.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.delCookiesButtonX.Style.GradientAngle = 90;
this.delCookiesButtonX.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.delCookiesButtonX.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.delCookiesButtonX.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.delCookiesButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.delCookiesButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.delCookiesButtonX.TabIndex = 537;
this.delCookiesButtonX.Text = "删除";
this.delCookiesButtonX.Click += new System.EventHandler(this.delCookiesButtonX_Click_1);
//
// buttonEx4
//
this.buttonEx4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonEx4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonEx4.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonEx4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonEx4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonEx4.ForeColor = System.Drawing.Color.White;
this.buttonEx4.Location = new System.Drawing.Point(932, 36);
this.buttonEx4.Margin = new System.Windows.Forms.Padding(2);
this.buttonEx4.Name = "buttonEx4";
this.buttonEx4.Size = new System.Drawing.Size(85, 25);
this.buttonEx4.TabIndex = 404;
this.buttonEx4.Text = "新用户登录";
this.buttonEx4.UseVisualStyleBackColor = false;
this.buttonEx4.Click += new System.EventHandler(this.buttonEx4_Click);
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(10, 9);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(144, 16);
this.checkBox1.TabIndex = 560;
this.checkBox1.Text = "不再弹出淘宝登录校验";
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.ForeColor = System.Drawing.Color.Gray;
this.label1.Location = new System.Drawing.Point(155, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(342, 17);
this.label1.TabIndex = 561;
this.label1.Text = "勾选后重启软件前将自动跳过登录/验证(默认登录/验证失败)";
//
// IeForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1255, 696);
this.Controls.Add(this.pnlBody);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "IeForm";
this.Padding = new System.Windows.Forms.Padding(2);
this.ShowMaximizeBox = true;
this.Text = "为了正常上传,请登录淘宝买手号";
this.TitleText = "为了正常上传,请登录淘宝买手号";
this.Load += new System.EventHandler(this.IeForm_Load);
this.Controls.SetChildIndex(this.pnlBody, 0);
this.pnlBody.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pnlBody;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel3;
private UserControls.ButtonEx buttonEx4;
private DevComponents.DotNetBar.PanelEx delCookiesButtonX;
private System.Windows.Forms.ComboBox userComboBox;
private System.Windows.Forms.Label label25;
private DevComponents.DotNetBar.PanelEx panelSettleSlide;
private UserControls.ButtonEx buttonEx1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.CheckBox checkBox1;
//private UserControls.ButtonEx buttonEx1;
}
}
@@ -1,408 +0,0 @@
<?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>
AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAobIAPKKzAJegsADXnrAA85yu
AP2crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/nK0A/5uuAP2frgDzoLEA1aGyAJOfsQA4AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACdrgA8obQAvaW2
AP+qvAD/o7QA/56vAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/6O1AP+qvQD/pLUA/6Kz
ALegrgA2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH9/
AASfsQCPpLYA/6i6AP+erwD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/nK0A/56vAP+puwD/obMA/5+vAIcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAJaiABagsQDDrb8A/5+wAP+crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nK0A/5+xAP+tvwD/oLIAu4+fABAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAJ2pABSgsgDVqr0A/5ytAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na0A/6u+
AP+gsADNmaoADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJmZAASesADHqr0A/5ytAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+crQD/nK0A/5ytAP+crQD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+crQD/q74A/52tAL0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACaqwCTrb8A/5yt
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/nK0A/5qsAP+XqQD/lacA/5WnAP+WqAD/mKoA/5qrAP+aqwD/masA/5iqAP+WqAD/lacA/5Wn
AP+XqQD/mqsA/5ytAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52tAP+tvwD/mqsAhwAAAAAAAAAAAAAAAAAA
AACbrAA6prgA/5+wAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+ZqwD/lacA/5ipAP+jsxP/tMA+/8TOaf/T2o7/3uOq/+XpvP/p7cf/6u3J/+ns
xv/l6bv/3eOo/9LajP/Ezmj/tME+/6SzFf+ZqgD/lKcA/5epAP+crQD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/n7EA/6O0
AP+cqwAwAAAAAAAAAAAAAAAAm60Ayai6AP+crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/nK0A/5aoAP+WqAD/qbcj/8fQcf/k6Lv/+Pnu////////////////////
///////////////////////////////////////////////////5+e//5+vC/83VgP+wvjf/m6wA/5Sn
AP+ZqwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/5ytAP+puwD/mqwAvQAAAAAAAAAAna4APqa5AP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/l6kA/5ipAP+1wUT/3+Sv//z8+P//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////+zv0P/J0nj/prUd/5WnAP+YqgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/6S2AP+csAA0AAAAAJ2uAKOqvAD/na0A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+arAD/lacA/7C+Of/j6Ln/////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////r78//X3Zn/q7kq/5WnAP+ZqwD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ytAP+rvQD/na4AlZmq
AA6brQDlorMA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+XqQD/na4I/9La
jv//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////39
+f/V3Jb/pbQc/5SnAP+brQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/o7UA/5ysANmcrwBgm64A/Z6vAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+UpwD/q7ks/+zvz///////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////j57f/G0G//masA/5epAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/56vAP+drAD1m6wAt56vAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+UpgD/t8NJ//r68P//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////+bqwP+quSv/lKYA/5yt
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/m64A/ZytAPGdrgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+UpgD/vMhV//7+/f//////////////////////////////
///////////////////////////////////z9eD/xM5t/77IXv/l6bz/////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////+/vz/8HLYv+VpwD/mqwA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5yt
AP+esAD/nK0A/5ytAP+crQD/nK0A/5ytAP+crQD/nK0A/5ytAP+TpgD/uMRM//39/f/9/f3//f39//39
/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/r7s7/nq4N/6W0Hv+frw3/kqUA/9DY
hf/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39
/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3/1NuT/5iqAf+XqQD/nK0A/5ytAP+crQD/nK0A/5yt
AP+crQD/nK0A/5ytAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+WqAD/rrww//v8
9v/////////////////////////////////////////////////////////////////8/Pj/p7Yc/8rT
ev///////////626Lv+QowD/4ue0////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////k6Lf/n68O/5ep
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+ZqwD/n7AO//L03f//////////////////////////////////////////////////////////////
////////2+Gj/5KlAP+7x1D/zNR7/8jRcP+jshH/lacA/627KP/9/fv/////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////+vvy/+ishX/l6kA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+crQD/lacA/93ipf//////////////////////////////////////////////
/////////////////////////////7rGTP+WqAD/l6kA/5WnAP+VpwD/nK0A/52uAP+XqQD/6OvC////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////7vDR/6KyFv+ZqwD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lacA/7vGTf//////////////////////////////
//////////////////////////////////////////////////+ruSX/mKoA/52uAP+drgD/na4A/52u
AP+drgD/lKYA/9TbkP//////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////n68D/m6wD/5yt
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/m6wA/52uB//y9N3/////////
///////////////////////////////////////////////////////////////////r7sv/obEP/5mr
AP+drgD/na4A/52uAP+drgD/nK0A/5OmAP+0wED/9vfl////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////9vjp/6CwBv+brQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5Sn
AP/H0Gz/////////////////////////////////////////////////////////////////////////
///L03f/k6UA/56uBf+brAD/l6kA/52uAP+drgD/mKoA/5usAP+ruSP/m6wC/52uDv/r7sz/////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////+/y1/+drQH/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/5usAP+hsQ//+Pnu////////////////////////////////////////////////////
///////////////////Y35z/i54A/8nSdf/09eH/6+7L/7nFTP+YqgD/masA/6m4Jf/o7MX//v38//Hz
2/+ishn/o7IQ//39+///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////p7MX/masA/5ytAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+arAD/orIU/+Xpu///////////////////////////////
////////////////////////////////////////z9aB/7nFTf//////////////////////rbss/5Wn
AP/u8NH/////////////////7O/M/83Vfv/+/vz/////////////////////////////////////////
////////////////////////////////////////////////////////////////////////3+Sr/5ao
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5qrAP+WqAD/2d+c////
////////////////////////////////////////////////////////////////////////////////
///+/v7/0dmJ/56vDv+XqQD/w81j//v89v//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////9HYh/+VpwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/masA/5usA//w8tj/////////////////////////////////////////////////////////
/////////////////////////v79/73IU/+XqQD/l6kA/6e2G//3+Ov/////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////By17/lagA/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+TpgD/xc9p////////////////////////////////////
////////////////////////////////////////////////////////7/LX/+rtzP/7+/X/////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////sL0y/5ipAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/maoA/6q4Iv/9/fv/////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////9/jq/6Gx
C/+brAD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ut
AP+drgL/8fPc////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////+Xpu/+XqQD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/l6kA/+Lntf///////////////////////////+/y1v/09uP/////////
//////////////v89f/f5LH/+vvz//////////////////////////////////////////////////z8
9//q7sz////////////////////////////q7cr/6OvD////////////////////////////////////
///////////////////////////////////N1X3/lKcA/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5SnAP/R2Yn/////////////////////////
//+1wT//lqgA/83Wf//o68L/6OvC/9DYhv+ishb/lKYA/+/y1///////////////////////////////
///////////////////t8NH/k6UA/7G+Ov/c4qX/6u3I/+Dlr/++yFj/jqEA/7nFSv//////////////
////////////////////////////////////////////////////////tMA7/5epAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+WqAD/vchU////
////////////////////////8PPa/7rFUv+YqQD/lacA/5WnAP+XqQD/tMBD/+nsxP//////////////
/////////////////////////////////////////f77/9rgoP+ltB//lacA/5WnAP+UpwD/n7AP/8vT
e//4+e7/////////////////////////////////////////////////////////////////9fbl/5+v
CP+brAD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/masA/6i3Hf/9/fn/////////////////////////////////9fbm/+bqwv/m6sL/9Pbl////
/////////////////////////////////////////////////////////////////////////////+3w
1P/k6L7/6+7O//z89///////////////////////////////////////////////////////////////
/////////////9vhof+VpwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/5ytAP+aqwD/7O/P////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////7+/v+4xEj/lqgA/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lKcA/9DYh///////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////9/vz/qrgj/5mqAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ep
AP+xvjL/////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////8TN
Zf+VpwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+aqwD/l6kA/+vuzP//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////g5a7/lqgA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+brAD/p7Ya/5mqAv/Ayln/////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////9vfo/6CwCf+brAD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lacA/9DXhP/Q2IT/k6YA//L0
3f//////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////+yvzf/l6kA/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ao
AP/i57T//v7+/5+vEP+6xUz/////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////yNFw/5SnAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/5utAP+drgP/8PPa///////h5rH/kKMA/+Tot///////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////93jqP+WqAD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+ZqwD/qLcd//z9+f///////////7/KW/+drgv/+frw////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////v8dX/nK0B/5ytAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/l6kA/7XCQP//////////////
///8/Pj/pbUe/7K/Pv//////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////+////////////////////////////////////////+/z2/6a1
GP+aqwD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5Wo
AP/CzGD///////////////////////L03P+ZqwT/v8pe////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////j57v/39ur/////////////////////////
//////////////////+zwDr/l6kA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+VpwD/zNR6////////////////////////////7O/M/5mqBP+/yV7/////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////v79f/g5a//+/z2////
////////////////////////////////////////wMtc/5WoAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/lacA/9LZi///////////////////////////////
///v8dT/oLAV/7G+Pv/4+ev/////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////39
+//O1oD/8fPa/////////////////////////////////////////////////8zUe/+VpwD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5WnAP/U25D/////////
//////////////////////////////j56/+wvTz/na4Q/93jqv//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////n67/+7xlD/4OWu////////////////////////////////////////////////////
///W3JT/lacA/52uAP+drgD/na4A/52uAP+drgD/na4A/56wAP+crQD/nK0A/5ytAP+crQD/nK0A/5yt
AP+UpgD/z9eF//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39/8zUgP+bqwz/tsJM/+Xp
wP/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39/f/9/f3//f39//39
/f/9/f3//f39//39/f/9/f3//f39/+Xpvv+otyb/0dmK//39/f/9/f3//f39//39/f/9/f3//f39//39
/f/9/f3//f39//39/f/9/f3/2+Gl/5WnAP+crQD/nK0A/5ytAP+crQD/nK0A/52uAP+drADzna4A/52u
AP+drgD/na4A/52uAP+drgD/lacA/8XPaf//////////////////////////////////////////////
////////09qK/5CjAP+YqgD/sr86/9Tbkf/v8db//v7+////////////////////////////////////
///////////////////////////////////5+vH/3+Su/7jETP+SpQD/xs9q////////////////////
/////////////////////////////////////////////+Dlrv+XqQD/na4A/52uAP+drgD/na4A/52u
AP+crQD/nKsAu56vAP+drgD/na4A/52uAP+drgD/na4A/5iqAP+wvTD/////////////////////////
////////////////////////1dyU/52uC/+brQD/nK0A/5epAP+VpwD/nK0B/6y6Kf+8yFT/zNR8/9nf
nv/k6Ln/6+7N//Hz2v/z9eH/8/Xh//Hz2v/q7sr/4OWv/9DYh/+7xlD/pbQY/5aoAP+WqAD/masA/6e2
JP/q7cj////////////////////////////////////////////////////////////f5K3/lqgA/52u
AP+drgD/na4A/52uAP+drgD/m64A/ZyuAGSbrgD9nq8A/52uAP+drgD/na4A/52uAP+crQD/maoA/+jr
wv/////////////////////////////////29+b/vslb/5WnAP+arAD/na4A/52uAP+drgD/na4A/5ut
AP+YqgD/lqgA/5WnAP+VpwD/mKkA/5usAP+ergL/n7AG/5+wB/+ergL/mqsA/5epAP+VpwD/lqgA/5qr
AP+drgD/na4A/52uAP+YqgD/na4K/93jqP//////////////////////////////////////////////
////////2eCe/5WnAP+drgD/na4A/52uAP+drgD/nq8A/52sAPWbqQASnK4A56KzAP+drgD/na4A/52u
AP+drgD/na4A/5iqAP+otiL/7fDS//////////////////X25v/Q2In/o7IW/5WnAP+crQD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ytAP+crQD/m60A/5usAP+brAD/m60A/5yt
AP+crQD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5mrAP+WqQD/xs9v//v79P//////////////
/////////////////////////////83Vff+UpwD/na4A/52uAP+drgD/na4A/6O0AP+drQDbAAAAAJ2u
AKeqvAD/na0A/52uAP+drgD/na4A/52uAP+drgD/mKoA/56vBv+5xUr/wsxh/7fDRf+isg//lacA/5qr
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nK0A/5Sn
AP+quCj/3+St//////////////////////////////////////+1wT7/l6kA/52uAP+drgD/na4A/5yt
AP+qvQD/nawAmwAAAACdsABEp7kA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+brAD/lqgA/5Wn
AP+XqQD/mqwA/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/mKoA/5aoAP+zwD//3uOr//v79f/////////////////l6bz/masC/5yt
AP+drgD/na4A/52uAP+erwD/pbcA/5+xADgAAAAAAAAAAJqsAM+nuQD/nK0A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+crQD/l6kA/5aoAP+nth3/vslY/8zV
fP/Fz2n/oLAM/5qrAP+drgD/na4A/52uAP+crQD/qLoA/5ysAMMAAAAAAAAAAAAAAACarQBCp7kA/56v
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/masA/5aoAP+VpwD/lacA/5usAP+drgD/na4A/52uAP+drgD/n7AA/6S2AP+dqwA2AAAAAAAA
AAAAAAAAAAAAAJurAJ2svwD/nK0A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nK0A/62/
AP+bqwCPAAAAAAAAAAAAAAAAAAAAAAAAAACfvwAInbAAz6q8AP+crQD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/nK0A/6u9AP+crQDFf78ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJepABqfsgDfqbwA/5yt
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/nK0A/6q9AP+gsgDVmbIAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAlacAHKGxAM2svwD/nq8A/5ytAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+crQD/n7AA/62/AP+hsgDFlqIAFgAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACNqQAIoLEAm6e5AP+nuQD/na4A/52tAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/5ytAP+drgD/p7kA/6W3AP+gsgCTZpkABAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACerwBGobMAx6e5
AP+puwD/obMA/56vAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/6KzAP+qvAD/prgA/6C0
AMOcsABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAACisQBIobEApaCxAOOerwD7nq8A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/nq8A/52w
APmgsADhoLMAn6OyAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChuwASorQAZqCyALeerwDvnrAA/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52uAP+drgD/na4A/52u
AP+esAD/n7AA66CzALOitQBgqrsADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA/+AAAAAAA///gAAAAAAA//4AAAAAAAA//AAAAAAAAB/4AAAAAAAAD/AAAAAAAAAH4AAAAAAA
AAPgAAAAAAAAA8AAAAAAAAABwAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAA
AACAAAAAAAAAAMAAAAAAAAABwAAAAAAAAAHgAAAAAAAAA+AAAAAAAAAD8AAAAAAAAAf4AAAAAAAAD/wA
AAAAAAAf/gAAAAAAAD//gAAAAAAA///gAAAAAAP///wAAAAAH/8=
</value>
</data>
</root>
@@ -1,608 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class ShopProductForm
{
/// <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();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnStop = new TemuKJD.UserControls.ButtonEx();
this.btnDelOffSale = new TemuKJD.UserControls.ButtonEx();
this.btnDelOnSale = new TemuKJD.UserControls.ButtonEx();
this.btnOffline = new TemuKJD.UserControls.ButtonEx();
this.btnOnline = new TemuKJD.UserControls.ButtonEx();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnGetProductCount = new TemuKJD.UserControls.ButtonEx();
this.btnRefreshShop = new TemuKJD.UserControls.ButtonEx();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.txtKeywords = new DevComponents.DotNetBar.Controls.TextBoxX();
this.label1 = new System.Windows.Forms.Label();
this.chkNotOperateChangeDays = new System.Windows.Forms.CheckBox();
this.chkNotOperateHasSales = new System.Windows.Forms.CheckBox();
this.txtNotOperateChangeDays = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtOperateCount = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colAuthStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
this.colOnSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOffSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOperationCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnFailedDetail = new TemuKJD.UserControls.ButtonEx();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx3.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.buttonEx1);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(933, 637);
this.splitContainer1.SplitterDistance = 120;
this.splitContainer1.TabIndex = 378;
//
// buttonEx1
//
this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonEx1.ForeColor = System.Drawing.Color.White;
this.buttonEx1.Location = new System.Drawing.Point(842, 11);
this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
this.buttonEx1.Name = "buttonEx1";
this.buttonEx1.Size = new System.Drawing.Size(80, 26);
this.buttonEx1.TabIndex = 404;
this.buttonEx1.Text = "测试延迟发货";
this.buttonEx1.UseVisualStyleBackColor = false;
this.buttonEx1.Visible = false;
this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click);
//
// ucGroupBoxEx3
//
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx3.Controls.Add(this.btnStop);
this.ucGroupBoxEx3.Controls.Add(this.btnDelOffSale);
this.ucGroupBoxEx3.Controls.Add(this.btnDelOnSale);
this.ucGroupBoxEx3.Controls.Add(this.btnOffline);
this.ucGroupBoxEx3.Controls.Add(this.btnOnline);
this.ucGroupBoxEx3.Location = new System.Drawing.Point(506, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
this.ucGroupBoxEx3.Size = new System.Drawing.Size(200, 120);
this.ucGroupBoxEx3.TabIndex = 396;
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "操作";
//
// btnStop
//
this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStop.ForeColor = System.Drawing.Color.White;
this.btnStop.Location = new System.Drawing.Point(21, 83);
this.btnStop.Margin = new System.Windows.Forms.Padding(2);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(80, 26);
this.btnStop.TabIndex = 379;
this.btnStop.Text = "停止操作";
this.btnStop.UseVisualStyleBackColor = false;
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// btnDelOffSale
//
this.btnDelOffSale.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDelOffSale.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelOffSale.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnDelOffSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDelOffSale.ForeColor = System.Drawing.Color.White;
this.btnDelOffSale.Location = new System.Drawing.Point(21, 53);
this.btnDelOffSale.Margin = new System.Windows.Forms.Padding(2);
this.btnDelOffSale.Name = "btnDelOffSale";
this.btnDelOffSale.Size = new System.Drawing.Size(80, 26);
this.btnDelOffSale.TabIndex = 378;
this.btnDelOffSale.Text = "删除仓库";
this.btnDelOffSale.UseVisualStyleBackColor = false;
this.btnDelOffSale.Click += new System.EventHandler(this.btnDelOffSale_Click);
//
// btnDelOnSale
//
this.btnDelOnSale.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDelOnSale.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelOnSale.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnDelOnSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDelOnSale.ForeColor = System.Drawing.Color.White;
this.btnDelOnSale.Location = new System.Drawing.Point(105, 53);
this.btnDelOnSale.Margin = new System.Windows.Forms.Padding(2);
this.btnDelOnSale.Name = "btnDelOnSale";
this.btnDelOnSale.Size = new System.Drawing.Size(80, 26);
this.btnDelOnSale.TabIndex = 377;
this.btnDelOnSale.Text = "删除在售";
this.btnDelOnSale.UseVisualStyleBackColor = false;
this.btnDelOnSale.Click += new System.EventHandler(this.btnDelOnSale_Click);
//
// btnOffline
//
this.btnOffline.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnOffline.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOffline.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOffline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOffline.ForeColor = System.Drawing.Color.White;
this.btnOffline.Location = new System.Drawing.Point(105, 23);
this.btnOffline.Margin = new System.Windows.Forms.Padding(2);
this.btnOffline.Name = "btnOffline";
this.btnOffline.Size = new System.Drawing.Size(80, 26);
this.btnOffline.TabIndex = 376;
this.btnOffline.Text = "商品下架";
this.btnOffline.UseVisualStyleBackColor = false;
this.btnOffline.Click += new System.EventHandler(this.btnOffline_Click);
//
// btnOnline
//
this.btnOnline.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnOnline.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOnline.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOnline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOnline.ForeColor = System.Drawing.Color.White;
this.btnOnline.Location = new System.Drawing.Point(21, 23);
this.btnOnline.Margin = new System.Windows.Forms.Padding(2);
this.btnOnline.Name = "btnOnline";
this.btnOnline.Size = new System.Drawing.Size(80, 26);
this.btnOnline.TabIndex = 375;
this.btnOnline.Text = "商品上架";
this.btnOnline.UseVisualStyleBackColor = false;
this.btnOnline.Click += new System.EventHandler(this.btnOnline_Click);
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnGetProductCount);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 120);
this.ucGroupBoxEx1.TabIndex = 393;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "店铺刷新";
//
// btnGetProductCount
//
this.btnGetProductCount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnGetProductCount.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnGetProductCount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnGetProductCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnGetProductCount.ForeColor = System.Drawing.Color.White;
this.btnGetProductCount.Location = new System.Drawing.Point(16, 67);
this.btnGetProductCount.Margin = new System.Windows.Forms.Padding(2);
this.btnGetProductCount.Name = "btnGetProductCount";
this.btnGetProductCount.Size = new System.Drawing.Size(112, 26);
this.btnGetProductCount.TabIndex = 375;
this.btnGetProductCount.Text = "获取商品数量";
this.btnGetProductCount.UseVisualStyleBackColor = false;
this.btnGetProductCount.Click += new System.EventHandler(this.btnGetProduct_Click);
//
// btnRefreshShop
//
this.btnRefreshShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.ForeColor = System.Drawing.Color.White;
this.btnRefreshShop.Location = new System.Drawing.Point(16, 30);
this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(2);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(112, 26);
this.btnRefreshShop.TabIndex = 374;
this.btnRefreshShop.Text = "刷新店铺状态";
this.btnRefreshShop.UseVisualStyleBackColor = false;
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// ucGroupBoxEx2
//
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx2.Controls.Add(this.txtKeywords);
this.ucGroupBoxEx2.Controls.Add(this.label1);
this.ucGroupBoxEx2.Controls.Add(this.chkNotOperateChangeDays);
this.ucGroupBoxEx2.Controls.Add(this.chkNotOperateHasSales);
this.ucGroupBoxEx2.Controls.Add(this.txtNotOperateChangeDays);
this.ucGroupBoxEx2.Controls.Add(this.label2);
this.ucGroupBoxEx2.Controls.Add(this.txtOperateCount);
this.ucGroupBoxEx2.Controls.Add(this.label12);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(146, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(360, 120);
this.ucGroupBoxEx2.TabIndex = 395;
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "参数";
//
// txtKeywords
//
//
//
//
this.txtKeywords.Border.Class = "TextBoxBorder";
this.txtKeywords.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtKeywords.Location = new System.Drawing.Point(249, 25);
this.txtKeywords.Multiline = true;
this.txtKeywords.Name = "txtKeywords";
this.txtKeywords.PreventEnterBeep = true;
this.txtKeywords.Size = new System.Drawing.Size(96, 84);
this.txtKeywords.TabIndex = 406;
this.txtKeywords.WatermarkText = "仅下架或删除包含列表关键词的商品\r\n一行一个";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(177, 28);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(68, 17);
this.label1.TabIndex = 405;
this.label1.Text = "包含关键词";
//
// chkNotOperateChangeDays
//
this.chkNotOperateChangeDays.AutoSize = true;
this.chkNotOperateChangeDays.Checked = true;
this.chkNotOperateChangeDays.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkNotOperateChangeDays.Location = new System.Drawing.Point(16, 59);
this.chkNotOperateChangeDays.Name = "chkNotOperateChangeDays";
this.chkNotOperateChangeDays.Size = new System.Drawing.Size(15, 14);
this.chkNotOperateChangeDays.TabIndex = 403;
this.chkNotOperateChangeDays.UseVisualStyleBackColor = true;
this.chkNotOperateChangeDays.CheckedChanged += new System.EventHandler(this.chkNotOperateChangeDays_CheckedChanged);
//
// chkNotOperateHasSales
//
this.chkNotOperateHasSales.AutoSize = true;
this.chkNotOperateHasSales.Checked = true;
this.chkNotOperateHasSales.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkNotOperateHasSales.Location = new System.Drawing.Point(16, 86);
this.chkNotOperateHasSales.Name = "chkNotOperateHasSales";
this.chkNotOperateHasSales.Size = new System.Drawing.Size(123, 21);
this.chkNotOperateHasSales.TabIndex = 403;
this.chkNotOperateHasSales.Text = "商品有销量不清理";
this.chkNotOperateHasSales.UseVisualStyleBackColor = true;
this.chkNotOperateHasSales.CheckedChanged += new System.EventHandler(this.chkNotOperateHasSales_CheckedChanged);
//
// txtNotOperateChangeDays
//
this.txtNotOperateChangeDays.Location = new System.Drawing.Point(64, 55);
this.txtNotOperateChangeDays.Name = "txtNotOperateChangeDays";
this.txtNotOperateChangeDays.Size = new System.Drawing.Size(36, 23);
this.txtNotOperateChangeDays.TabIndex = 402;
this.txtNotOperateChangeDays.Text = "7";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(33, 58);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(172, 17);
this.label2.TabIndex = 397;
this.label2.Text = "跳过 天内修改过的商品";
//
// txtOperateCount
//
this.txtOperateCount.Location = new System.Drawing.Point(71, 25);
this.txtOperateCount.Name = "txtOperateCount";
this.txtOperateCount.Size = new System.Drawing.Size(79, 23);
this.txtOperateCount.TabIndex = 376;
this.txtOperateCount.Text = "999999";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(13, 28);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(56, 17);
this.label12.TabIndex = 378;
this.label12.Text = "处理数量";
this.label12.Click += new System.EventHandler(this.label12_Click);
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.btnFailedDetail);
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
this.splitContainer2.Size = new System.Drawing.Size(933, 513);
this.splitContainer2.SplitterDistance = 483;
this.splitContainer2.TabIndex = 7;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colShopId,
this.colShopName,
this.colAuthStatus,
this.colLoginStatus,
this.colCanUse,
this.colDetail,
this.colOnSaleCount,
this.colOffSaleCount,
this.colOperationCount,
this.colStatus});
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 4);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(925, 479);
this.dgvShop.TabIndex = 6;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 41;
//
// colShopId
//
this.colShopId.HeaderText = "店铺Id";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Visible = false;
this.colShopId.Width = 150;
//
// colShopName
//
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colShopName.Width = 250;
//
// colAuthStatus
//
this.colAuthStatus.HeaderText = "授权状态";
this.colAuthStatus.Name = "colAuthStatus";
this.colAuthStatus.ReadOnly = true;
this.colAuthStatus.Width = 68;
//
// colLoginStatus
//
this.colLoginStatus.HeaderText = "登录状态";
this.colLoginStatus.Name = "colLoginStatus";
this.colLoginStatus.ReadOnly = true;
this.colLoginStatus.Width = 68;
//
// colCanUse
//
this.colCanUse.HeaderText = "可用";
this.colCanUse.Name = "colCanUse";
this.colCanUse.ReadOnly = true;
this.colCanUse.Width = 50;
//
// colDetail
//
this.colDetail.HeaderText = "查看详情";
this.colDetail.Name = "colDetail";
this.colDetail.ReadOnly = true;
this.colDetail.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDetail.Visible = false;
this.colDetail.Width = 90;
//
// colOnSaleCount
//
this.colOnSaleCount.HeaderText = "出售中";
this.colOnSaleCount.Name = "colOnSaleCount";
this.colOnSaleCount.ReadOnly = true;
this.colOnSaleCount.Width = 80;
//
// colOffSaleCount
//
this.colOffSaleCount.HeaderText = "仓库中";
this.colOffSaleCount.Name = "colOffSaleCount";
this.colOffSaleCount.ReadOnly = true;
this.colOffSaleCount.Width = 80;
//
// colOperationCount
//
this.colOperationCount.HeaderText = "操作数量";
this.colOperationCount.Name = "colOperationCount";
this.colOperationCount.ReadOnly = true;
//
// colStatus
//
this.colStatus.HeaderText = "操作状态";
this.colStatus.Name = "colStatus";
this.colStatus.ReadOnly = true;
this.colStatus.Width = 200;
//
// btnFailedDetail
//
this.btnFailedDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnFailedDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnFailedDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFailedDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnFailedDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFailedDetail.ForeColor = System.Drawing.Color.White;
this.btnFailedDetail.Location = new System.Drawing.Point(850, -3);
this.btnFailedDetail.Margin = new System.Windows.Forms.Padding(2);
this.btnFailedDetail.Name = "btnFailedDetail";
this.btnFailedDetail.Size = new System.Drawing.Size(80, 26);
this.btnFailedDetail.TabIndex = 376;
this.btnFailedDetail.Text = "失败详情";
this.btnFailedDetail.UseVisualStyleBackColor = false;
this.btnFailedDetail.Visible = false;
this.btnFailedDetail.Click += new System.EventHandler(this.btnFailedDetail_Click);
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(933, 26);
this.statusBar.TabIndex = 2;
//
// ShopProductForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(933, 637);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "ShopProductForm";
this.Text = "ShopProductForm";
this.Load += new System.EventHandler(this.ShopProductForm_Load);
this.VisibleChanged += new System.EventHandler(this.ShopProductForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx3.ResumeLayout(false);
this.ucGroupBoxEx1.ResumeLayout(false);
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private UserControls.ButtonEx btnRefreshShop;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtOperateCount;
private System.Windows.Forms.Label label12;
private UserComponent.DataGridViewEx dgvShop;
private UserControls.ButtonEx btnGetProductCount;
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
private System.Windows.Forms.CheckBox chkNotOperateHasSales;
private System.Windows.Forms.TextBox txtNotOperateChangeDays;
private UserControls.ButtonEx btnDelOffSale;
private UserControls.ButtonEx btnDelOnSale;
private UserControls.ButtonEx btnOffline;
private UserControls.ButtonEx btnOnline;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserControls.StatusBarUserControl statusBar;
private UserControls.ButtonEx btnFailedDetail;
private UserControls.ButtonEx btnStop;
private UserControls.ButtonEx buttonEx1;
private System.Windows.Forms.CheckBox chkNotOperateChangeDays;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colAuthStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
private System.Windows.Forms.DataGridViewLinkColumn colDetail;
private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colOffSaleCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colOperationCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colStatus;
private DevComponents.DotNetBar.Controls.TextBoxX txtKeywords;
private System.Windows.Forms.Label label1;
}
}
File diff suppressed because it is too large. Load diff
@@ -1,153 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colAuthStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCanUse.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colDetail.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOnSaleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOffSaleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOperationCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,474 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class SpecialDelaySendForm
{
/// <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();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.label1 = new System.Windows.Forms.Label();
this.txtNotOperateDays = new System.Windows.Forms.TextBox();
this.txtTotalCount = new System.Windows.Forms.TextBox();
this.label26 = new System.Windows.Forms.Label();
this.chkIsNotOperateDays = new System.Windows.Forms.CheckBox();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnRefresh = new TemuKJD.UserControls.ButtonEx();
this.btnStop = new TemuKJD.UserControls.ButtonEx();
this.btnStart = new TemuKJD.UserControls.ButtonEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.pnlShowError = new DevComponents.DotNetBar.PanelEx();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.panelEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
this.splitContainer1.Panel1.Controls.Add(this.btnStart);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(1139, 601);
this.splitContainer1.SplitterDistance = 81;
this.splitContainer1.TabIndex = 4;
//
// ucGroupBoxEx2
//
this.ucGroupBoxEx2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.SQUARE;
this.ucGroupBoxEx2.Controls.Add(this.label1);
this.ucGroupBoxEx2.Controls.Add(this.txtNotOperateDays);
this.ucGroupBoxEx2.Controls.Add(this.txtTotalCount);
this.ucGroupBoxEx2.Controls.Add(this.label26);
this.ucGroupBoxEx2.Controls.Add(this.chkIsNotOperateDays);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(117, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(272, 81);
this.ucGroupBoxEx2.TabIndex = 400;
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "参数";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(98, 51);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(104, 17);
this.label1.TabIndex = 406;
this.label1.Text = "天内修改过的商品";
//
// txtNotOperateDays
//
this.txtNotOperateDays.Location = new System.Drawing.Point(60, 49);
this.txtNotOperateDays.Name = "txtNotOperateDays";
this.txtNotOperateDays.Size = new System.Drawing.Size(36, 21);
this.txtNotOperateDays.TabIndex = 404;
this.txtNotOperateDays.Text = "7";
this.txtNotOperateDays.TextChanged += new System.EventHandler(this.txtNotOperateDays_TextChanged);
//
// txtTotalCount
//
this.txtTotalCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtTotalCount.Location = new System.Drawing.Point(78, 18);
this.txtTotalCount.Margin = new System.Windows.Forms.Padding(2);
this.txtTotalCount.Name = "txtTotalCount";
this.txtTotalCount.Size = new System.Drawing.Size(54, 23);
this.txtTotalCount.TabIndex = 381;
this.txtTotalCount.Text = "999999";
//
// label26
//
this.label26.AutoSize = true;
this.label26.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label26.Location = new System.Drawing.Point(12, 21);
this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(68, 17);
this.label26.TabIndex = 380;
this.label26.Text = "设置数量:";
//
// chkIsNotOperateDays
//
this.chkIsNotOperateDays.AutoSize = true;
this.chkIsNotOperateDays.Location = new System.Drawing.Point(15, 51);
this.chkIsNotOperateDays.Name = "chkIsNotOperateDays";
this.chkIsNotOperateDays.Size = new System.Drawing.Size(48, 16);
this.chkIsNotOperateDays.TabIndex = 405;
this.chkIsNotOperateDays.Text = "跳过";
this.chkIsNotOperateDays.UseVisualStyleBackColor = true;
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.SQUARE;
this.ucGroupBoxEx1.Controls.Add(this.btnRefresh);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(116, 81);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// btnRefresh
//
this.btnRefresh.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefresh.ForeColor = System.Drawing.Color.White;
this.btnRefresh.Location = new System.Drawing.Point(12, 31);
this.btnRefresh.Margin = new System.Windows.Forms.Padding(2);
this.btnRefresh.Name = "btnRefresh";
this.btnRefresh.Size = new System.Drawing.Size(90, 25);
this.btnRefresh.TabIndex = 398;
this.btnRefresh.Text = "刷新店铺";
this.btnRefresh.UseVisualStyleBackColor = false;
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
//
// btnStop
//
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStop.ForeColor = System.Drawing.Color.White;
this.btnStop.Location = new System.Drawing.Point(1058, 8);
this.btnStop.Margin = new System.Windows.Forms.Padding(2);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(72, 25);
this.btnStop.TabIndex = 395;
this.btnStop.Text = "停止设置";
this.btnStop.UseVisualStyleBackColor = false;
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// btnStart
//
this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStart.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStart.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStart.ForeColor = System.Drawing.Color.White;
this.btnStart.Location = new System.Drawing.Point(982, 8);
this.btnStart.Margin = new System.Windows.Forms.Padding(2);
this.btnStart.Name = "btnStart";
this.btnStart.Size = new System.Drawing.Size(72, 25);
this.btnStart.TabIndex = 387;
this.btnStart.Text = "开始设置";
this.btnStart.UseVisualStyleBackColor = false;
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1139, 516);
this.splitContainer3.SplitterDistance = 486;
this.splitContainer3.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1139, 486);
this.splitContainer2.SplitterDistance = 347;
this.splitContainer2.TabIndex = 0;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colShopId,
this.colShopName,
this.colLoginStatus,
this.colMessage});
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 0);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(343, 486);
this.dgvShop.TabIndex = 6;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 40;
//
// colShopId
//
this.colShopId.HeaderText = "店铺";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Width = 70;
//
// colShopName
//
this.colShopName.FillWeight = 150F;
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colShopName.Width = 90;
//
// colLoginStatus
//
this.colLoginStatus.HeaderText = "可用";
this.colLoginStatus.Name = "colLoginStatus";
this.colLoginStatus.ReadOnly = true;
this.colLoginStatus.Width = 60;
//
// colMessage
//
this.colMessage.HeaderText = "消息";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 120;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.Controls.Add(this.pnlShowError);
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelEx1.Location = new System.Drawing.Point(0, 0);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Padding = new System.Windows.Forms.Padding(1);
this.panelEx1.Size = new System.Drawing.Size(784, 486);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.White;
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.White;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 183;
//
// pnlShowError
//
this.pnlShowError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlShowError.CanvasColor = System.Drawing.Color.Empty;
this.pnlShowError.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlShowError.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlShowError.Location = new System.Drawing.Point(182, 192);
this.pnlShowError.Name = "pnlShowError";
this.pnlShowError.Size = new System.Drawing.Size(419, 100);
this.pnlShowError.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlShowError.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
this.pnlShowError.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(226)))), ((int)(((byte)(255)))));
this.pnlShowError.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.pnlShowError.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.pnlShowError.Style.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlShowError.Style.ForeColor.Color = System.Drawing.Color.Red;
this.pnlShowError.Style.GradientAngle = 90;
this.pnlShowError.TabIndex = 187;
this.pnlShowError.Text = "panelEx3";
this.pnlShowError.Visible = false;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
this.splitContainer4.Size = new System.Drawing.Size(1139, 26);
this.splitContainer4.SplitterDistance = 732;
this.splitContainer4.TabIndex = 3;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(732, 26);
this.statusBar.TabIndex = 2;
//
// SpecialDelaySendForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1139, 601);
this.Controls.Add(this.splitContainer1);
this.Name = "SpecialDelaySendForm";
this.Text = "SpecialDelaySendForm";
this.Load += new System.EventHandler(this.SpecialDelaySendForm_Load);
this.VisibleChanged += new System.EventHandler(this.SpecialDelaySendForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
this.ucGroupBoxEx1.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.panelEx1.ResumeLayout(false);
this.splitContainer4.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private System.Windows.Forms.TextBox txtTotalCount;
private System.Windows.Forms.Label label26;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private UserControls.ButtonEx btnRefresh;
private UserControls.ButtonEx btnStop;
private UserControls.ButtonEx btnStart;
private System.Windows.Forms.SplitContainer splitContainer3;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvShop;
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.PanelEx pnlShowError;
private System.Windows.Forms.SplitContainer splitContainer4;
private UserControls.StatusBarUserControl statusBar;
private System.Windows.Forms.TextBox txtNotOperateDays;
private System.Windows.Forms.CheckBox chkIsNotOperateDays;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private System.Windows.Forms.Label label1;
}
}
@@ -1,557 +0,0 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using CefSharp.WinForms;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work.DouyinApiClass;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class SpecialDelaySendForm : BaseForm
{
private CheckBox chkSelectAll = null;
bool isNotOperateDays = true;
public DateTime notOperateDate = DateTime.Now.Date.AddDays(-7);
CancellationTokenSource cancellationTokenSource = null;
ChromiumWebBrowser webBrowser = null;
int operateCount = 999999;
string keyWords = "";
bool isRun = false;
public SpecialDelaySendForm()
{
InitializeComponent();
}
private void btnRefresh_Click(object sender, EventArgs e)
{
LoadShops();
}
private void SpecialDelaySendForm_VisibleChanged(object sender, EventArgs e)
{
if (Visible)
LoadShops();
}
private void txtNotOperateDays_TextChanged(object sender, EventArgs e)
{
if (txtNotOperateDays.ParseToInt() > 15)
txtNotOperateDays.Text = "15";
}
public void LoadShops()
{
for (int i = 0; i < GlobalConfig.ShopLoginList.Count; i++)
{
var shop = GlobalConfig.ShopLoginList[i];
var row = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
if (row == null)
dgvShop.Rows.Add(false, shop.ShopId, shop.ShopAccount, shop.LoginStatus == "登录成功" && shop.ApiAuthStatus == "授权成功" ? "可用" : "");
else
{
row.Cells["colLoginStatus"].Value = shop.LoginStatus;
}
}
}
public string GetShopProductListData(ShopLoginInfo shop, int productStatus = 0, int page = 1, int pageSize = 50)
{
// 读取在售商品数量
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("page", page.ToString());
dictionary.Add("size", pageSize.ToString());
if (productStatus == 0)
dictionary.Add("check_status", "3");
dictionary["status"] = productStatus.ToString();
DouyinApi douApi = new DouyinApi(shop);
douApi.JsonData = dictionary;
var resultOnline = douApi.GetProductList();
return resultOnline;
}
void GetShopProduct(ShopLoginInfo shop, bool isShowResult = true)
{
DataGridViewRow row = null;
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null)
{
if (isShowResult)
row.Cells["colMessage"].Value = "正在获取店铺商品数量";
}
}));
// 读取在售商品数量
var resultOnline = GetShopProductListData(shop, 0, 1, 10);
if (resultOnline.Contains("\"code\":10000"))
{
if (row != null)
{
var text = BaseRegex.GetStringJson(ref resultOnline, "total");
shop.OnlineProductCount = text.ParseToInt();
Invoke(new Action(() =>
{
//row.Cells["colOnSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
}));
}
}
// 读取下架商品数量
var resultOffline = GetShopProductListData(shop, 1, 1, 10);
if (resultOffline.Contains("\"code\":10000"))
{
if (row != null)
{
var text = BaseRegex.GetStringJson(ref resultOffline, "total");
shop.OfflineProductCount = text.ParseToInt();
Invoke(new Action(() =>
{
//row.Cells["colOffSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
}));
}
}
string resultShowText = "";
if (resultOnline.Contains("\"code\":10000") && resultOffline.Contains("\"code\":10000"))
{
resultShowText = "商品数量获取成功";
}
else
{
resultShowText = "商品数量获取失败";
if (!resultOnline.Contains("\"code\":10000"))
{
var html = BaseRegex.GetStringJson(ref resultOnline, "sub_msg");
if (string.IsNullOrEmpty(html))
html = resultOnline;
resultShowText += ",获取在售商品错误:" + html;
}
if (!resultOffline.Contains("\"code\":10000"))
{
var html = BaseRegex.GetStringJson(ref resultOffline, "sub_msg");
if (string.IsNullOrEmpty(html))
html = resultOffline;
resultShowText += ",获取仓库商品错误:" + html;
}
}
Invoke(new Action(() =>
{
if (row != null)
{
if (isShowResult)
row.Cells["colMessage"].Value = resultShowText;
}
}));
}
private void btnStart_Click(object sender, EventArgs e)
{
this.operateCount = this.txtTotalCount.Text.ParseToInt();
var shopIds = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true)
.Select(r => r.Cells["colShopId"].Value?.ToString()).ToList();
var shops = GlobalConfig.ShopLoginList.Where(s => shopIds.Contains(s.ShopId)).ToList();
if (shops.Count == 0)
{
BaseMsgForm.ShowError("请选择要操作的店铺");
return;
}
isRun = true;
isNotOperateDays = chkIsNotOperateDays.Checked;
notOperateDate = DateTime.Now.Date.AddDays(0 - this.txtNotOperateDays.Text.ParseToInt());
btnStart.Enabled = false;
cancellationTokenSource = new CancellationTokenSource();
SetDelaySendCef(shops);
Task.Run(() =>
{
Thread.Sleep(8000);
Invoke(new Action(() => { btnStart.Enabled = true; }));
});
}
void SetDelaySendCef(List<ShopLoginInfo> shops)
{
Task.Run(() =>
{
InitCef();
while (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
continue;
for (int num = 0; num < shops.Count; num++)
{
Thread.Sleep(500);
var shop = shops[num];
if (shop == null)
{
continue;
}
if (!isRun)
{
Invoke(new Action(() =>
{
var row1 = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopId);
if (row1 != null)
row1.Cells["colMessage"].Value = "设置中断";
}));
break;
}
Invoke(new Action(() =>
{
this.statusBar.pgbTaskProgress.Maximum = shops.Count;
this.statusBar.lblTaskStatus.Text = "正在获取店铺:" + shop.ShopAccount + "商品";
this.statusBar.pgbTaskProgress.Value = (num + 1);
this.statusBar.pgbTaskProgress.Text = (num + 1) + "/" + shops.Count;
}));
// 获取商品数
GetShopProduct(shop);
int totalNumBase = shop.OnlineProductCount; // 下架开始时的在售商品数
int totalNum = shop.OnlineProductCount; // 在售商品数
int setNum = 0; // 下架商品数量(因关键词存在因此少于或等于商品循环计数)
int currentNum = 0; // 商品循环计数
int page = 0;
int pageSize = 50;
string offSaleMessage = "";
List<DouProductListInfo> productList = new List<DouProductListInfo>();
var onlineProductHtml = "";
while ((currentNum < operateCount && currentNum < totalNumBase) || page == 0)
{
page += 1;
currentNum += pageSize;
if (cancellationTokenSource != null && cancellationTokenSource.IsCancellationRequested)
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { Invoke(new Action(() => { row.Cells["colMessage"].Value = "下架中断"; })); }
break;
}
// 获取商品列表
onlineProductHtml = GetShopProductListData(shop, 0, page);
Thread.Sleep(Randomx.GetId(500, 1000));
if (onlineProductHtml.Contains("\"code\":10000"))
{
totalNum = BaseRegex.GetIntJson(ref onlineProductHtml, "total");
shop.OfflineProductCount = totalNum;
if (operateCount > totalNumBase)
operateCount = totalNumBase;
if (currentNum > totalNumBase)
currentNum = totalNumBase;
Invoke(new Action(() =>
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null)
{
//row.Cells["colOnSaleCount"].Value = totalNumBase;
}
}));
if (totalNum == 0)
{
offSaleMessage = "设置结束,店铺没有在售的商品";
Invoke(new Action(() =>
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
}));
break;
}
try
{
JObject jObj = JObject.Parse(onlineProductHtml);
var jObjDataStr = jObj["data"]?["data"]?.ToString();
if (!string.IsNullOrEmpty(jObjDataStr))
{
var addList = JsonHelper.DeserializeJsonToList<DouProductListInfo>(jObjDataStr);
if (addList != null)
productList.AddRange(addList);
}
offSaleMessage = "正在获取商品,第" + currentNum + "件商品,共" + operateCount + "件商品";
Invoke(new Action(() =>
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
}));
}
catch (Exception ex)
{
BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
}
}
else
{
var failMessage = BaseRegex.GetStringJson(ref onlineProductHtml, "sub_msg");
if (string.IsNullOrEmpty(failMessage))
failMessage = onlineProductHtml;
offSaleMessage = ("设置发货延迟失败," + failMessage).TrimEnd(',');
Invoke(new Action(() =>
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
}));
}
}
// 有关键词的过滤符合关键词
if (keyWords.Any())
productList = productList.Where(p => keyWords.Any(key => p.name.Contains(key))).ToList();
// 只操作指定天数之前修改的商品
if (isNotOperateDays)
productList = productList.Where(p => p.update_time < BaseClass.DateTimeToTimestampSeconds(notOperateDate)).ToList();
// 操作数大于满足筛选条件商品数时,操作数改为商品数
if (operateCount > productList.Count)
operateCount = productList.Count;
for (int i = 0; i < productList.Count && i < operateCount; i++)
{
if (cancellationTokenSource != null && cancellationTokenSource.IsCancellationRequested)
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { Invoke(new Action(() => { row.Cells["colMessage"].Value = "设置发货延迟中断"; })); }
break;
}
Invoke(new Action(() =>
{
offSaleMessage = "正在设置发货延迟,第 " + (i + 1) + " 件商品,共 " + operateCount + " 件商品";
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
this.statusBar.lblTaskStatus.Text = offSaleMessage;
}));
Thread.Sleep(50);
var product = productList[i];
setNum++;
var pid = product.product_id;
var cid = product.category_detail.fourth_cid;
if (cid == 0)
cid = product.category_detail.third_cid;
if (cid == 0)
cid = product.category_detail.second_cid;
if (cid == 0)
cid = product.category_detail.first_cid;
Thread.Sleep(Randomx.GetId(100, 300));
var cookie = shop.Cookies;
CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
t.Wait(2000);
Thread.Sleep(500);
this.webBrowser.Load("https://fxg.jinritemai.com/ffa/g/create?product_id=" + pid + "&cid=" + cid + "&entrance=edit");
Thread.Sleep(3000);
while (webBrowser.IsLoading)
{
Thread.Sleep(1000);
}
var jsStr = getJsElementStr +
"function getPos(elem) { var box = elem;" +
"if (box == null) return '-|-';" +
"var actualLeft = box.offsetLeft;" +
"var actualTop = box.offsetTop;" +
"var current = box.offsetParent;" +
"while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
"return '' + actualLeft + '|' + actualTop;}\r\n" +
"getPos(getElement('特殊日期延迟发货时间'));";
var result = "";
for (int x = 0; x < 100 && string.IsNullOrEmpty(result); x++)
{
var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
task.Wait();
result = task.Result?.Result?.ToString();
Thread.Sleep(1000);
}
Thread.Sleep(3000);
if (string.IsNullOrEmpty(result) || result == "-|-")
{
continue;
}
jsStr = "document.getElementById('goodsEditScrollContainer').scrollTop = " + result.Split('|').LastOrDefault() + ";";
{
var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
task.Wait();
result = task.Result?.Result?.ToString();
Thread.Sleep(1500);
}
jsStr = "function clickSwitchButton() { if (document.body.innerHTML.indexOf('最晚发货时间') < 0) document.getElementsByClassName('ant-switch')[0].click(); }\r\n" +
"clickSwitchButton();";
{
var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
task.Wait();
result = task.Result?.Result?.ToString();
Thread.Sleep(1500 + Randomx.GetId(1000));
}
jsStr = "document.getElementsByClassName('ant-btn sp-tooltip ant-btn-primary')[0].click();";
{
var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr);
task.Wait();
result = task.Result?.Result?.ToString();
Thread.Sleep(5000);
}
if (i == operateCount - 1)
{
offSaleMessage = "设置特殊发货时间完成";
Invoke(new Action(() =>
{
var row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colMessage"].Value = offSaleMessage; }
}));
}
// 操作过程中更新显示仓库商品数
if (i % 50 == 49 || i == operateCount - 1)
GetShopProduct(shop, false);
}
}
Invoke(new Action(() =>
{
this.btnStart.Enabled = true;
if (cancellationTokenSource != null && !cancellationTokenSource.IsCancellationRequested)
{
var text = "设置特殊发货时间完成!";
//if (!string.IsNullOrEmpty(FailedMessages))
//{
// text += "部分商品设置发货延迟失败,请查看详情。";
// btnFailedDetail.Visible = true;
//}
this.statusBar.lblTaskStatus.Text = text;
BaseMsgForm.ShowInfo(text);
}
else
{
var text = "设置特殊发货时间完成!";
//if (!string.IsNullOrEmpty(FailedMessages))
//{
// text += "部分商品设置发货延迟失败,请查看详情。";
// btnFailedDetail.Visible = true;
//}
this.statusBar.lblTaskStatus.Text = text;
BaseMsgForm.ShowInfo(text);
}
}));
}, cancellationTokenSource.Token);
}
void InitCef()
{
if (webBrowser == null)
{
Invoke(new Action(() =>
{
webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
webBrowser.KeyboardHandler = new KeyboardHandler();
webBrowser.Dock = DockStyle.Fill;
webBrowser.SendToBack();
this.panelEx1.Controls.Add(webBrowser);
}));
}
}
private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
switch (headerText)
{
case "操作":
case "全选":
case "选":
if (shop.LoginStatus == "登录成功" && shop.ApiAuthStatus == "授权成功")
{
dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
}
else
{
BaseMsgForm.ShowInfo("店铺未授权或未登录");
}
break;
}
}
private void SpecialDelaySendForm_Load(object sender, EventArgs e)
{
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Right, 0, 0, null, null, false);
chkSelectAll.Width = chkSelectAll.Height = 13;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
}
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
{
foreach (DataGridViewRow row in dgvShop.Rows)
{
row.Cells["colSelect"].Value = false;
}
}
else
{
var list = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
foreach (DataGridViewRow row in dgvShop.Rows)
{
if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
row.Cells["colSelect"].Value = true;
}
}
}
public string getJsElementStr = "function getElement(txt, elem) {\r\n" +
" var child = document.body.firstElementChild;\r\n" +
" if (elem) child = elem\r\n" +
" var element1 = null;\r\n" +
" while (child) {\r\n" +
" if (child.innerHTML.indexOf(txt) >= 0) {\r\n" +
" element1 = child;\r\n" +
" if (child.firstElementChild) {\r\n" +
" child = child.firstElementChild; continue;\r\n" +
" } else break;\r\n" +
" }\r\n" +
" child = child.nextElementSibling;\r\n" +
" }\r\n" +
" if (element1) {\r\n" +
" return element1;\r\n" +
" } else return error;\r\n" +
"}\r\n";
private void btnStop_Click(object sender, EventArgs e)
{
if (cancellationTokenSource != null)
cancellationTokenSource.Cancel();
}
}
}
@@ -1,132 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,457 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class StockSyncForm
{
/// <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 dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.txtKeywords = new System.Windows.Forms.TextBox();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnStop = new TemuKJD.UserControls.ButtonEx();
this.btnSetStock = new TemuKJD.UserControls.ButtonEx();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnGetProductCount = new TemuKJD.UserControls.ButtonEx();
this.btnRefreshShop = new TemuKJD.UserControls.ButtonEx();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.txtStockCount = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtOperateCount = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colDetail = new System.Windows.Forms.DataGridViewLinkColumn();
this.colOnSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOffSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOperationCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnFailedDetail = new TemuKJD.UserControls.ButtonEx();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx3.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.txtKeywords);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(856, 542);
this.splitContainer1.SplitterDistance = 120;
this.splitContainer1.TabIndex = 379;
//
// txtKeywords
//
this.txtKeywords.Location = new System.Drawing.Point(772, 12);
this.txtKeywords.Name = "txtKeywords";
this.txtKeywords.Size = new System.Drawing.Size(79, 23);
this.txtKeywords.TabIndex = 398;
this.txtKeywords.Visible = false;
//
// ucGroupBoxEx3
//
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx3.Controls.Add(this.btnStop);
this.ucGroupBoxEx3.Controls.Add(this.btnSetStock);
this.ucGroupBoxEx3.Location = new System.Drawing.Point(312, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
this.ucGroupBoxEx3.Size = new System.Drawing.Size(200, 120);
this.ucGroupBoxEx3.TabIndex = 396;
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "操作";
//
// btnStop
//
this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStop.ForeColor = System.Drawing.Color.White;
this.btnStop.Location = new System.Drawing.Point(21, 67);
this.btnStop.Margin = new System.Windows.Forms.Padding(2);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(80, 26);
this.btnStop.TabIndex = 379;
this.btnStop.Text = "停止操作";
this.btnStop.UseVisualStyleBackColor = false;
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// btnSetStock
//
this.btnSetStock.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSetStock.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSetStock.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSetStock.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSetStock.ForeColor = System.Drawing.Color.White;
this.btnSetStock.Location = new System.Drawing.Point(21, 30);
this.btnSetStock.Margin = new System.Windows.Forms.Padding(2);
this.btnSetStock.Name = "btnSetStock";
this.btnSetStock.Size = new System.Drawing.Size(80, 26);
this.btnSetStock.TabIndex = 375;
this.btnSetStock.Text = "设置库存";
this.btnSetStock.UseVisualStyleBackColor = false;
this.btnSetStock.Click += new System.EventHandler(this.btnSetStock_Click);
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnGetProductCount);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 120);
this.ucGroupBoxEx1.TabIndex = 393;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "店铺刷新";
//
// btnGetProductCount
//
this.btnGetProductCount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnGetProductCount.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnGetProductCount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnGetProductCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnGetProductCount.ForeColor = System.Drawing.Color.White;
this.btnGetProductCount.Location = new System.Drawing.Point(15, 67);
this.btnGetProductCount.Margin = new System.Windows.Forms.Padding(2);
this.btnGetProductCount.Name = "btnGetProductCount";
this.btnGetProductCount.Size = new System.Drawing.Size(113, 26);
this.btnGetProductCount.TabIndex = 375;
this.btnGetProductCount.Text = "获取商品数量";
this.btnGetProductCount.UseVisualStyleBackColor = false;
this.btnGetProductCount.Click += new System.EventHandler(this.btnGetProductCount_Click);
//
// btnRefreshShop
//
this.btnRefreshShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.ForeColor = System.Drawing.Color.White;
this.btnRefreshShop.Location = new System.Drawing.Point(15, 30);
this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(2);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(113, 26);
this.btnRefreshShop.TabIndex = 374;
this.btnRefreshShop.Text = "刷新店铺状态";
this.btnRefreshShop.UseVisualStyleBackColor = false;
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// ucGroupBoxEx2
//
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx2.Controls.Add(this.txtStockCount);
this.ucGroupBoxEx2.Controls.Add(this.label2);
this.ucGroupBoxEx2.Controls.Add(this.txtOperateCount);
this.ucGroupBoxEx2.Controls.Add(this.label12);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(147, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(164, 120);
this.ucGroupBoxEx2.TabIndex = 395;
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "参数";
//
// txtStockCount
//
this.txtStockCount.Location = new System.Drawing.Point(106, 70);
this.txtStockCount.Name = "txtStockCount";
this.txtStockCount.Size = new System.Drawing.Size(44, 23);
this.txtStockCount.TabIndex = 402;
this.txtStockCount.Text = "99";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(11, 73);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(92, 17);
this.label2.TabIndex = 397;
this.label2.Text = "设置商品库存为";
//
// txtOperateCount
//
this.txtOperateCount.Location = new System.Drawing.Point(71, 33);
this.txtOperateCount.Name = "txtOperateCount";
this.txtOperateCount.Size = new System.Drawing.Size(79, 23);
this.txtOperateCount.TabIndex = 376;
this.txtOperateCount.Text = "999999";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(13, 36);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(56, 17);
this.label12.TabIndex = 378;
this.label12.Text = "处理数量";
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.btnFailedDetail);
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
this.splitContainer2.Size = new System.Drawing.Size(856, 418);
this.splitContainer2.SplitterDistance = 388;
this.splitContainer2.TabIndex = 7;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colShopId,
this.colShopName,
this.colCanUse,
this.colDetail,
this.colOnSaleCount,
this.colOffSaleCount,
this.colOperationCount,
this.colStatus});
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 0);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle6;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(848, 388);
this.dgvShop.TabIndex = 6;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 41;
//
// colShopId
//
this.colShopId.HeaderText = "店铺Id";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Visible = false;
this.colShopId.Width = 150;
//
// colShopName
//
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colShopName.Width = 250;
//
// colCanUse
//
this.colCanUse.HeaderText = "可用";
this.colCanUse.Name = "colCanUse";
this.colCanUse.ReadOnly = true;
this.colCanUse.Width = 50;
//
// colDetail
//
this.colDetail.HeaderText = "查看详情";
this.colDetail.Name = "colDetail";
this.colDetail.ReadOnly = true;
this.colDetail.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDetail.Visible = false;
this.colDetail.Width = 90;
//
// colOnSaleCount
//
this.colOnSaleCount.HeaderText = "出售中";
this.colOnSaleCount.Name = "colOnSaleCount";
this.colOnSaleCount.ReadOnly = true;
this.colOnSaleCount.Width = 80;
//
// colOffSaleCount
//
this.colOffSaleCount.HeaderText = "仓库中";
this.colOffSaleCount.Name = "colOffSaleCount";
this.colOffSaleCount.ReadOnly = true;
this.colOffSaleCount.Width = 80;
//
// colOperationCount
//
this.colOperationCount.HeaderText = "操作数量";
this.colOperationCount.Name = "colOperationCount";
this.colOperationCount.ReadOnly = true;
//
// colStatus
//
this.colStatus.HeaderText = "操作状态";
this.colStatus.Name = "colStatus";
this.colStatus.ReadOnly = true;
this.colStatus.Width = 200;
//
// btnFailedDetail
//
this.btnFailedDetail.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btnFailedDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnFailedDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFailedDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnFailedDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFailedDetail.ForeColor = System.Drawing.Color.White;
this.btnFailedDetail.Location = new System.Drawing.Point(772, -3);
this.btnFailedDetail.Margin = new System.Windows.Forms.Padding(2);
this.btnFailedDetail.Name = "btnFailedDetail";
this.btnFailedDetail.Size = new System.Drawing.Size(80, 26);
this.btnFailedDetail.TabIndex = 377;
this.btnFailedDetail.Text = "失败详情";
this.btnFailedDetail.UseVisualStyleBackColor = false;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(856, 26);
this.statusBar.TabIndex = 2;
//
// StockSyncForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(856, 542);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "StockSyncForm";
this.Text = "StockSyncForm";
this.Load += new System.EventHandler(this.StockSyncForm_Load);
this.VisibleChanged += new System.EventHandler(this.StockSyncForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx3.ResumeLayout(false);
this.ucGroupBoxEx1.ResumeLayout(false);
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
private UserControls.ButtonEx btnStop;
private UserControls.ButtonEx btnSetStock;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private UserControls.ButtonEx btnGetProductCount;
private UserControls.ButtonEx btnRefreshShop;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private System.Windows.Forms.TextBox txtStockCount;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtOperateCount;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvShop;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
private System.Windows.Forms.DataGridViewLinkColumn colDetail;
private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colOffSaleCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colOperationCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colStatus;
private UserControls.StatusBarUserControl statusBar;
private System.Windows.Forms.TextBox txtKeywords;
private UserControls.ButtonEx btnFailedDetail;
}
}
@@ -1,604 +0,0 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work.DouyinApiClass;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class StockSyncForm : BaseForm
{
private int operateCount = 999999;
private int stock = 99;
private List<string> keyWords = null;
private CheckBox chkSelectAll = null;
private List<string> lstShopId = new List<string>();
public string FailedMessages = "";
CancellationTokenSource cancellationTokenSource = null;
public StockSyncForm()
{
InitializeComponent();
}
private void StockSyncForm_Load(object sender, EventArgs e)
{
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Right, 0, 0, null, null, false);
chkSelectAll.Width = chkSelectAll.Height = 13;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
}
private void StockSyncForm_VisibleChanged(object sender, EventArgs e)
{
RefreshShop();
}
private void RefreshShop()
{
// 更新选中的上货店铺Id
lstShopId = lstShopId.Where(id => GlobalConfig.ShopLoginList.Any(s => s.ShopId == id && s.LoginStatus == "已授权")).ToList();
// 获取被删除的店铺
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
// 更新被删除的店铺列表
foreach (var row in dgvRowList)
{
dgvShop.Rows.Remove(row);
}
// 绑定其他店铺(含新导入的店铺)
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
{
BindShop(shopEntity);
}
}
private void BindShop(ShopLoginInfo shopEntity)
{
var row = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
if (row == null)
{
this.dgvShop.Rows.Add(
false,
shopEntity.ShopId,
shopEntity.ShopAccount,
shopEntity.ApiAuthStatus == "授权成功" ? true : false,
"查看详情",
shopEntity.OnlineProductCount >= 0 ? shopEntity.OnlineProductCount.ToString() : "",
shopEntity.OfflineProductCount >= 0 ? shopEntity.OfflineProductCount.ToString() : "",
string.Empty,
string.Empty
);
}
else
{
row.Cells["colSelect"].Value = lstShopId.Contains(shopEntity.ShopId);
row.Cells["colShopName"].Value = shopEntity.ShopAccount;
row.Cells["colCanUse"].Value = shopEntity.ApiAuthStatus == "授权成功" ? true : false;
row.Cells["colOnSaleCount"].Value = shopEntity.OnlineProductCount >= 0 ? shopEntity.OnlineProductCount.ToString() : "";
row.Cells["colOffSaleCount"].Value = shopEntity.OfflineProductCount >= 0 ? shopEntity.OfflineProductCount.ToString() : "";
}
}
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
{
lstShopId.Clear();
foreach (DataGridViewRow row in dgvShop.Rows)
{
row.Cells["colSelect"].Value = false;
}
}
else
{
lstShopId.Clear();
var list = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功").Select(ss => ss.ShopId);
lstShopId.AddRange(list);
foreach (DataGridViewRow row in dgvShop.Rows)
{
if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
row.Cells["colSelect"].Value = true;
}
}
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
RefreshShop();
}
private void btnGetProductCount_Click(object sender, EventArgs e)
{
if (lstShopId.Count == 0)
{
BaseMsgForm.ShowInfo("请选择要获取商品数量的店铺");
return;
}
this.btnGetProductCount.Enabled = false;
foreach (DataGridViewRow row in dgvShop.Rows)
{
if (lstShopId.Contains(row.Cells["colShopId"]?.Value))
row.Cells["colStatus"].Value = "";
}
Task.Run(() =>
{
GetShopProduct();
Invoke(new Action(() =>
{
btnGetProductCount.Enabled = true;
BaseMsgForm.ShowInfo("商品数量获取完成");
}));
});
}
void GetShopProduct(bool isShowProgress = true)
{
int i = 0;
var shopList = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && lstShopId.Contains(s.ShopId));
foreach (var shop in shopList)
{
this.Invoke(new Action(() =>
{
i++;
var total = shopList.Count();
if (isShowProgress)
{
this.statusBar.lblTaskStatus.Text = "正在获取...";
this.statusBar.pgbTaskProgress.Value = i;
this.statusBar.pgbTaskProgress.Text = i + "/" + total;
this.statusBar.pgbTaskProgress.Maximum = total;
}
}));
GetShopProduct(shop);
Thread.Sleep(Randomx.GetId(50, 150));
}
Invoke(new Action(() =>
{
if (isShowProgress)
this.statusBar.lblTaskStatus.Text = "获取完成";
}));
}
void GetShopProduct(ShopLoginInfo shop, bool isShowResult = true)
{
DataGridViewRow row = null;
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null)
{
if (isShowResult)
row.Cells["colStatus"].Value = "正在获取店铺商品数量";
}
}));
// 读取在售商品数量
var resultOnline = GetShopProductListData(shop, 0, 1, 10);
if (resultOnline.Contains("\"code\":10000"))
{
if (row != null)
{
var text = BaseRegex.GetStringJson(ref resultOnline, "total");
shop.OnlineProductCount = text.ParseToInt();
Invoke(new Action(() =>
{
row.Cells["colOnSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
}));
}
}
// 读取下架商品数量
var resultOffline = GetShopProductListData(shop, 1, 1, 10);
if (resultOffline.Contains("\"code\":10000"))
{
if (row != null)
{
var text = BaseRegex.GetStringJson(ref resultOffline, "total");
shop.OfflineProductCount = text.ParseToInt();
Invoke(new Action(() =>
{
row.Cells["colOffSaleCount"].Value = string.IsNullOrEmpty(text) ? "" : text;
}));
}
}
string resultShowText = "";
if (resultOnline.Contains("\"code\":10000") && resultOffline.Contains("\"code\":10000"))
{
resultShowText = "商品数量获取成功";
}
else
{
resultShowText = "商品数量获取失败";
if (!resultOnline.Contains("\"code\":10000"))
{
var html = BaseRegex.GetStringJson(ref resultOnline, "sub_msg");
if (string.IsNullOrEmpty(html))
html = resultOnline;
resultShowText += ",获取在售商品错误:" + html;
}
if (!resultOffline.Contains("\"code\":10000"))
{
var html = BaseRegex.GetStringJson(ref resultOffline, "sub_msg");
if (string.IsNullOrEmpty(html))
html = resultOffline;
resultShowText += ",获取仓库商品错误:" + html;
}
}
Invoke(new Action(() =>
{
if (row != null)
{
if (isShowResult)
row.Cells["colStatus"].Value = resultShowText;
}
}));
}
public string GetShopProductListData(ShopLoginInfo shop, int productStatus = 0, int page = 1, int pageSize = 50)
{
// 读取在售商品数量
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("page", page.ToString());
dictionary.Add("size", pageSize.ToString());
if (productStatus == 0)
dictionary.Add("check_status", "3");
dictionary["status"] = productStatus.ToString();
DouyinApi douApi = new DouyinApi(shop);
douApi.JsonData = dictionary;
var resultOnline = douApi.GetProductList();
return resultOnline;
}
private void btnStop_Click(object sender, EventArgs e)
{
if (cancellationTokenSource != null)
cancellationTokenSource.Cancel();
}
private void btnSetStock_Click(object sender, EventArgs e)
{
if (lstShopId.Count == 0)
{
BaseMsgForm.ShowInfo("请选择要设置库存的店铺");
return;
}
try
{
stock = txtStockCount.Text.ParseToInt();
this.operateCount = Convert.ToInt32(txtOperateCount.Text);
this.keyWords = txtKeywords.Text.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
}
catch (Exception ex)
{
BaseMsgForm.ShowInfo("请输入正确的参数");
return;
}
FailedMessages = "";
this.btnFailedDetail.Visible = false;
this.btnSetStock.Enabled = false;
foreach (DataGridViewRow row in dgvShop.Rows)
{
if (lstShopId.Contains(row.Cells["colShopId"].Value?.ToString()))
row.Cells["colStatus"].Value = "";
}
int n = 0;
cancellationTokenSource = new CancellationTokenSource();
//notClearDate = DateTime.Now.Date.AddDays(0 - this.txtNotOperateDays.ParseToInt());
Task.Run(() =>
{
foreach (var shopId in lstShopId)
{
this.Invoke(new Action(() =>
{
n++;
var total = lstShopId.Count();
this.statusBar.lblTaskStatus.Text = "正在设置库存...";
this.statusBar.pgbTaskProgress.Value = n;
this.statusBar.pgbTaskProgress.Text = n + "/" + total;
this.statusBar.pgbTaskProgress.Maximum = total;
}));
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
if (shop == null)
continue;
DataGridViewRow row = null;
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = "正在设置库存"; }
}));
// 显示商品数
GetShopProduct(shop, false);
int totalNumBase = shop.OnlineProductCount; // 设置开始时的在售商品数
int totalNum = shop.OnlineProductCount; // 在售商品数
int setNum = 0; // 设置商品数量(因关键词存在因此少于或等于商品循环计数)
int currentNum = 0; // 商品循环计数
int page = 0;
int pageSize = 50;
string offSaleMessage = "";
List<DouProductListInfo> productList = new List<DouProductListInfo>();
var waitSetStockHtml = "";
while ((currentNum < operateCount && currentNum < totalNumBase) || page == 0)
{
page += 1;
currentNum += pageSize;
if (cancellationTokenSource.IsCancellationRequested)
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "下架中断"; })); }
break;
}
// 获取商品列表
waitSetStockHtml = GetShopProductListData(shop, 0, page);
Thread.Sleep(Randomx.GetId(500, 1000));
if (waitSetStockHtml.Contains("\"code\":10000"))
{
totalNum = BaseRegex.GetIntJson(ref waitSetStockHtml, "total");
shop.OfflineProductCount = totalNum;
if (operateCount > totalNumBase)
operateCount = totalNumBase;
if (currentNum > totalNumBase)
currentNum = totalNumBase;
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null)
{
row.Cells["colOnSaleCount"].Value = totalNumBase;
}
}));
if (totalNum == 0)
{
offSaleMessage = "设置结束,店铺没有在售的商品";
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
}));
break;
}
try
{
JObject jObj = JObject.Parse(waitSetStockHtml);
var jObjDataStr = jObj["data"]?["data"]?.ToString();
if (!string.IsNullOrEmpty(jObjDataStr))
{
var addList = JsonHelper.DeserializeJsonToList<DouProductListInfo>(jObjDataStr);
if (addList != null)
productList.AddRange(addList);
}
offSaleMessage = "正在获取商品,第" + currentNum + "件商品,共" + operateCount + "件商品";
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
}));
}
catch (Exception ex)
{
BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
}
}
else
{
var failMessage = BaseRegex.GetStringJson(ref waitSetStockHtml, "sub_msg");
if (string.IsNullOrEmpty(failMessage))
failMessage = waitSetStockHtml;
offSaleMessage = ("设置库存失败," + failMessage).TrimEnd(',');
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
}));
}
}
// 有关键词的过滤符合关键词
if (keyWords.Any())
productList = productList.Where(p => keyWords.Any(key => p.name.Contains(key))).ToList();
// 只操作指定天数之前修改的商品
//productList = productList.Where(p => p.update_time < BaseClass.DateTimeToTimestampSeconds(notClearDate)).ToList();
// 操作数大于满足筛选条件商品数时,操作数改为商品数
if (operateCount > productList.Count)
operateCount = productList.Count;
for (int i = 0; i < productList.Count && i < operateCount; i++)
{
if (cancellationTokenSource.IsCancellationRequested)
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { Invoke(new Action(() => { row.Cells["colStatus"].Value = "设置库存中断"; })); }
break;
}
Invoke(new Action(() =>
{
offSaleMessage = "正在设置库存,第 " + (i + 1) + " 件商品,共" + operateCount + "件商品";
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
}));
Thread.Sleep(50);
var product = productList[i];
setNum++;
var pid = product.product_id;
Thread.Sleep(Randomx.GetId(100, 300));
var productDetail = GetProductDetail(shop, pid.ToString());
if (productDetail == null || productDetail.Contains("spec_prices") == false)
productDetail = "{\"data\":{\"spec_prices\":[]}}";
var skus = JObject.Parse(productDetail)?["data"]?["spec_prices"];
//var skuIds = BaseRegex.GetMatchRegex(ref productDetail, "\"sku_id\":\\d{1,20}");
int num = 0;
foreach (JObject jObj in skus)
{
num++;
var skuStr = JsonHelper.SerializeObject(jObj);
var skuId = BaseRegex.GetLongJson(ref skuStr, "sku_id");
var old_stock = BaseRegex.GetLongJson(ref skuStr, "stock_num");
if (old_stock == stock)
continue;
var offSaleResultCode = SetProductStock(shop, pid.ToString(), skuId.ToString(), stock.ToString());
if (!offSaleResultCode.Contains("\"code\":10000"))
{
Thread.Sleep(Randomx.GetId(1000, 3000));
offSaleResultCode = SetProductStock(shop, pid.ToString(), skuId.ToString(), stock.ToString());
}
Thread.Sleep(Randomx.GetId(50, 150));
if (offSaleResultCode.Contains("\"code\":10000"))
{
LogSave.Add("");
offSaleMessage = "设置库存中,第" + setNum + "件商品,共" + operateCount + "件商品";
Thread.Sleep(Randomx.GetId(50, 150));
}
else
{
var failMessage = BaseRegex.GetStringJson(ref offSaleResultCode, "sub_msg");
if (string.IsNullOrEmpty(failMessage))
failMessage = BaseRegex.GetStringJson(ref offSaleResultCode, "status_reason");
if (string.IsNullOrEmpty(failMessage))
failMessage = offSaleResultCode;
FailedMessages += "店铺:" + shop.ShopAccount + ",商品id:" + pid + ",skuId:" + skuId + ",错误信息:" + failMessage + "\r\n";
offSaleMessage = ("设置库存失败," + failMessage).TrimEnd(',');
Thread.Sleep(10000);
}
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
}));
Thread.Sleep(Randomx.GetId(100, 200));
if (offSaleMessage.Contains("违规") || offSaleMessage.Contains("禁售"))
continue;
if (offSaleMessage.Contains("失败"))
continue;
}
if (i == operateCount - 1)
{
offSaleMessage = "设置库存完成";
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (row != null) { row.Cells["colStatus"].Value = offSaleMessage; }
}));
}
// 操作过程中更新显示仓库商品数
if (i % 50 == 49 || i == operateCount - 1)
GetShopProduct(shop, false);
}
}
Invoke(new Action(() =>
{
this.btnSetStock.Enabled = true;
if (!cancellationTokenSource.IsCancellationRequested)
{
var text = "设置库存完成!";
if (!string.IsNullOrEmpty(FailedMessages))
{
//text += "部分商品设置库存失败,请查看详情。";
//btnFailedDetail.Visible = true;
}
this.statusBar.lblTaskStatus.Text = text;
BaseMsgForm.ShowInfo(text);
}
else
{
var text = "设置库存中断!";
if (!string.IsNullOrEmpty(FailedMessages))
{
//text += "部分商品设置库存失败,请查看详情。";
//btnFailedDetail.Visible = true;
}
this.statusBar.lblTaskStatus.Text = text;
BaseMsgForm.ShowInfo(text);
}
}));
}, cancellationTokenSource.Token);
}
public string SetProductStock(ShopLoginInfo shop, string productId, string skuId, string stock)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("product_id", productId);
dictionary.Add("sku_id", skuId);
dictionary.Add("stock_num", stock);
DouyinApi douApi = new DouyinApi(shop);
douApi.JsonData = dictionary;
var resultOnline = douApi.SetProductStock();
return resultOnline;
}
public string GetProductDetail(ShopLoginInfo shop, string productId)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("product_id", productId);
DouyinApi douApi = new DouyinApi(shop);
douApi.JsonData = dictionary;
var resultOnline = douApi.GetProductDetail();
return resultOnline;
}
private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
switch (headerText)
{
case "操作":
case "选":
if (dgvShop.Rows[e.RowIndex].Cells["colCanuse"].Value.ParseToBool())
{
dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
if (dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool())
lstShopId.Add(shopId.ToString());
else
lstShopId.Remove(shopId.ToString());
}
else
{
BaseMsgForm.ShowInfo("店铺未授权");
}
break;
}
}
}
}
@@ -1,147 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCanUse.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colDetail.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOnSaleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOffSaleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOperationCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,159 +0,0 @@
using AllBase;
using TemuKJD.KJDForms.BaseForms;
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;
namespace TemuKJD.KJDForms
{
public partial class TbSettleSlideForm : LRBaseForm
{
public IeForm tbDetailForm;
public string slideUrl = "";
public TbSettleSlideForm()
{
InitializeComponent();
TitleText = "解除滑块";
//IsMinized = false;
//IsMaxized = false;
}
private void panelCopyCookies_Click(object sender, EventArgs e)
{
string cookies = string.Empty;
IDataObject iData = Clipboard.GetDataObject();
if (iData.GetDataPresent(DataFormats.Text))
{
cookies = (string)iData.GetData(DataFormats.Text);
}
if (string.IsNullOrEmpty(cookies))
{
return;
}
string x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "\"name\": \"x5sec\",[\\s\\S]+?\"value\": \"([\\s\\S]+?)\"");
if (string.IsNullOrEmpty(x5Sec))
{
x5Sec = BaseRegex.GetMatchRegexString(ref cookies, "x5sec=([\\s\\S]+?);");
}
if (string.IsNullOrEmpty(x5Sec))
{
Thread.Sleep(2000);
BaseClass.x5Sec = BaseRegex.GetMatchRegexString(ref IeForm.ChromeCookies, @"x5sec=([\w\W]+?);");
}
if (string.IsNullOrEmpty(x5Sec))
{
return;
}
if (tbDetailForm != null)
{
tbDetailForm.x5Sec = x5Sec;
tbDetailForm.ExecX5secJs();
}
new Thread(CloseForm).Start();
BaseClass.x5Sec = x5Sec;
//var tbCookes = BaseClass.CookiesAll["taobao.com"];
//foreach (KeyValuePair<string, Dictionary<string, string>> co in BaseClass.CookiesAll)//同步到系统
//{
// if (true)
// {
// }
// string cook = "";
// foreach (KeyValuePair<string, string> c in co.Value)
// {
// if (c.Key == "x5sec")
// {
// cook += c.Key + "=" + x5Sec + "; ";
// }
// else
// {
// cook += c.Key + "=" + c.Value + "; ";
// }
// }
// if (BaseClass.CookiesAllString.ContainsKey(co.Key))
// {
// BaseClass.CookiesAllString[co.Key] = cook;
// }
// else
// {
// BaseClass.CookiesAllString.Add(co.Key, cook);
// }
//}
new Thread(CloseForm).Start();
//CloseForm();
}
private void TbSettleSlideForm_FormClosed(object sender, FormClosedEventArgs e)
{
//BaseClass.SlideIsClose = false;
//BaseClass.SlideCookiesReplace = false;
//BaseClass.IeUrlShow = "";
}
private void panelInstall_Click(object sender, EventArgs e)
{
GetHtml.OpenUrl("https://ext.chrome.360.cn/webstore/detail/fngmhnnpilhplaeedifhccceomclgfbg");
}
private void panelOpenSlideUrl_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(slideUrl))
{
return;
}
GetHtml.OpenUrl(slideUrl);
}
private void panelCopySlideUrl_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(slideUrl))
{
return;
}
Clipboard.SetDataObject(slideUrl);
}
public void CloseForm()
{
try
{
Thread.Sleep(1000);
if (InvokeRequired)
{
Invoke(new Action(() =>
{
this.Close();
}));
}
else
{
this.Close();
}
}
catch (Exception)
{
//throw;
}
}
private void panelEx1_Click(object sender, EventArgs e)
{
if (slideUrl.Contains("https://trade-acs.m.taobao.com/"))
Clipboard.SetDataObject("https://trade-acs.m.taobao.com/");
else if (slideUrl.Contains("https://acs.m.taobao.com"))
Clipboard.SetDataObject("https://acs.m.taobao.com");
else
Clipboard.SetDataObject("https://guide-acs.m.taobao.com:443");
}
}
}
@@ -1,298 +0,0 @@
namespace TemuKJD.KJDForms
{
partial class TbSettleSlideForm
{
/// <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(TbSettleSlideForm));
this.panelCopyCookies = new DevComponents.DotNetBar.PanelEx();
this.panelInstall = new DevComponents.DotNetBar.PanelEx();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.panelOpenSlideUrl = new DevComponents.DotNetBar.PanelEx();
this.panelCopySlideUrl = new DevComponents.DotNetBar.PanelEx();
this.label5 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// panelCopyCookies
//
this.panelCopyCookies.CanvasColor = System.Drawing.SystemColors.Control;
this.panelCopyCookies.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelCopyCookies.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelCopyCookies.DisabledBackColor = System.Drawing.Color.Empty;
this.panelCopyCookies.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelCopyCookies.Location = new System.Drawing.Point(34, 391);
this.panelCopyCookies.Name = "panelCopyCookies";
this.panelCopyCookies.Size = new System.Drawing.Size(171, 29);
this.panelCopyCookies.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelCopyCookies.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.panelCopyCookies.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
this.panelCopyCookies.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelCopyCookies.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelCopyCookies.Style.CornerDiameter = 1;
this.panelCopyCookies.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.panelCopyCookies.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelCopyCookies.Style.GradientAngle = 90;
this.panelCopyCookies.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelCopyCookies.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.panelCopyCookies.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelCopyCookies.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelCopyCookies.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.panelCopyCookies.TabIndex = 575;
this.panelCopyCookies.Text = "复制Cookie成功后点我";
this.panelCopyCookies.Click += new System.EventHandler(this.panelCopyCookies_Click);
//
// panelInstall
//
this.panelInstall.CanvasColor = System.Drawing.SystemColors.Control;
this.panelInstall.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelInstall.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelInstall.DisabledBackColor = System.Drawing.Color.Empty;
this.panelInstall.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelInstall.Location = new System.Drawing.Point(36, 70);
this.panelInstall.Name = "panelInstall";
this.panelInstall.Size = new System.Drawing.Size(171, 29);
this.panelInstall.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelInstall.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.panelInstall.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
this.panelInstall.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelInstall.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelInstall.Style.CornerDiameter = 1;
this.panelInstall.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.panelInstall.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelInstall.Style.GradientAngle = 90;
this.panelInstall.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelInstall.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.panelInstall.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelInstall.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelInstall.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.panelInstall.TabIndex = 582;
this.panelInstall.Text = "点我安装(已安装,请忽略)";
this.panelInstall.Click += new System.EventHandler(this.panelInstall_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.Color.Red;
this.label1.Location = new System.Drawing.Point(34, 52);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(155, 12);
this.label1.TabIndex = 583;
this.label1.Text = "第一步:安装360极速浏览器";
//
// label2
//
this.label2.AutoSize = true;
this.label2.ForeColor = System.Drawing.Color.Red;
this.label2.Location = new System.Drawing.Point(189, 52);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(275, 12);
this.label2.TabIndex = 584;
this.label2.Text = ",并安装插件EditThisCookie(其他浏览器自行安装)";
//
// label3
//
this.label3.AutoSize = true;
this.label3.ForeColor = System.Drawing.Color.Red;
this.label3.Location = new System.Drawing.Point(189, 113);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(0, 12);
this.label3.TabIndex = 586;
//
// label4
//
this.label4.AutoSize = true;
this.label4.ForeColor = System.Drawing.Color.Red;
this.label4.Location = new System.Drawing.Point(34, 113);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(155, 12);
this.label4.TabIndex = 585;
this.label4.Text = "第二步:打开链接,处理滑块";
//
// panelOpenSlideUrl
//
this.panelOpenSlideUrl.CanvasColor = System.Drawing.SystemColors.Control;
this.panelOpenSlideUrl.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelOpenSlideUrl.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelOpenSlideUrl.DisabledBackColor = System.Drawing.Color.Empty;
this.panelOpenSlideUrl.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelOpenSlideUrl.Location = new System.Drawing.Point(419, 134);
this.panelOpenSlideUrl.Name = "panelOpenSlideUrl";
this.panelOpenSlideUrl.Size = new System.Drawing.Size(171, 29);
this.panelOpenSlideUrl.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelOpenSlideUrl.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.panelOpenSlideUrl.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
this.panelOpenSlideUrl.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelOpenSlideUrl.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelOpenSlideUrl.Style.CornerDiameter = 1;
this.panelOpenSlideUrl.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.panelOpenSlideUrl.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelOpenSlideUrl.Style.GradientAngle = 90;
this.panelOpenSlideUrl.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelOpenSlideUrl.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.panelOpenSlideUrl.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelOpenSlideUrl.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelOpenSlideUrl.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.panelOpenSlideUrl.TabIndex = 590;
this.panelOpenSlideUrl.Text = "默认浏览器打开滑块链接";
this.panelOpenSlideUrl.Visible = false;
this.panelOpenSlideUrl.Click += new System.EventHandler(this.panelOpenSlideUrl_Click);
//
// panelCopySlideUrl
//
this.panelCopySlideUrl.CanvasColor = System.Drawing.SystemColors.Control;
this.panelCopySlideUrl.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelCopySlideUrl.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelCopySlideUrl.DisabledBackColor = System.Drawing.Color.Empty;
this.panelCopySlideUrl.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelCopySlideUrl.Location = new System.Drawing.Point(36, 134);
this.panelCopySlideUrl.Name = "panelCopySlideUrl";
this.panelCopySlideUrl.Size = new System.Drawing.Size(171, 29);
this.panelCopySlideUrl.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelCopySlideUrl.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.panelCopySlideUrl.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
this.panelCopySlideUrl.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelCopySlideUrl.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelCopySlideUrl.Style.CornerDiameter = 1;
this.panelCopySlideUrl.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.panelCopySlideUrl.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelCopySlideUrl.Style.GradientAngle = 90;
this.panelCopySlideUrl.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelCopySlideUrl.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.panelCopySlideUrl.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelCopySlideUrl.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelCopySlideUrl.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.panelCopySlideUrl.TabIndex = 594;
this.panelCopySlideUrl.Text = "点我复制滑块链接";
this.panelCopySlideUrl.Click += new System.EventHandler(this.panelCopySlideUrl_Click);
//
// label5
//
this.label5.AutoSize = true;
this.label5.ForeColor = System.Drawing.Color.Red;
this.label5.Location = new System.Drawing.Point(34, 183);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(551, 12);
this.label5.TabIndex = 595;
this.label5.Text = "第三步:解除滑块之后,点击点我复制原滑块链接按钮,复制网址到浏览器中,按照下面指示复制Cookie";
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(36, 207);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(629, 174);
this.pictureBox1.TabIndex = 596;
this.pictureBox1.TabStop = false;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
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("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelEx1.Location = new System.Drawing.Point(227, 134);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(171, 29);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelEx1.Style.CornerDiameter = 1;
this.panelEx1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.panelEx1.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseDown.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
this.panelEx1.StyleMouseDown.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.LightGray;
this.panelEx1.TabIndex = 612;
this.panelEx1.Text = "点我复制原滑块链接";
this.panelEx1.Click += new System.EventHandler(this.panelEx1_Click);
//
// TbSettleSlideForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(665, 435);
this.Controls.Add(this.panelEx1);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label5);
this.Controls.Add(this.panelCopySlideUrl);
this.Controls.Add(this.panelOpenSlideUrl);
this.Controls.Add(this.label3);
this.Controls.Add(this.label4);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.panelInstall);
this.Controls.Add(this.panelCopyCookies);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "TbSettleSlideForm";
this.Text = "滑块处理";
this.TitleText = "滑块处理";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.TbSettleSlideForm_FormClosed);
this.Controls.SetChildIndex(this.panelCopyCookies, 0);
this.Controls.SetChildIndex(this.panelInstall, 0);
this.Controls.SetChildIndex(this.label1, 0);
this.Controls.SetChildIndex(this.label2, 0);
this.Controls.SetChildIndex(this.label4, 0);
this.Controls.SetChildIndex(this.label3, 0);
this.Controls.SetChildIndex(this.panelOpenSlideUrl, 0);
this.Controls.SetChildIndex(this.panelCopySlideUrl, 0);
this.Controls.SetChildIndex(this.label5, 0);
this.Controls.SetChildIndex(this.pictureBox1, 0);
this.Controls.SetChildIndex(this.panelEx1, 0);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevComponents.DotNetBar.PanelEx panelCopyCookies;
private DevComponents.DotNetBar.PanelEx panelInstall;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.PanelEx panelOpenSlideUrl;
private DevComponents.DotNetBar.PanelEx panelCopySlideUrl;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.PictureBox pictureBox1;
private DevComponents.DotNetBar.PanelEx panelEx1;
}
}
@@ -1,509 +0,0 @@
<?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="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAlUAAACDCAIAAAArnHn+AAAABGdBTUEAALGPC/xhBQAAMDNJREFUeF7t
nQt0VdW573G0Z/SOM8bt6R322J62o+31nqv3qK0PKLYnFAuIKCIqKUUCBLCAQiolRYmtcMAUH6iNOZRU
CagEJCES0PIo8UF4GCAgIREJEAgJ4ZEEECIQCGS/7jfX/NZccz332jv7xd7fb8yxM+dc8/HNx5r/Pddj
p0crQRAEQSQq3/72t9Gnxy7ePaR/BEEQROIycOBAkDozEI8pwoX0jyAIgkhFSP8IgiCIVIT0jyAIgkhF
SP8IgiCIVIT0jyAIgkhFSP8IgiCIVIT0jyAIgkhFSP8IgiCIVIT0jyAIgkhFegQIgiAIIvUg/SMIgiBS
EdI/giAIIup4fv7zeDm0wATpH0EQBBF1DJoUS4cWmCD9IwiCIKKOQZNi6dACE6R/BEEQRNQJqkYRJ2iN
PU4TROpx9uzZq1ev4kngAq/X29HRcYEgogxMM5hsOO2Si6BqJIBzs729vbW19cSJE80K4IEgRIZ02gat
kfSPSFFAAvEkcAGJHxEzYLLhtEsugqoRAG0HqTvqCCRw2UVBayT9I1IXPAlcgCsTQcQEnHbJhbMadXV1
tbS0oMS5ABJDFsxsg3ONAOkfkbrgSeACXJYIIibgtEsuHNSos7Pz2LFjqGyugSyQEYuwwqFGDukfkbrg
SeACXJYIIibgtEso/P6A3xfw+TAo4QkErsLnnj2+pqZLGGeBnRqBhqGghYWDBNrVKCD9I1IXPAlcgMsS
QcQEnHaJg0H2fF5wfq8XJLHTz65dBp555uz115/7wQ8Cq1ZdxkRGLNWoq6vLvPNrOnLwaP2uYwc/PbZ/
U9OBqqb6Pc0NNUcbD+JhPZDd7kKoZY0ypH9E6oIngQtwWSKImIDTLkFQxM/feSlw6PNA034mfgKPJ3Dl
QqCk5MzXv37u+98/+61vnf/hD72NjXhUj6Uame/5NR/edvqLRRf3vnBp/+sdtS99+dGUMxXTFj/9wJqC
Kc21HzQd3ofpJKAQLE6PZY2cp59+uqqqivSPiCm7d+9GXwKAp4ILcFlyQfv5r9458o8Ru3Lv3pp1a8Xj
Q6tmztn3TvO5FjxMJDuwFufn5z/55JNDhgyBT/BDDB5zDU47R36ycYLZQfxtBV1mx7OEA9/51W715zwS
GHtXIPNO/6yR/pUL/NvW+8sKvL8bFHj3hUuvzz9z3XXnfvzjs9/73rnrr/fU1Cg5jZjVqKOjAxVMpbFu
45e7/ug99Epg/+xA7TOBmhzfZ3/wfPH8318fvf4vg8+uH3F0Q3bjF59iagnLJ0LNNQq2bt3ap08f0j8i
dtTV1eXk5Bw8eBDD8QZPBRfgshSM7S17f74l698+HG5wN20c++ahv2MiW45tLn2HU7r5GMYh2qF31u7F
uAsX9q7FOH0GiDYkWrt5c6mpTCNQR9A0hDM7duwYMWJEQUFBTU3NqVOn4BP8EAPxmMIdOO0cMSgfdxBv
UD7ueJaQ8fvZ5/7PAhN+DuLnHfczT+ZdgXF3BX7bKzC+J/scdZs3+wFP3d6zP73jy+uuO/O1rwWeecbi
DqGCWY0Mrzo0NTa0Vb3ctesPnTVPn/94jG/TGH/VFN+2J/yf/ta/Y8KVitFtS+9tXtzncMmYhi92YB4V
KAoLlTDXKPP888+T/hGuaGxsfPHFF3NzczEcFsuWLYNC4BPD8QbPAxfgsuTIrra6/9g4jgte+s7ZL+5/
N79+5ZN78n78cQaPXHR4LSa14tjmtag+itgZFMysTCwVxhoyCP3j+gj+Y3vXgrZtVuVSPuqMZAURDNjn
WUodF8WQdoE47RwxKB93EG9QPu54lpAB/bt0wTdtcGDsnSB+3sdu9Y68zTuul3dsL29mT/Y5rrdn+M2+
N/7o3b/vUv78K0VLA1ev2r29b1Cjq1evonapNO3f/FVl9vmdM54f1fPV4bdeLn/M8+mEKx+P+ur9RxZP
vP1vj9927K1fHp//0+N/u/PA6mcbjzRgNhXzq/GGGg1cuXKF9I8IDsytefPmwTfZwsJCjAqd5ubmOXPm
wOYPPpuamjA2ruB54AJcluz56sJXfOcHW70Pj+/EWIWDZ5oGbnsGDn3/oxE7W/dhrCPKng2lh4mbhQzJ
SbSQrGmK4GESaW8HSSyKA6Q0RDjk5+fDOYIBPRAPRzHgApx2jhiUjzuINygfdzxLGPg/KAz8tqd3fG/v
iFu8Lz/pmzPG89gt3rE9vWPu9GXe5Rl1u3fkrZ5H/rfvqQGB5S8HFj/rW/MW5jRhUKP29nauW5ymxsOn
P8v3Vc84tel3Tw++ecnUuy9sGHGlYlzH+t+cLh265A+9J/X7ceOKh1oW/+LY67fWz/9lffUmzKkCBfKS
BYYazZD+EUE4efLka6+99ve//72srAw+MTZ01qxZw3d+paWlq1ev5pHxBU8CF+CyZE9J4yd8k2cQP86x
c613bJ4ER5/Yk4dRjoBGqVJko0pGVZTlUCicUEN+/XMv2yYqQXZUHHTEWioJK5588smamhoM6IF4OIoB
F+C0c8SgfNxBvEH5uONZQubyRe+0B/zjYKvXs6v/N0HbvIuf7xrwLRA/cJ7Rd3hG/dS7bonvyD7PH4d7
Bn8vMPwm31MDAx3nMbsegxq1traicCkc2/dR565nAjum+CpGn171aMuKh06XDb3wjxHtHww78e6DJ1el
t5SP+XL9iOa3f9WU/9PDL/yffWtfw5wqUCAvWWCo0QzpH+EEiB98bwXlA/8bb7xRVVXF492wYcOGHD38
zt/hw4cxrPLRRx/xLA4cO3YMfSZaFDAQCngSuACXJXvG7n4J5O2RqlkYNvH6wfcgwQ8/Hgk7RYyyQ9Yy
rnPskyPt4nTaJIfBz73CY7X/g79CWCU/eFW/UWMJZ4YMGXLq1CkM6IF4OIoBF+C0c8SgfNxBvEH5uONZ
QsW/86PAuF5s5zd7tL/qQ/+JBn/TAd+29d7pD3keu83z2K0eUEeectt6T/q/ex9ntwkDOzYocUYMaiTf
/Gtqamqt+qu3cpL/07GXy4e3Ln/w1AfpX27IOLdm+Omyh09CcG3GxeoZF7ZO/PTltJVTbjzywo/2Ln0K
M6uYbwEaajRD+kfYAt+nCgoKiouLeTA3N7exsZH7XQL7xVdffbW5uRnDehoaGl588UWQSQw7smTJkhUr
VmBAAib9/Pnzw3usFE8CF+CyZM+AbdNB3l7YvwzDJipbPocE4A5/2YxRRpj0yBrH4Mqnxighk3oxZK2C
Y2v37l0r3fAzIJegVirQFI/0LzSSb//nf3Nm4PFe7FLnk/d4fn+/79M1vrXvgOZ5J6Z5Rt2u7P9u925Y
5jtS55k9hsnkuJ8Fxvf0/e1PmF+PQY1gWUDhYi/8HWouf6bzo8f2vDl43Z/7nCp9qLV0SFvZw60rH2lb
9fCpsqFn1o88vWb4qVVDj7zdb8/c/6jL+U5t4fimxkbMrwAF8pIFhhrNkP4R1oD4FRYWwnrIg6B8uFlT
2Lx5M48Pip0Ewi4QxM/Nzo/Ddc4ggTzyk08+wXCI4EngAlyW7Ll7K7v5l3fwPQyb2HPqINc/8GCUHYrK
SXswWeiYXDFNUv+qaGEUNL1wQTE6uTQh1UOyFyYxvv8XA3x/Gh7IvNObeZdn9J1dg/7VV/SSL/8PXfd/
B2K4Y/r32C3e0bd7QPyUi6LsSZln0zG/HoMa6fSvseHw+plnyh7alX/vhj/3P7b0gaOL+5949743x93x
dtZdbSsfannvobb3Hmwruf/EW32+mH3TF9Our3ljHOkfES1gCX3jjTdABTGssmzZssWLF2PAHVwC29ra
MKw8CwPit3HjRgy7wyCB3RQ/AE8CF+CyZE/mx08tX3HL3PW/xrCJZTUFpe/dMmzlfefOt2OUA0LOjPqn
ipOF/rFk8Idt/bS8FhiEkKfSR7LSjRJKBKMlts9/BtZcb+ECga4J/cyO5wgV76Rf+sbc4R19Bwre+N7e
8T9jj32K5z/HsluDvsy7fMoTMWynOOYOz8Q0zK/HoEZw/qJwKdRveuPY0v4n3x14/N0Hjr97/7El951Y
PujPQ//9heE3nVwx+GTJg20rHmhZfu+bY25Z+Ot/Ozj9X3bnPXKk4TBmVoACeckCQ41mSP8ICyorK2fP
nj1TAXZ7QvBAyeBrrFkUnWlqapozZ47ww+fJkyehZFkRXSIksPviB+BJ4AJclux5f9OkK/+4oWPDDy6e
sn7C88uNv4AEm9bcjmFnNHkz7MbEAS0FQxeCgOyXpM1KTZ0wSCURDC51sNurkd7/GzJkSHFxMaZwB047
ZwzKx11k9W9sT9j5MeUbw7SNucy78M0/9ZNJIGghJoCdIohlT8yvx6BGsIygcCk0fL75yLtDThbfc3Ll
oNb3Bp1YOuB40YDGJfe2vj+0bfXQk8UPgDQ2L+m386Xbdz/9r3sm/NPOvz4OiwlmVoACeckCQ42cixcv
Tps27TYF0j8iCBs2bCgtLQXP5s2bYdMG84zHu2f37t0LFiwAD8gnqOmaNWvAn5eX9/nnnyvHQ4MrX25u
bjfFD8ATwgW4LDnQ3nr54/8HCnfl0/4XzzZipMrl2mx26B83nG0oxSgj7H6dKjZMzURI1iz5gOQ3yJqs
fwBLCGFF66RUKnAYY1UfZiDCAvZ58B3xSen3X+DESU9PN+8LHcBp54xB+biLqP75JvzCp8qeB1RtLBM/
/ytT/B+Xst9/gc9XpjAhzLzTM7Zn1z29Pf16e+/v5Xn4P33V1X7Tb5IZ1Mj4/kNT4/4PXztSeNeJpb1a
in9xcsl/tq741cmSAW2lA44v7de2YmBbSb+Tb/U6+vL39z/9ja2jv7Fj5QLMqeLy/YeZM2c+/fTTXQqk
f0QQysrKQAKrq6tBcsL76RbIvmzZssLCQlDBuro6+AT/0qVLXT75YgYk0OFxUPfgCeECXJYc6ThSfHXD
d5nOfXLrpbqXO05uudi661JDESgiF7/L1VMunD8LMRdbqjCPDJMdxCBT2jZNd0DavenkCgqSwyKZUfz4
AS0W9Q+6Vs1jzEGECYhfSBKI084Zg/JxF1n9A3kbdxfs8JjyPd4zMP3BwOb38ZgAYiD+8Z6e+34m9EZz
kyd7ZszwLlrk27y56+67eSTPZ37//eD+L3avnrPvLzftnfPdPbN+uGTS/z0w/7aWwtuPLbzjzfE3vfjw
94+8fMO+af+0bcR1G3Puqd1dhdlUXL7/3qtXL/G/r0n/iCAsXrwY9m0gfiCBGBUiIHWw7YNNJL/gCZ8r
V66EmLfffpsniBf8HHADLkvBuHRk6dXyH3C1M7jLNb/n4seCG2/DDJFG0i0hp0LEJL0s3Vyl3z6q0Tq9
o41gBAlJAnHaOWNQPu4iqn+Bw5/7J/WBLaD/j7/2r30ncPErjPd62K9gwyfn4ldw1DvuAaE3Do6p4OTJ
TBHXrTv14YfN+7Tfs25qatq3d0/hc7997p5/2Tfjf+zO/ufDL3zraN71za/8r8W//uZffvXPn026bsfo
r33y1M8q15bU19djNgXzzT9AVIphhT59+kBF3E/6RwQhPz9/5syZ7h/4NAO7vU2bNmFAZdu2bfyiaBzh
54AbcFlywcXTdZd3P3Hl45u57F3d8J3Oql93NOOPf8LOD8Tv8p4sHiRSChA/lzcCcdo5Y1A+7iKrf4GA
v605cPSA9j8f5H/+wFFj/MePCb1x704tWYIKpgDKVFNdvWF5Qd38gQemf/3AM9fVZV9X/dsedb/rcfD3
PWonfXPHvHHbN26oq6sz3Pxz//vXCxcufPTRR/cokP4RQZg9ezbs/zCQXOAJ4QJclkLh4pkDF88chD0f
hgnCNTjtnDEoH3eR1T/++9cc0Dk5KOE/edJbUtw1erTQGzeua8AA35YtLab/fwQcPnz4i+ode9+bW734
D9vfyN5WkL2zMLvmrezqVX/bu2f3oUOHDOIHhaApekRdGFZZtWrVRAXSPyJ1wbPBBbgsEURMwGmXCPis
/+c74D9/3rdunWfGDCEz7h2In7++Hgrpsvr/txwQOZC6/QoHDx6sr69vaGgwKB9A//+WIMIBTwIX4LJE
EDEBp12i4tu82ZObK9QlVNc1ZgxoJ5YVCHR2dqKUhQVkx4JMiBoxbIL0j0hd8CRwAS5LBBETcNolGLBj
8+bldd17r9CVMFzX3XfL4scBDbPbBToAWRzEDxCVYtgE6R+RuuBJ4AJclggiJuC0Swz8LS3eFSu6HnlE
yEnYjr8CgeXq6erqsrwXaAcktrvsKRD1YtgE6R+Rooh3gNzQ0dGBKxNBRBnLRxljD97emzxZqEg3neH9
P0ug7Sf0v4tmBhK47CJRNYZNkP4RqQiIn/ltWQe8Xm/ySaBYHRLfocUpAEwzmGw47eIEu70X1lMtdo4/
6imCWI09cG62t7e3traC1DUrgAeCEBnSaRu0xh741xGfz9fY2PjZZ5/tIAgiWRCrQ+I7tJiIJrUrV7Y8
9VRnv36GznfpzmZknHjmmQMLF1avX3/xAe1d+M5f/QpKhvJFDK8ugoA2gUKBTqFiqYgaMWzClf4dOXIE
vi+nCEVFRehLAaixyYqbxorVIfEdWmxF6gxrlFp6bv/+i/PnXxk61NDnQd3V/v0vT5t24a232isqsCyV
jlmzeJrOjIyzR4/ySJGRB505HzpN6q+6CESNGDYRXP/8fn9VVRUalQLQKpmsUGMNiNUBw4mHGwtTZ1gj
3NKjRy+UlnaOHCk62Y3rfOyxjhdegIygmliOFZAAEoM6CvEDRCEYdgQ1LRRAp0CtULcURI0YNhFc/2BT
uWXLFjQqBaBVMlmhxhoQqwOGEw83FqbOsEaqpSBOl6ZNE33r7Pgm7+J//7d5k+fAubq6jueew4CKoeRY
OhQzE8H1z+PxbNy4EVuQAtAqmaxQYw2I1QHDiYcbC1NnWLvZ0vZNm0CTrg4YIHrVzrFN3nPPBd3khYqh
llg6FDMTwfWvq6vr448/xhakALRKJivUWANidcBw4uHGwtQZ1vBaChrW8eKLzrf3YJPXOWECbvKkK5aR
xVBpLB2KmYng+nf16tWPPvoIW5AC0CqZrFBjDYjVAcOJhxsLU2dYQ2vp0aMX3n7b4fae2OS179qFWRIJ
vKcXCqBTIb0dASSw/p1uqFiYM3FURgZ3T+QUbmrAQ9EkbqfTibqdq4ry8nOzR03MeSmvsKSitqEND0WN
uDX2dN2a3InKyE7MXVkb9XYqpM5CCbhprFgKMZx4uLEwPsPaWFtRUpj3Us7EJ3Lm5RcWf1LbzN4pjS6u
Wqo81WJ3e49v8s6vXdvNTV5zbXlR/rycJ7Jz84vKqqKyLKOmhUJS6V/zquzefQeh+IEbOSit99iifXg0
esTqdKotTO+fvbKOeU/UFueO7d/bTNqgqQUV0RT9uEnC1nnYRMa8SoyNLnFrrJ62xuZmzUVL+t00ViyL
GA6b021Si5qbT2B093FjYayHtXln8eyMNJy6En0zZpXsjKoKOrf0q7Vrzbf3rgwdyjZ5b70VsU3e6eaK
fH3zB+asicIahZpmYtmyZegzkUT6d3pnwUO9h/51JwYZdUWZhpioEKvTqVJRgLSs/ILsgco0sqNvRt7W
eK6SUSGl9K++LDs9uwyfJODjrpE2Mq+imR+KJG4aK1ZJDIdFQ/m8jL7YFuQVHM/m9bPSnyjc2Q05dGNh
TId1/5pZ6dhKS/pPL6uLmgRathSEzXB7L1KbPEt2viG1v29GzsKKBpv2dsyfD8ZcWLECwwo8EgOOoKbp
AfHjYFii4733oORrWv8qC3W7vd7909Wg4tJBJ+Qd4cKoLJuxOp2M62DvgWNziypq65Vv0PW1FSXzJmq6
mF4QnUv0cZOElNI/3ti+WcWKBLY1S1ulfeW56b3TZqyJuAK6aSxfLl2uR9bUF2f1ThubX1EnWgRO/bbW
UJIF7U4bXxC2BLqxMHbDeqJynlj8B06cV1KJrd5XWfzKRHH9Jv2Vyih9XbVs6YXSUhA/u/fQI0zzmhxs
Ze/eo/IqHWdt14MPdk6digGVq2PGXJ4zBwOOoKxJoPSpQAxUcXnBAn40CfSvoXxhXu7Uob0fysrNz8uz
c3OzhvbuPfbZvLy1ysXDSBOr00mvfxOsviafbiifq55w6QU7o/C9Ms6SgKSG/gGqBOrYBEezyiJ9BclN
Y92oizMNK0Hh5lXYzEyuf0DYEujGwpgNq9j6WDanrbooC/fBQwui83shcZvAAvm0zSp2mLN8n2dwoHyG
GHBmjeRwVROg6Okx65/B+RYtQhmzIeGuf7JzxrFnla+cvedtxVDEidUkM+z/0rJKrOT8dF3xVLzYnr0q
8pfJ4i8JjJTRP2CguBCqwo5mFddjKFK4aaxYJjAcOorC2Q6f0D8gPAl0Y2GMhrWtIpfLW9+cNY0YZ6Ct
PBfP1Shs6IG4TWCV5g+07Z9hlW7eVVa2FRv9lfJT1yBsIHggUTwS4Js/roIYZQ9XNWeSbP/H0PTvBN5I
Z9eLlAsKbY3NbfBNMzn1D0ibt8nqwklt0Vh+PE5XySJBQ9l0q+d7rEnLWhnp3ZBCrBpbW+h4i8gogUmj
fw1l2YYbgXrCkEA3FsZoWLflcW1zfAShtmiUkqh3bnkUroHGagLbs6tgKG8fo//EV8p2wpKkPhCU8wGu
T6B8Ylcn/CCKQgvd3AXkquZMMutf5Sv8RnoDyF1WCYtg6wR4kkT/zjbsqqj4RHaVddargzipbC80hU2s
GmsWe0fUBygiSwI1VpbApNE/5cR0JlQJdGNhbIZV7GWdlY2tWozIDygQs6XJmtN1dftqizJ5A1X69u+P
2+LcCqlj+BYwqMPUVnBVs+RKbq6hHAfnnT4dlcwK0j8jcZ5kVlS8pMywOK2SkYD0z8TAWeX863Iq6R+Q
NjWEe51uLIzNsAr9c155klb/+I2YrOK6fcXqbU6Z9Hlbg2x4DU++XFixQgwrHBIDHdTBng9l0AToFO3/
uks8J5k1zWtm8EkWn6ckIgF7m8U9afnJr39pU4vxQfnU0r+0jPwQHo90Y2GMhpU9psTIeKcWYyxgi5VC
TjRuAMZtaZKeQkifW15XW5abqd3OSBs5q3iXRWvF2Dk4TGoFapprLi9Y0DFwIOlfd4nbJLNDeRWS0Tcv
4rIQu8a2Sc/Hg1ufqzSJk1suH+J3eaNArBobXP808QNSSP9CEz/AjYUxGtbGsmzeCIcnscWt+syiaDyb
Hp+lSRI/TtrI3DX72/A1HvGyix55e8dx2P9ZgrIWDNgOdrz3HnjM+ucdN863di0GbCD9MxKfSWaPeKgs
ba58gT0yxK2xbNEXqAtolIlVYxvUn3ZTXbru2R+d+AFJo39tOwunSa0GN1heN0MWP8CNhbEaVu3pTus3
/KS3A6PxqDYQh7PVJH4wjlnvBP/BQpA6EDwMKBj0Lyhc3rY4cum++06PH1+zZIlZ/0D8wPlranjQDtI/
IzGfZG2Vf801PhMv0E6qqLxUFIczipPM+mdCaqxR/ICk0T8TylFOOOIHuLEwdsO6X7v1lf5cUeV+rUHN
VcXa78IMyqu8ti9gqIQrfkDn1Kli7BycQSNlnPUPNA+yn5g6lQdl/QPNg0MgfihgjiSw/i3kv/DSsGZ2
xqwPWEThqIzc9c3JpX9tlfzH9PpmFZmvoe8rEydVNH4iBEgESUgd/bMQP1g6V2VH43F5N40VyxCGQ0d5
IWxWuc0jnUL/wv5JFDcWxnJYG9jP9UgMTM8Ypd/dK6TPLbf7VbDuENMJ3A3xMyCeBTXs/8x7RBln/YPS
GmfOxICifwDolGfsWDgU9LV3QeLqny3JpH/6SdY/M2deUVnFJxXlJYW5U9kvwCHp8ypDfHHKJXGXBIWU
0D9V/NrqtmovvZQXzcro2zs9rL2RM24ay1clcBgOg7bKvHT2BETReq1RlfuwNVz/uvN7YG4sjPGwNm8r
lH6YUEf/zLHip1CjIYGxaymuS+nZL80aiy0KU/z4RhAk0Hz9U7waaAmXNNS3YEBKPk+6srNRt9yRkPo3
qrDWYerUFmX0Hhql38MEYr1Knqgtcnw3PG18gfPv7HWHuElC45pZ6iLSf3rEH2u1Jm6NPbGzeGG5uvOr
zJMfHx+Ynv1X218Q7g5uGsuXDHAYDo+GigL5uxrMWPH47v7ywpKd3ZF2NxbGYVhPN9euL8x5ImMQH8qB
6ROfzSveymZx29a86ElgzFpa+Yoynmwdbi6bDr5wxI8rn9A8oX9dDz4ohhV0kR8140b/TkhXWS8vWAA6
BWqFuuWOhNM/7RkqB6LzY5icuKySDZ8U5kiPFHPSBmfNWxXP/6iSZFBjDYi1A8OJhxsLE21YdRLYjb2v
mZi1FPUPCVn8QOpgyDrmz8ewgnn/54yD/jXOnMlnxaX77uMxPHFS6B9Qv1NcS7Fydr+TEhnieDq1NTfU
4sWxnXU2DxZHFpKEZMVNY/ki0nX33e2bNoG7OH8+uI7nnuucOLFz5MhL2dmYLn5wC8Fh2IoEHFZJAiN5
bT92LdXuy4R52bP7cEnj8hYUnjhZ9C+u0CqZrKRyY9t37QKFu1BaykWOKdzEiaB8QmAM7mr//tH473Gh
IuzBsBWJOaxtVYXZozJy3o2keMS0pacbKoryClfFR/wALmmob8HgiUn/IgBJQrKSso2FnZwQEpcOxBIz
xxVhD4atSJ1hTakJzCUN9S0YPDHpXwQgSUhWUrexR4/Cfk5oSVDX8fLLmDHeCJMwbEXqDGtKTWAuaahv
weCJSf8iAElCspLKjf1q3TqhJc7uytChiXDlkyOswrAVqTOsKTWBuaShvgWDJ46i/g0jCOLaZPTDD1fe
c4/QEmf33IMPYrYEQFiFYSJl4JKG+hYMnji6+78ZBEFca/xt0qRTrsXvH7/5DWZLDIRhGCZSg4Tb/4FN
GCYI4hrBm58vJCSo6xozBrMlDMI2DBOpAcgNlzTUt2DwxKR/BEEw/PX1XZmZQj/cOMiCmRMGYRuGidSA
9I8giDDxKv9cLSTnXbwYMycSwjwME6kB6R9BECHjP3/eM3mykA2XzuFF+ARx2DwiNYid/p1sO+3sjh4/
UVK6kvSPIBIc35YtXffea1COoA7Ej/SPSCjC0z/QKVArg345O9r/EcQ1D9v2/fnPBs2wdF1jxviqqz1T
pmgxCS9+4LCdRGoQu/0f/rWH9I8gEhnQs65HHjEIhtlBGt+6dSILxk+ZwmMIInEg/SMIIjjeRYuEwtm5
rgEDvCUlmEEFlA/iYeOIYYJIGK4V/ds+t0ePHsOXt2IwBrQuH95jWDGvkNU+d0egtXgYWAEeEyyxRlh2
2hceI+JugEuYndjD6hgdX85Mz92uHNfBG6UybPlxKT6m06m7bM/V2R8beO8Vrgz+hgNTvkWLLEUOtoC+
LVsw0B12sDVAPSUtkVYJ+ykRaeyWJr4mzLW0QBrN0Fc21g9SsUpL7bpFm/+6rsAF7ZrCqT/DJhn0b3uu
bl2LzLiyWaUWq044PpmsylfM697JZl94aITdA5EyIMpI30vEGNkvdspCYz5npELcAOVHaCWV52pIxEv/
fvfd717oF+xRl9zciG7vts+1PNNTWP/kacPyqu3i5ywry7JblB5jZ7TSG1oag4LGkLBXJ+f+DJtrXv/k
dSGSK7g0RVixStW25Qc/M2NEd3ogkr0XRdhMQCPFGNkudnbTRiokKJFbSbujYbHXP5C0S+m/NEqdwYHy
tbRghshgrwfBzzL7vFHErlKX+hccfWLtq5sS32PYcDY9LbtFScANUIxRjRQLWozp3gpD+jd8GOs/hk7w
OMNyn0UfwFYrnmXuXNZrgDTb+IrGEfNAf3bJU4RNI2X549XxCccwfQtTkEZIKRPRJ56bqx4yxBsmB1q1
XE09bPkOYbxpKpirszIA4GeOgtYtaECxWr50hsgNlM40pYc5tqeTdRorA3B+Lxd15W4XybRK2dhJo8/L
5AOqTQ+1Z+SBlvtWFBK8eyX71WKdes80rAJzH4bUq0qlw5YXm8vn/cbR7NG13WQMgAaL4YbWidkyfPmX
wd5wqL3llr6/X8oKkiuyngaahbx/RGO1nsSM5raIGGy7fV4Wx1LIUwIarnhELmy19v2Jo/Ub7+e5uSyZ
ksu6e8XY4eQRNogyc5crGeU5oxWLo8lKk2yWG6UaaZokLD0/BImZB+cw1i+hWK4rWTLGakpEF623ldrR
7GArm01/RoprSv9sZwzOS93k1mXhk5j3nTQt5Kmjm0YsjerXJhzORWXqyHVJNki2SSeenFguRK5Ub7wK
H37JWmwF95smsa4QGwPseszOMO435ZVHQe5eGWNv8MJtDOCF6PyKAdwvpZcqRQt54dwAqSK5FcZK5S51
7l65QFvj7XtPQs7L07jvVSUNlinXq8TzNNa9rS9TQzYY/Uqa1rcefvVHPzKonezY453l89TyFSOlDjS3
WrJWHlZTq62sDT+v1gNyN1pbK/Whrp/VoFP3yl2nS8OnkFOxphHXpoRss5yYp8F4xKbbdSWbauSTJ8ZI
o6n2j7mvuN88oHKayHFt7f/4WNpODl3/6offfCJpU8oCaYqwuW5Vvs20001WAIeNwTPaGamPV5Fng7yo
6RY4DYtCjAYoNWoZtaCdYRx+VEFpnVKsVpEhyFEiTV1kZwAfF+w6uRuNfszLMmKNut4wWo5IxmiF8M7h
frvuNReOfkALOvcexzg3QulVXV7j6IspLc8lrSJDkMOrxtFRO4f9mOcD/QyCJ9yZO+/MHDyTZdAMCHo2
6c5WaRR0XaS0jqfR4n2LXodKx93whJy35PcsMmheuYu0oVEitTnQY1jtX9hDrb78JzCBGq9vi2X3Wo21
1jpA13BDsVLQmJ2hjSxDzsuqVhuO6CqVMfewUgjrBEMDY4Su33hjeUvl+Sz77fszUqSK/um6UswzBTW9
hDxFWGKsyzx+5mmnpBHzjCUBv5xRb6TWFn28ilyL3SyR0BViaYAxo9ZLdoap3cX8oreN1lr1hnWLbA2w
HVbJz9JIvYEJ9GXqx12gpFHySoW46V47P8NF70nIjQq1V3V5pXqVeG6SIVIkth4IXaRS0fKpTFosnfJ4
5+tao+R+wIYgxuE2DIfWIiVeBzdYS+8ZMujAzTcb8tYPHeV7aVrQvPqRUuJztytNxm7BfuvR44Obb975
k5+Ah/fz3mn/09D2N2+80bF7tXiHOWAYESko2YxZVNSGy3mZX5t+CtIk0aOUpitEMYalN87M2GCecs6n
nkN/RooU3P9pKHlZtKFPlcRS+ZaF2Ew7YY+c2M4vG6mPV3ExS2RcVKrUqGXUgnaGyT2s+RXDNGsNQY51
F9kZYDusml9ptdQideB0vaFZrkMYIxXiqnvNhaMf0IJ2vSdj3SjZb9+rcnrJJLkiza8YoyY2BTmywf71
fwINMKz73J3p1WvTbP5ig1SXrk8QxULAcDbply2tw627SMSft3rdEKTIEAPOO306ZPO5eD0R3H/dNxVq
dEh8aNIN8PnhhzXcGPCPG/ycYqShe63GWp5O9vNZH7TqB969alGGxGr5KrpKdSgZuQGKMUotLNKi22OB
rt9ks+1ON/v+jBTXvP7pzm2lv3TzEoNyFlNR3C/1NZsieG6zBGJu2YyfqXAlL0+sJJAtwXhzpXLh2oyX
Z4DdLDHNGLkiswHS6aSr1M4wJb2Shldkcd7qRkQqX06j9YyNAXaFSH5mlZSANxmQe0Cq1NSlSl6pEFfd
K1nOAtbG2/aeKY3cqFB7Fc2QylTSK2l0Bth0iOwXhXhXrOjq10cIgOwujO/3o298w9woqXyTwSYDJGt5
i+R5Zd3qPg+9ArWDsHVM6H+sZ0+RF0S6fMJ/+V56CY5a5ZX8uh5A4wGlKIYv/wkoTVgy7ob7LwweAn6+
/+P6BxvN42xr6NS9unjZAKxRHj4cen1QyyJ1FGbnfiVeSczq1QpB5HEB5IaLQpRIJQ3rRi1xjJEapTNb
tln2u+xPXQ/I8yE417z+YX8BrMuUZABLiVmW84VDN2/UZAy1HK0T5SnCUopzxjxBdZ3O0bqe28kYljtX
nX9qIeK5OxxpXeHa6LqZJeYZAzAzrA1gibBPAK1b0ACLJxi11vGjaodYttpwqjuk4YiUumGVCxF+ZiEW
Io+R/TljVZFUiLvu1QqR7eEI410NKxaLR8PpVf4AIfOJtitNUJg7l6UxnReAagwWrhQLhn3ra1/bN0H7
1+ey2zZyqr+lBY03TwlzhyP62jGBmIf2z3CKjIphH9x8MzjeIWeGMj9k+vDVbNBCnpdv4DCrllcaev0I
qkZqtQDe4YPYtU2F9kFDoEyIlPUPPPzWoIK+e9VuNz7/qQ2xxfOfYrZIQclmdbZwjNMbmDjJ0ASGbiEy
NlwrUBosdabFHnWqQHvdnXqu+lPXA7r+DMq1on9hEFpHxAxcU+I2BYmocM0Nq+3/cJg82VddjYkijrJU
ueklf02N0TArh6nDglcBHthQ8ouoIhI+IUZEEskK6V+sIf1LSq6hYfWfP+/NzxcSIhx7sSEiP1Smh2/y
+NdzpZe0bVBIeMeNA6HCAIjW2rVgMwZCBIqSGy47fnFVqC9mIJIU0r9YQ/qXlFwrw8recDD9mKf8Hxui
gHrVS8F9FxmMtHSYNHKI/R/4Yf/nGcJuCiYl0sVniSFZg9GnY3h/9Ohg12PNDM4agj4d2rXoBCKJ9Y8g
CB3m/+Hg8LvV8cW8vYvg/s8BWf8A0D+5UiLJIP0jiOTH39LimTyZa55wial8HHZPbtw4DCgY9K+bsL2d
vjfAgaYa9M9sBpFMkP4RRJLjW7fO+KhL5H+3OsJY6pPZhS1O5sdboDQL/Vu0iPQviSH9I4ikBbZ3nhn6
NxwmT05w5TPDNQmcYf/Xnc2ZS/2L7KaTSDRI/wgiOfFVV+u2fVF9sSFq8I0gCJJZioSGQbzWzGCOF+Ks
f7xS5qHNX1JD+kcQyYbhDYcoP94ZLbgICc0T+ucZMkQ0TWzUQkUonOzM+z8iuUk4/Tt79izYRBBEeORN
nnxU3fZdSEsryczEA9cO3P4PR4zAsAJE7nj0UQx0my8GDwaHAQWocUVmZsGkSeCBT4wlkhqQGy5pqG/B
4ImjqH9fEAQRLsdfx//hcKVfv5YXXti3YwceIAjCCi5pqG/B4Imjq3/nCIIIkfYDBzonTuTid+nll881
N+MBgiBsSFz9a29v5x6A/Bzyc8jPEf7z69dfHTCAKd/MmSCEYZcDkJ9Dfk5y+2n/RxDXPBdKS2Hz99Vn
n2GYIAgXJKL+hafkHPJzyM8hP4f8HPJzyM+h/R9BEASRiiSu/nVH1cnPIT+H/Bzyc8jPIT/t/wiCIIhU
JBH1Lzwl55CfQ34O+Tnk55CfQ34O7f/ccXh1zozVhzCQ+BxaPWN4wTYMEARBEGYSV/+6o+o2/u0Fwwu2
oz/EvEz/3hf6F1reOPhR/8LKi5CfQ34O+Tnk5ySHPxn2fzfeeOOhQ272Zjr9Cw3a/xEEQSQXiah/oSo5
6J+QQIf02xcMF+SUQWImEgJ5t6SlXMDkksUr+rfaHL+tAGMAVSCVckBrEaFDonwAy8Qk3B7GDqkKTK9U
/b4aDykPr1LziTQKkv/Q+5L+mdLoGs7bgvUuWK0eyll9mKffIbUQEPGW9ZIfIT+H/BzycxLNnyT7P06w
XaD9/o9JER5i4qdIgs6vaJWqKNa7K0isyhgTPzWB7JfRp1FqcVG1IquYxmGT53BIKUEUCIWLqhlM3g6V
Kfpq3u8qlkBWNJEgCOJaJnH1z72So/opyPEcyQ9Lv939v8OrZ/CdDaTBLQ6g7H6ULLD0S/f/2A5MFSqt
HNgLLtiBnhmrD5vjFXh6pjFyGqxL3l2hte0N74tLr5KdLA2IFpcxfVvAj/pnileMYdpmvJeJ+ifsZ4i+
QslUsetD8jPIzyE/h/ycxPSn9v4PF3qOhf5pWZj+afshpl7SJkyDRyr6p5nC9E9XLSCVIHBTNVSnpRH6
Z8J2/2e3t1P1T7WfodbO/KJz1HiCIIhrnETUv1CVXBY/x/SoKBjPVvmCHZiG6cr7DTwNW+sxDVv9lTSq
CPF4rl7KbgyvebJ4VefaJf2DeCF1WKYC20FKaZS/rGrFBgWlalQgbaco7GQo+qeVKZVvf/+Pa5vUFo56
/0+1n8Fqx3uNmJ7fC5T6UIH8HPJzyM8hPyeR/Umy/7Pf+bEti3pbTrd50u3SmNjgIbYTUndmml/VP/Rj
Yt02S8rIKlXjJT/LaOWHNErG4FXrmwBpRO16dIbpYfYwERNmiKoBXqOkf+jnBsjxBEEQ1ziJq3/dUXXJ
L+uf2NmwGEiDiz4wo6BAf18NEfftFLkSaLsuKb5ggXyfD2UGAKVBe1DzLPJyeyBOqhpVJsL3/xhsd6ih
2Kzqn8X9P8mkAuWApn825ZMfIT+H/BzycxLHnwz7P8KEw/6PIAiCYCSi/oWn5BzyKzi//4eQn0N+Dvk5
5Oekgp/2fwRBEEQqkrj61x1VJz+H/Bzyc8jPIT+H/LT/IwiCIFKRRNS/8JScQ34O+Tnk55CfQ34O+Tm0
/yMIgiBSkcTVv+6oOvk55OeQn0N+Dvk55I+R/gUC/x/cyUAXywOiugAAAABJRU5ErkJggg==
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAgIAQXAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
/4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
/////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
//////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
//////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
/4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
/////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
//j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
//+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
/4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
//////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
//iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
//////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
//+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
+IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
/4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
//////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
/////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
@@ -1,463 +0,0 @@
using AllBase.Helper;
using CefSharp;
using CefSharp.WinForms;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.ProductForms
{
/// <summary>
/// 主要用来设置上货佣金逻辑
/// </summary>
public partial class UploadProductForm
{
ChromiumWebBrowser webBrowser = null;
UserControls.ButtonEx btn = null;
public void InitCommissionCef()
{
Task.Run(() =>
{
while (true)
{
Thread.Sleep(500);
if (!uploadParam.isSetCommission)
continue;
if (webBrowser == null)
{
Invoke(new Action(() =>
{
webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
webBrowser.Dock = DockStyle.Fill;
webBrowser.KeyboardHandler = new KeyboardHandler();
webBrowser.AddressChanged += WebBrowser_AddressChanged;
webBrowser.FrameLoadEnd += webBrowser_FrameLoadEnd;
webBrowser.SendToBack();
this.Controls.Add(webBrowser);
btn = new UserControls.ButtonEx();
btn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
btn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
btn.Cursor = System.Windows.Forms.Cursors.Hand;
btn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
btn.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
btn.ForeColor = System.Drawing.Color.White;
btn.Location = new System.Drawing.Point(this.Width - 82, 10);
btn.Margin = new System.Windows.Forms.Padding(2);
btn.Name = "btn";
btn.Size = new System.Drawing.Size(72, 25);
btn.TabIndex = 390;
btn.Text = "隐藏";
btn.UseVisualStyleBackColor = false;
btn.Click += Btn_Click;
Controls.Add(btn);
}));
}
if (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
continue;
var jsCode = "function closeMask() {" +
"if (document.body.innerHTML.indexOf('普通计划') < 0) return;" +
"var mask1 = document.getElementsByClassName('ant-modal-root')[0];" +
"if (mask1) mask1.parentNode.removeChild(mask1);" +
"var mask2 = document.getElementsByClassName('y-guide')[0];" +
"if (mask2) mask2.parentNode.removeChild(mask2);" +
"var mask3 = document.getElementById('browser-support-tip');" +
"if (mask3) mask3.parentNode.removeChild(mask3);" +
"}" +
"closeMask();";
//var t = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsCode);
//t.Wait(3000);
Thread.Sleep(500);
while (lstCommissionAddResult.Count > 0)
{
Thread.Sleep(10);
var commission = lstCommissionAddResult[0];
var commissions = lstCommissionAddResult.Where(c => c.ShopName == commission.ShopName && c.Rate == commission.Rate).ToList();
var shop = AllBase.Helper.GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == commission.ShopName);
if (shop == null)
{
lstCommissionAddResult.RemoveAll(s => s.ShopName == commission.ShopName);
NaiBa.Util.Helper.ConfigHelper.SaveConfig("upload_commission_list", lstCommissionAddResult);
}
else
{
var productIds = "";
var rate = commission.Rate;
for (int i = 0; i < 10 && i < commissions.Count; i++)
{
productIds += commissions[i].ProductId + ",";
}
var cookie = shop.Cookies;
CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
t.Wait(2000);
Thread.Sleep(500);
webBrowser.Load("https://buyin.jinritemai.com/dashboard/activity/common-plan");
while (webBrowser.IsLoading)
{
Thread.Sleep(1000);
}
for (int i = 0; i < 50; i++)
{
Thread.Sleep(2000);
var jsStr1 = clickJsElementStr +
"function clickBtn(txt) {\r\n" +
" if (document.body.innerHTML.indexOf('加载失败') >= 0)\r\n" +
" return '加载失败';\r\n" +
" var elem = getElement(txt);\r\n" +
" if (elem) elem.click(); return 'success';\r\n" +
" return 'no_element';\r\n" +
"}\r\n" +
"clickBtn('添加商品');\r\n";
var t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
t1.Wait();
if (t1.Result?.Result?.ToString() == "加载失败")
break;
if (t1.Result?.Result?.ToString() == "success")
{
Thread.Sleep(2000);
string failMsg = "";
#region 选择批量查询选项
var host = webBrowser.GetBrowser().GetHost();
int x = 0, y = 0;
jsStr1 = "function getPos() { var box = document.getElementsByClassName('search-product-select');" +
"if (box[0] == null) return '-|-';" +
"var actualLeft = box[0].offsetLeft;" +
"var actualTop = box[0].offsetTop;" +
"var current = box[0].offsetParent;" +
"while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
"return '' + actualLeft + '|' + actualTop;}" +
"getPos();";
var task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
var result = task.Result?.Result?.ToString();
if (result != null && result != "-|-")
{
var arr = result.Split('|');
if (arr.Length == 2)
{
x = Convert.ToInt32(arr[0]);
y = Convert.ToInt32(arr[1]);
}
int x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
y1 = y + new Random(DateTime.Now.Millisecond).Next(84, 94);
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
}
else
{
failMsg = "佣金商品列表打开失败。";
goto showFail;
}
#endregion
#region 输入商品编号并查询
jsStr1 = "function getPos() { var box = document.getElementsByClassName('ant-select-show-search');" +
"if (box[0] == null) return '-|-';" +
"var actualLeft = box[0].offsetLeft;" +
"var actualTop = box[0].offsetTop;" +
"var current = box[0].offsetParent;" +
"while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
"return '' + actualLeft + '|' + actualTop;}" +
"getPos();";
task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
result = task.Result?.Result?.ToString();
if (result != null && result != "-|-")
{
var arr = result.Split('|');
if (arr.Length == 2)
{
x = Convert.ToInt32(arr[0]);
y = Convert.ToInt32(arr[1]);
}
int x1 = x + new Random(DateTime.Now.Millisecond).Next(6, 30);
int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
Invoke(new Action(() =>
{
Clipboard.Clear();
Clipboard.SetDataObject("" + productIds.TrimEnd(',')); // 复制要搜索的商品ID到剪贴板
}));
// 黏贴 ctrl + v
host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 86, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.ControlDown });
Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
}
else
{
failMsg = "查询设置佣金商品失败。";
goto showFail;
}
jsStr1 = "document.getElementsByClassName('search-btns-item-first')[0].click();";
task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
#endregion
#region 勾选商品信息
jsStr1 = getFirstElementJsStr +
"\r\nfunction getInnerHtml() {\r\n" +
" var item = document.getElementsByClassName('ant-table-wrapper activity-list-table')[0];\r\n" +
" if (item) {\r\n" +
" return item.innerHTML;\r\n" +
" }\r\n" +
" return 'no_element';\r\n" +
"}\r\n" +
"getInnerHtml();";
task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
var idArray = productIds.TrimEnd(',').Split(',');
if (task.Result?.Result?.ToString() == null || !idArray.Any(a => task.Result.Result.ToString().Contains(a)))
{
failMsg = "设置佣金商品不存在。";
goto showFail;
}
jsStr1 = getFirstElementJsStr +
"\r\nfunction clickCheckBox() {\r\n" +
" var item = document.getElementsByClassName('ant-table-wrapper activity-list-table')[0];\r\n" +
" if (item) {\r\n" +
" var tHead = getFirstElement('THEAD', item)\r\n" +
" var tagItem = getFirstElement('INPUT', tHead)\r\n" +
" if (tagItem) tagItem.click(); return 'success';\r\n" +
" }\r\n" +
" return 'no_element';\r\n" +
"}\r\n" +
"clickCheckBox();";
task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
if (task.Result?.Result?.ToString() != "success")
{
failMsg = "设置佣金选择商品不存在。";
goto showFail;
}
#endregion
#region 点击确定设置佣金
jsStr1 = "document.getElementsByClassName('exclusive_commodity-filter-drawer-footer-operations__operation ant-btn-primary')[0].click();";
task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
#endregion
#region 设置佣金金额
jsStr1 = "function getPos() { var box = document.getElementsByClassName('ant-input-number-input');" +
"if (box[0] == null) return '-|-';" +
"var actualLeft = box[0].offsetLeft;" +
"var actualTop = box[0].offsetTop;" +
"var current = box[0].offsetParent;" +
"while (current !== null) { actualLeft += current.offsetLeft; actualTop += current.offsetTop; current = current.offsetParent; }" +
"return '' + actualLeft + '|' + actualTop;}" +
"getPos();";
task = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
task.Wait();
result = task.Result?.Result?.ToString();
if (result != null && result != "-|-")
{
var arr = result.Split('|');
if (arr.Length == 2)
{
x = Convert.ToInt32(arr[0]);
y = Convert.ToInt32(arr[1]);
}
int x1 = x + new Random(DateTime.Now.Millisecond).Next(30, 60);
int y1 = y + new Random(DateTime.Now.Millisecond).Next(6, 16);
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, false, 1, CefEventFlags.None); // 按下鼠标左键
Thread.Sleep(70 + new Random(DateTime.Now.Millisecond).Next(50));
host.SendMouseClickEvent(x1, y1, MouseButtonType.Left, true, 1, CefEventFlags.None); // 松开鼠标左键
Thread.Sleep(150 + new Random(DateTime.Now.Millisecond).Next(150));
// 模拟输入退格键
host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
// 模拟输入退格键
host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 8, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.None });
Thread.Sleep(250 + new Random(DateTime.Now.Millisecond).Next(250));
Invoke(new Action(() =>
{
Clipboard.Clear();
Clipboard.SetDataObject("" + rate); // 复制要搜索的商品ID到剪贴板
}));
// 黏贴 ctrl + v
host.SendKeyEvent(new CefSharp.KeyEvent() { WindowsKeyCode = 86, Type = KeyEventType.RawKeyDown, Modifiers = CefEventFlags.ControlDown });
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
}
else
{
failMsg = "佣金金额设置失败。";
goto showFail;
}
#endregion
#region 最后点击确定按钮设置佣金
//apply-sample-modal-footer
jsStr1 = clickJsElementStr +
"function clickOkBtn(txt) {\r\n" +
" var elem = getElement(txt, document.getElementsByClassName('apply-sample-modal-footer')[0]);\r\n" +
" if (elem) elem.click(); return 'success';\r\n" +
" return 'no_element';\r\n" +
"}\r\n" +
"clickBtn('<span>确定</span>');\r\n";
t1 = webBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(jsStr1);
t1.Wait();
Thread.Sleep(500 + new Random(DateTime.Now.Millisecond).Next(500));
#endregion
Thread.Sleep(2000);
//bool isRetry = false;
//Retry:
//var url = "https://buyin.jinritemai.com/api/promotion/createXdPromotions";
////if (!string.IsNullOrEmpty(sign))
//// url += "?_signature=" + sign;
//var request = new CommonSimRequest();
//var referer = "https://buyin.jinritemai.com/dashboard/activity/common-plan";
//var data = "cos_ratio=" + rate + "&apply_style=1&product_ids=" + productIds.Trim(',');
//Dictionary<string, string> headers = new Dictionary<string, string>();
//headers.Add("Origin", @"https://buyin.jinritemai.com");
//var html = request.Request_Post(url, referer, headers, shop.Cookies, data);
//if (html.Contains("\"msg\":\"success\"") && html.Contains("\"failed_ids\":{}"))
//{
//}
//else
//{
// if (!isRetry)
// {
// isRetry = true;
// goto Retry;
// }
showFail:
if (!string.IsNullOrEmpty(failMsg))
{
Invoke(new Action(() =>
{
pnlShowError.Visible = true;
pnlShowError.Text = " 设置佣金部分失败:" + failMsg + " " + productIds.Trim(',') + " ";
this.pnlShowError.BringToFront();
Task.Run(() =>
{
Thread.Sleep(8000);
if (this.Created)
Invoke(new Action(() =>
{
this.pnlShowError.Visible = false;
}));
});
}));
}
//}
var html = "";
lock (lstCommissionAddResult)
{
try
{
//if (html.Contains("\"msg\":\"success\"") && html.Contains("\"failed_ids\":{}"))
{
lstCommissionAddResult.RemoveAll(s => productIds.Contains(s.ProductId.ToString()) || s.ProductId == 0);
NaiBa.Util.Helper.ConfigHelper.SaveConfig("upload_commission_list", lstCommissionAddResult);
}
}
catch (Exception ex) { }
}
for (int k = 0; k < 600; k++)
{
Thread.Sleep(1000);
if (lstCommissionAddResult.Count > 10 || Work.BLL.Upload.UploadProductBLL.ProductStock.Count < 1)
break;
}
break;
}
}
}
}
}
});
}
private void Btn_Click(object sender, EventArgs e)
{
this.webBrowser.SendToBack();
btn.SendToBack();
}
private void WebBrowser_AddressChanged(object sender, CefSharp.AddressChangedEventArgs e)
{
}
private void webBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
{
}
public string clickJsElementStr = "function getElement(txt, elem) {\r\n" +
" var child = document.body.firstElementChild;\r\n" +
" if (elem) child = elem\r\n" +
" var element1 = null;\r\n" +
" while (child) {\r\n" +
" if (child.innerHTML.indexOf(txt) >= 0) {\r\n" +
" element1 = child;\r\n" +
" if (child.firstElementChild) {\r\n" +
" child = child.firstElementChild; continue;\r\n" +
" } else break;\r\n" +
" }\r\n" +
" child = child.nextElementSibling;\r\n" +
" }\r\n" +
" if (element1) {\r\n" +
" return element1;\r\n" +
" } else return error;\r\n" +
"}\r\n";
public string getFirstElementJsStr = "function getFirstElement(tag_name, elem) {\r\n" +
" var nodes = [];\r\n" +
" var child = document.body.firstElementChild;\r\n" +
" if (elem) child = elem\r\n" +
" nodes.push(child);\r\n" +
" for (i = 0; i < nodes.length; i++) {\r\n" +
" if (nodes[i].tagName === tag_name) return nodes[i];\r\n" +
" for (j = 0; j < nodes[i].childNodes.length; j++) {\r\n" +
" var node = nodes[i].childNodes[j];\r\n" +
" if ((node.nodeType != 3) && (node.nodeName != 'SCRIPT')) {\r\n" +
" nodes.push(node);\r\n" +
" }\r\n" +
" }\r\n" +
" }\r\n" +
" return error;\r\n" +
"}\r\n";
}
}
@@ -1,389 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class UploadProductErrorForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.btnCancel = new TemuKJD.UserControls.ButtonEx();
this.btnSave = new TemuKJD.UserControls.ButtonEx();
this.textBox1 = new System.Windows.Forms.TextBox();
this.buttonExportCsv = new TemuKJD.UserControls.ButtonEx();
this.btnAddToUpload = new TemuKJD.UserControls.ButtonEx();
this.dgvError = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColCatId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colAuthStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColProductId = new System.Windows.Forms.DataGridViewLinkColumn();
this.ColError = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColRemark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.btnImport = new TemuKJD.UserControls.ButtonEx();
this.btnOnlineSearch = new TemuKJD.UserControls.ButtonEx();
this.label2 = new System.Windows.Forms.Label();
this.btnGetProp材质 = new TemuKJD.UserControls.ButtonEx();
this.btnGetDetail = new TemuKJD.UserControls.ButtonEx();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvError)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.btnCancel);
this.panel1.Controls.Add(this.btnSave);
this.panel1.Controls.Add(this.textBox1);
this.panel1.Location = new System.Drawing.Point(351, 206);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(240, 135);
this.panel1.TabIndex = 380;
this.panel1.Visible = false;
//
// btnCancel
//
this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCancel.ForeColor = System.Drawing.Color.White;
this.btnCancel.Location = new System.Drawing.Point(122, 105);
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(80, 26);
this.btnCancel.TabIndex = 380;
this.btnCancel.Text = "取消";
this.btnCancel.UseVisualStyleBackColor = false;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnSave
//
this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSave.ForeColor = System.Drawing.Color.White;
this.btnSave.Location = new System.Drawing.Point(38, 105);
this.btnSave.Margin = new System.Windows.Forms.Padding(2);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(80, 26);
this.btnSave.TabIndex = 379;
this.btnSave.Text = "保存";
this.btnSave.UseVisualStyleBackColor = false;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(4, 4);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(231, 21);
this.textBox1.TabIndex = 0;
//
// buttonExportCsv
//
this.buttonExportCsv.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonExportCsv.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonExportCsv.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonExportCsv.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonExportCsv.ForeColor = System.Drawing.Color.White;
this.buttonExportCsv.Location = new System.Drawing.Point(231, 11);
this.buttonExportCsv.Margin = new System.Windows.Forms.Padding(2);
this.buttonExportCsv.Name = "buttonExportCsv";
this.buttonExportCsv.Size = new System.Drawing.Size(80, 26);
this.buttonExportCsv.TabIndex = 382;
this.buttonExportCsv.Text = "导入csv";
this.buttonExportCsv.UseVisualStyleBackColor = false;
this.buttonExportCsv.Click += new System.EventHandler(this.buttonExportCsv_Click);
//
// btnAddToUpload
//
this.btnAddToUpload.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAddToUpload.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAddToUpload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAddToUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAddToUpload.ForeColor = System.Drawing.Color.White;
this.btnAddToUpload.Location = new System.Drawing.Point(357, 11);
this.btnAddToUpload.Margin = new System.Windows.Forms.Padding(2);
this.btnAddToUpload.Name = "btnAddToUpload";
this.btnAddToUpload.Size = new System.Drawing.Size(109, 26);
this.btnAddToUpload.TabIndex = 381;
this.btnAddToUpload.Text = "添加选中到上传";
this.btnAddToUpload.UseVisualStyleBackColor = false;
this.btnAddToUpload.Click += new System.EventHandler(this.btnAddToUpload_Click);
//
// dgvError
//
this.dgvError.AllowUserToAddRows = false;
this.dgvError.AllowUserToDeleteRows = false;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvError.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
this.dgvError.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.dgvError.BackgroundColor = System.Drawing.Color.White;
this.dgvError.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvError.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.dgvError.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvError.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.Column1,
this.Column2,
this.ColCatId,
this.colAuthStatus,
this.ColFrom,
this.ColProductId,
this.ColError,
this.ColRemark,
this.Column3});
this.dgvError.Location = new System.Drawing.Point(9, 44);
this.dgvError.Name = "dgvError";
this.dgvError.ReadOnly = true;
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvError.RowsDefaultCellStyle = dataGridViewCellStyle9;
this.dgvError.RowTemplate.Height = 23;
this.dgvError.Size = new System.Drawing.Size(925, 479);
this.dgvError.TabIndex = 379;
this.dgvError.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvError_CellClick);
this.dgvError.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvError_CellContentClick);
this.dgvError.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgvError_KeyDown);
this.dgvError.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgvError_KeyPress);
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 40;
//
// Column1
//
this.Column1.HeaderText = "添加时间";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
//
// Column2
//
this.Column2.HeaderText = "修改时间";
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
//
// ColCatId
//
this.ColCatId.HeaderText = "分类ID";
this.ColCatId.Name = "ColCatId";
this.ColCatId.ReadOnly = true;
this.ColCatId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
//
// colAuthStatus
//
this.colAuthStatus.HeaderText = "分类名称";
this.colAuthStatus.Name = "colAuthStatus";
this.colAuthStatus.ReadOnly = true;
this.colAuthStatus.Width = 200;
//
// ColFrom
//
this.ColFrom.HeaderText = "商品来源";
this.ColFrom.Name = "ColFrom";
this.ColFrom.ReadOnly = true;
//
// ColProductId
//
this.ColProductId.HeaderText = "商品ID";
this.ColProductId.Name = "ColProductId";
this.ColProductId.ReadOnly = true;
this.ColProductId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColProductId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// ColError
//
this.ColError.HeaderText = "错误内容";
this.ColError.Name = "ColError";
this.ColError.ReadOnly = true;
this.ColError.Width = 500;
//
// ColRemark
//
this.ColRemark.HeaderText = "备注";
this.ColRemark.Name = "ColRemark";
this.ColRemark.ReadOnly = true;
//
// Column3
//
this.Column3.HeaderText = "是否修复";
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// btnImport
//
this.btnImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnImport.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnImport.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnImport.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnImport.ForeColor = System.Drawing.Color.White;
this.btnImport.Location = new System.Drawing.Point(147, 11);
this.btnImport.Margin = new System.Windows.Forms.Padding(2);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(80, 26);
this.btnImport.TabIndex = 378;
this.btnImport.Text = "导入sql";
this.btnImport.UseVisualStyleBackColor = false;
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// btnOnlineSearch
//
this.btnOnlineSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnOnlineSearch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOnlineSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOnlineSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOnlineSearch.ForeColor = System.Drawing.Color.White;
this.btnOnlineSearch.Location = new System.Drawing.Point(11, 11);
this.btnOnlineSearch.Margin = new System.Windows.Forms.Padding(2);
this.btnOnlineSearch.Name = "btnOnlineSearch";
this.btnOnlineSearch.Size = new System.Drawing.Size(132, 26);
this.btnOnlineSearch.TabIndex = 377;
this.btnOnlineSearch.Text = "服务端查询(内网)";
this.btnOnlineSearch.UseVisualStyleBackColor = false;
this.btnOnlineSearch.Click += new System.EventHandler(this.btnOnlineSearch_Click);
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(889, 13);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(31, 20);
this.label2.TabIndex = 384;
this.label2.Text = "0/0";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label2.Visible = false;
//
// btnGetProp材质
//
this.btnGetProp材质.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnGetProp材质.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnGetProp材质.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnGetProp材质.FlatAppearance.BorderSize = 0;
this.btnGetProp材质.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnGetProp材质.Font = new System.Drawing.Font("微软雅黑", 9F);
this.btnGetProp材质.ForeColor = System.Drawing.Color.White;
this.btnGetProp材质.Location = new System.Drawing.Point(683, 11);
this.btnGetProp材质.Margin = new System.Windows.Forms.Padding(2);
this.btnGetProp材质.Name = "btnGetProp材质";
this.btnGetProp材质.Size = new System.Drawing.Size(188, 26);
this.btnGetProp材质.TabIndex = 383;
this.btnGetProp材质.Text = "采集含有材质必填的类目";
this.btnGetProp材质.UseVisualStyleBackColor = false;
this.btnGetProp材质.Visible = false;
this.btnGetProp材质.Click += new System.EventHandler(this.btnGetProp材质_Click);
//
// btnGetDetail
//
this.btnGetDetail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnGetDetail.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnGetDetail.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnGetDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnGetDetail.ForeColor = System.Drawing.Color.White;
this.btnGetDetail.Location = new System.Drawing.Point(540, 11);
this.btnGetDetail.Margin = new System.Windows.Forms.Padding(2);
this.btnGetDetail.Name = "btnGetDetail";
this.btnGetDetail.Size = new System.Drawing.Size(103, 26);
this.btnGetDetail.TabIndex = 385;
this.btnGetDetail.Text = "测试商品详情";
this.btnGetDetail.UseVisualStyleBackColor = false;
this.btnGetDetail.Click += new System.EventHandler(this.btnGetDetail_Click);
//
// UploadProductErrorForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(945, 535);
this.Controls.Add(this.btnGetDetail);
this.Controls.Add(this.label2);
this.Controls.Add(this.btnGetProp材质);
this.Controls.Add(this.buttonExportCsv);
this.Controls.Add(this.btnAddToUpload);
this.Controls.Add(this.panel1);
this.Controls.Add(this.dgvError);
this.Controls.Add(this.btnImport);
this.Controls.Add(this.btnOnlineSearch);
this.Name = "UploadProductErrorForm";
this.Text = "UploadProductErrorForm";
this.Load += new System.EventHandler(this.UploadProductErrorForm_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvError)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private UserControls.ButtonEx btnImport;
private UserControls.ButtonEx btnOnlineSearch;
private UserComponent.DataGridViewEx dgvError;
private System.Windows.Forms.Panel panel1;
private UserControls.ButtonEx btnCancel;
private UserControls.ButtonEx btnSave;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn ColCatId;
private System.Windows.Forms.DataGridViewTextBoxColumn colAuthStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn ColFrom;
private System.Windows.Forms.DataGridViewLinkColumn ColProductId;
private System.Windows.Forms.DataGridViewTextBoxColumn ColError;
private System.Windows.Forms.DataGridViewTextBoxColumn ColRemark;
private System.Windows.Forms.DataGridViewCheckBoxColumn Column3;
private UserControls.ButtonEx btnAddToUpload;
private UserControls.ButtonEx buttonExportCsv;
private System.Windows.Forms.Label label2;
private UserControls.ButtonEx btnGetProp材质;
private UserControls.ButtonEx btnGetDetail;
}
}
@@ -1,497 +0,0 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Param.FissionManage;
using AllBase.Model.Param.ProductManage;
using AllBase.Model.Param.UploadManage;
using AllBase.Model.Result;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work.BLL.Upload;
using Work.DouyinApiClass;
namespace TemuKJD.KJDForms.ProductForms
{
public partial class UploadProductErrorForm : BaseForm
{
public static List<UploadErrorParam> lstUploadErrorParam = new List<UploadErrorParam>();
public UploadProductErrorForm()
{
InitializeComponent();
lstUploadErrorParam = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<UploadErrorParam>>("upload_product_error_data");
if (lstUploadErrorParam == null)
lstUploadErrorParam = new List<UploadErrorParam>();
}
private void btnImport_Click(object sender, EventArgs e)
{
if (Fission.goodsCategoryList.Count == 0)
Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList<GoodsCategoryModelEx>(DyCategoryParam.DyCategorys);
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Filter = "数据库.sql文件(*.sql)|*.sql";
openFileDialog.RestoreDirectory = true;
openFileDialog.FilterIndex = 1;
openFileDialog.Multiselect = true;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
Task.Run(() =>
{
foreach (var fileName in openFileDialog.FileNames)
{
string lineStr = string.Empty;
string productUrl = string.Empty;
try
{
using (StreamReader sr = new StreamReader(fileName, Encoding.UTF8))
{
int row = 0;
while ((lineStr = sr.ReadLine()) != null)
{
List<string> LineStrs = new List<string>();
if (lineStr.StartsWith("INSERT INTO `oa_upload_error_log` VALUES"))
LineStrs = lineStr.Split(new string[] { ", ", "INSERT INTO `oa_upload_error_log` VALUES (", ");" },
StringSplitOptions.RemoveEmptyEntries).ToList();
else
continue;
UploadErrorParam err = new UploadErrorParam()
{
cat_id = LineStrs[8].Trim('\''),
message = LineStrs[9].Trim('\''),
product_id = LineStrs[10].Trim('\''),
source_id = LineStrs[11].Trim('\''),
addtime = Convert.ToDateTime(LineStrs[1].Trim('\'')),
update_time = Convert.ToDateTime(LineStrs[4].Trim('\'')),
};
var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id.ToString() == err.cat_id);
string catName = "^" + cat?.name;
if (cat != null && cat.name != "全部分类")
{
var parentCat = cat;
while (parentCat != null && parentCat.parent_cid != 0)
{
parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
catName = "^" + parentCat.name + catName;
}
}
err.cat_name = catName.Trim('^');
if (lstUploadErrorParam.Any(r => r.cat_id == err.cat_id && r.product_id == err.product_id && r.message == err.message))
continue;
lstUploadErrorParam.Add(err);
Invoke(new Action(() =>
{
if (err.update_time > DateTime.Now.Date)
this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
err.product_id, err.message, err.remark, err.is_repair);
}));
row++;
}
}
}
catch (Exception ex)
{
if (ex.Message.Contains("无法访问"))
{
BaseMsgForm.ShowInfo("文件" + fileName + "打开失败,请查看是否有其他应用正在使用。");
}
}
}
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<UploadErrorParam>>("upload_product_error_data", lstUploadErrorParam);
});
}
}
private void dgvError_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvError.Columns[e.ColumnIndex].HeaderText;
string from = dgvError.Rows[e.RowIndex].Cells["ColFrom"].Value.ToString();
string productId = dgvError.Rows[e.RowIndex].Cells["ColProductId"].Value.ToString();
string cat_id = dgvError.Rows[e.RowIndex].Cells["ColCatId"].Value.ToString();
string message = dgvError.Rows[e.RowIndex].Cells["ColError"].Value.ToString();
if (headerText.ToUpper() == "商品ID")
{
string upUrl = "";
if (from.StartsWith("tb"))
upUrl = "https://item.taobao.com/item.htm?id=" + productId;
if (from.StartsWith("pd"))
upUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + productId;
if (from.StartsWith("al"))
upUrl = "https://detail.1688.com/offer/" + productId + ".html";
if (from.StartsWith("jx"))
upUrl = "https://item.jd.com/" + productId + ".html";
if (from.StartsWith("dy"))
upUrl = "https://haohuo.jinritemai.com/views/product/detail?id=" + productId;
if (string.IsNullOrEmpty(productId))
upUrl = "https://www.baidu.com";
NaiBa.Util.Helper.FileHelper.OpenUrl(upUrl);
}
if (headerText == "是否修复")
{
dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = !dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ParseToBool();
var err = lstUploadErrorParam.Find(r => r.cat_id == cat_id && r.product_id == productId && r.message == message);
if (err != null)
{
err.is_repair = dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ParseToBool();
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<UploadErrorParam>>("upload_product_error_data", lstUploadErrorParam);
}
}
if (headerText == "选")
{
dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = !dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ParseToBool();
}
}
private void UploadProductErrorForm_Load(object sender, EventArgs e)
{
lstUploadErrorParam = lstUploadErrorParam.OrderByDescending(err => err.update_time).ToList();
var lstUploadErrorParamOld = lstUploadErrorParam.Where(err => err.update_time < DateTime.Now.Date).ToList();
if (lstUploadErrorParamOld.Count > 0)
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<UploadErrorParam>>("upload_product_error_data" + DateTime.Now.ToString("yyyyMMddHHmm"), lstUploadErrorParam);
lstUploadErrorParam = lstUploadErrorParam.Where(err => err.update_time >= DateTime.Now.Date).ToList();
foreach (var err in lstUploadErrorParam)
{
this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
err.product_id, err.message, err.remark, err.is_repair);
if (this.dgvError.Rows.Count > 5000)
break;
}
#if DEBUG
btnGetProp材质.Visible = true;
label2.Visible = true;
#endif
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.panel1.Visible = false;
}
private void btnSave_Click(object sender, EventArgs e)
{
var err = panel1.Tag as UploadErrorParam;
if (err == null)
return;
err.remark = textBox1.Text.Trim();
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<UploadErrorParam>>("upload_product_error_data", lstUploadErrorParam);
var row = dgvError.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["ColProductId"].Value.ToString() == err.product_id
&& r.Cells["ColError"].Value.ToString() == err.message && r.Cells["ColCatId"].Value.ToString() == err.cat_id);
row.Cells["ColRemark"].Value = err.remark;
this.panel1.Visible = false;
}
private void dgvError_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvError.Columns[e.ColumnIndex].HeaderText;
string from = dgvError.Rows[e.RowIndex].Cells["ColFrom"].Value.ToString();
string productId = dgvError.Rows[e.RowIndex].Cells["ColProductId"].Value.ToString();
string cat_id = dgvError.Rows[e.RowIndex].Cells["ColCatId"].Value.ToString();
string message = dgvError.Rows[e.RowIndex].Cells["ColError"].Value.ToString();
if (headerText == "备注")
{
var text = dgvError.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;
var err = lstUploadErrorParam.FirstOrDefault(r => r.cat_id == cat_id && r.product_id == productId && r.message == message);
if (err != null)
{
this.panel1.Tag = err;
this.panel1.Visible = true;
this.panel1.BringToFront();
this.textBox1.Text = err.remark;
}
}
}
private void btnAddToUpload_Click(object sender, EventArgs e)
{
var rows = dgvError.Rows.Cast<DataGridViewRow>().Where(r => r.Selected).ToList();
var rows1 = dgvError.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value?.ParseToBool() == true);
rows.AddRange(rows1);
List<string> productIds = new List<string>();
foreach (DataGridViewRow r in rows)
{
string from = r.Cells["ColFrom"].Value.ToString();
string productId = r.Cells["ColProductId"].Value.ToString();
string upUrl = "";
if (from.StartsWith("tb"))
upUrl = "https://item.taobao.com/item.htm?id=" + productId;
if (from.StartsWith("pd"))
upUrl = "https://mobile.yangkeduo.com/goods.html?goods_id=" + productId;
if (from.StartsWith("al"))
upUrl = "https://detail.1688.com/offer/" + productId + ".html";
if (from.StartsWith("jx"))
upUrl = "https://item.jd.com/" + productId + ".html";
if (from.StartsWith("dy"))
upUrl = "https://haohuo.jinritemai.com/views/product/detail?id=" + productId;
if (string.IsNullOrEmpty(productId))
upUrl = "https://www.baidu.com";
productIds.Add(upUrl);
}
if (UploadProductForm.instance != null)
{
UploadProductForm.instance.InputDataData(productIds.ToArray());
}
}
private void buttonExportCsv_Click(object sender, EventArgs e)
{
if (Fission.goodsCategoryList.Count == 0)
Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList<GoodsCategoryModelEx>(DyCategoryParam.DyCategorys);
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Filter = "数据.csv文件(*.csv)|*.csv";
openFileDialog.RestoreDirectory = true;
openFileDialog.FilterIndex = 1;
openFileDialog.Multiselect = true;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
Task.Run(() =>
{
foreach (var fileName in openFileDialog.FileNames)
{
string lineStr = string.Empty;
string productUrl = string.Empty;
try
{
using (StreamReader sr = new StreamReader(fileName, Encoding.Default))
{
int row = 0;
while ((lineStr = sr.ReadLine()) != null)
{
List<string> LineStrs = lineStr.Split(new string[] { "," },
StringSplitOptions.RemoveEmptyEntries).ToList();
if (LineStrs.Count < 7)
continue;
UploadErrorParam err = new UploadErrorParam()
{
cat_id = LineStrs[3].Trim('\''),
message = LineStrs[6].Trim('\''),
product_id = LineStrs[4].Trim('\''),
source_id = LineStrs[5].Trim('\''),
addtime = Convert.ToDateTime(LineStrs[1].Trim('\'')),
update_time = Convert.ToDateTime(LineStrs[2].Trim('\'')),
};
var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id.ToString() == err.cat_id);
string catName = "^" + cat?.name;
if (cat != null && cat.name != "全部分类")
{
var parentCat = cat;
while (parentCat != null && parentCat.parent_cid != 0)
{
parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
catName = "^" + parentCat.name + catName;
}
}
err.cat_name = catName.Trim('^');
if (lstUploadErrorParam.Any(r => r.cat_id == err.cat_id && r.product_id == err.product_id && r.message == err.message))
continue;
lstUploadErrorParam.Add(err);
Invoke(new Action(() =>
{
if (err.update_time > DateTime.Now.Date /*&& err.message.Contains("类目属性")*/)
this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
err.product_id, err.message, err.remark, err.is_repair);
}));
row++;
}
}
}
catch (Exception ex)
{
if (ex.Message.Contains("无法访问"))
{
BaseMsgForm.ShowInfo("文件" + fileName + "打开失败,请查看是否有其他应用正在使用。");
}
}
}
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<UploadErrorParam>>("upload_product_error_data", lstUploadErrorParam);
});
}
}
private void dgvError_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == ' ')
{
}
}
private void dgvError_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Delete)
{
var rows = dgvError.Rows.Cast<DataGridViewRow>().ToList().Where(r => r.Selected);
foreach (var row in rows)
{
var err = lstUploadErrorParam.FirstOrDefault(er => er.cat_id == row.Cells["ColCatId"].Value.ToString()
&& er.product_id == row.Cells["ColProductId"].Value.ToString());
if (err != null)
lstUploadErrorParam.Remove(err);
dgvError.Rows.Remove(row);
}
}
}
private void btnGetProp材质_Click(object sender, EventArgs e)
{
Task.Run(() =>
{
if (Fission.goodsCategoryList.Count == 0)
Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList<GoodsCategoryModelEx>(DyCategoryParam.DyCategorys);
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ApiAuthStatus == "授权成功");
StringBuilder sb = new StringBuilder();
sb.Append(FileBase.ReadAllText("抖音类目包含材质必填项的属性.txt"));
string errStr = "";
int num = 0;
foreach (var ca in Fission.goodsCategoryList)
{
num++;
if (num % 100 == 99)
{
FileBase.WriteAllText("抖音类目包含材质必填项的属性.txt", sb.ToString());
}
Invoke(new Action(() => { this.label2.Text = num + "/" + Fission.goodsCategoryList.Count; }));
if (sb.ToString().StartsWith(ca.id + "^") || sb.ToString().Contains("\r\n" + ca.id + "^"))
continue;
if (!ca.is_leaf)
continue;
string str = "";
CatePropertyResponseInfo propery = new UploadPropertyBLL().getCatePropertyInterfaceV2(ca.id.ToString(), shop);
while (propery == null)
{
Thread.Sleep(1000);
propery = new UploadPropertyBLL().getCatePropertyInterfaceV2(ca.id.ToString(), shop);
}
if (propery.data?.data == null || propery.data?.data.Count == 0)
{
// 此类目已调整升级,请重新选择类目进行商品发布
// 其他酒类
// 农用/环境用卫生农药
// 追悼/奠仪用花
errStr += ca.name + "^" + propery.err_no + "^" + propery.log_id + "^" + propery.message + "^" + propery.sub_msg + "\r\n";
FileBase.WriteAllText("抖音类目属性获取错误.txt", errStr);
continue;
}
foreach (var pItem in propery?.data?.data)
{
if ((pItem.property_name.Contains("材质") || pItem.property_name.Contains("含量")) && pItem.required)
str += "^" + pItem.property_name;
}
if (!string.IsNullOrEmpty(str))
{
string catName = "^" + ca.name;
var parentCat = ca;
while (parentCat.parent_cid != 0)
{
parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
catName = "^" + parentCat.name + catName;
}
sb.Append(ca.id + "^" + catName.Trim('^') + "-----" + str.Trim('^') + "\r\n");
}
Thread.Sleep(Randomx.GetId(100, 300));
}
FileBase.WriteAllText("抖音类目包含材质必填项的属性.txt", sb.ToString());
});
}
private void btnGetDetail_Click(object sender, EventArgs e)
{
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopAccount == "开箱小店");
if (shop != null)
{
DouyinApi api = new DouyinApi(shop);
api.JsonData = new Dictionary<string, string>();
api.JsonData["product_id"] = "3550791292457991728";
var html = api.GetProductDetail();
}
}
private void btnOnlineSearch_Click(object sender, EventArgs e)
{
if (Fission.goodsCategoryList.Count == 0)
Fission.goodsCategoryList = JsonHelper.DeserializeJsonToList<GoodsCategoryModelEx>(DyCategoryParam.DyCategorys);
var result = GetHtml.GetUrl("http://192.168.8.157:801/data.php?page=1&limit=1000");
if (string.IsNullOrEmpty(result))
return;
JObject jObj = JObject.Parse(result);
foreach (JObject obj in jObj["data"])
{
var objStr = obj.ToString();
UploadErrorParam err = new UploadErrorParam()
{
cat_id = BaseRegex.GetStringJson(ref objStr, "cat_id"),
message = BaseRegex.GetStringJson(ref objStr, "message"),
product_id = BaseRegex.GetStringJson(ref objStr, "product_id"),
source_id = BaseRegex.GetStringJson(ref objStr, "source_id"),
addtime = Convert.ToDateTime(BaseRegex.GetStringJson(ref objStr, "addtime")),
update_time = Convert.ToDateTime(BaseRegex.GetStringJson(ref objStr, "update_time")),
};
var cat = Fission.goodsCategoryList.FirstOrDefault(c => c.id.ToString() == err.cat_id);
string catName = "^" + cat?.name;
if (cat != null && cat.name != "全部分类")
{
var parentCat = cat;
while (parentCat != null && parentCat.parent_cid != 0)
{
parentCat = Fission.goodsCategoryList.FirstOrDefault(mc => mc.id == parentCat.parent_cid);
catName = "^" + parentCat.name + catName;
}
}
err.cat_name = catName.Trim('^');
if (lstUploadErrorParam.Any(r => r.cat_id == err.cat_id && r.product_id == err.product_id && r.message == err.message))
continue;
lstUploadErrorParam.Add(err);
Invoke(new Action(() =>
{
if (err.update_time > DateTime.Now.Date /*&& err.message.Contains("类目属性")*/)
this.dgvError.Rows.Add(false, err.addtime, err.update_time, err.cat_id, err.cat_name, err.source_id,
err.product_id, err.message, err.remark, err.is_repair);
}));
}
NaiBa.Util.Helper.ConfigHelper.SaveConfig<List<UploadErrorParam>>("upload_product_error_data", lstUploadErrorParam);
}
}
}
@@ -1,150 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColCatId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colAuthStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColFrom.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColProductId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColError.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColRemark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,237 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colUploadCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="idColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="shopNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="titleColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="prcieColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="fromColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colFromFake.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="messageColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="canUpColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="showedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="explodeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BuyAPIColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewLinkColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="shopNameColumnx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="nameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="catNameColumnx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="upCountColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="productCountColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="messageColumnx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="APIColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ServiceEndTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="EndTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="shopRemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,166 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class UploadProductViolateSelectForm
{
/// <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(UploadProductViolateSelectForm));
this.panel2 = new System.Windows.Forms.Panel();
this.pnlViolateCheck = new System.Windows.Forms.FlowLayoutPanel();
this.btnAll = new DevComponents.DotNetBar.PanelEx();
this.btnAllSerious = new DevComponents.DotNetBar.PanelEx();
this.btnNone = new DevComponents.DotNetBar.PanelEx();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Controls.Add(this.btnNone);
this.panel2.Controls.Add(this.btnAllSerious);
this.panel2.Controls.Add(this.btnAll);
this.panel2.Controls.Add(this.pnlViolateCheck);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(1, 33);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1198, 566);
this.panel2.TabIndex = 1;
//
// pnlViolateCheck
//
this.pnlViolateCheck.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.pnlViolateCheck.AutoScroll = true;
this.pnlViolateCheck.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pnlViolateCheck.Location = new System.Drawing.Point(5, 33);
this.pnlViolateCheck.Name = "pnlViolateCheck";
this.pnlViolateCheck.Size = new System.Drawing.Size(1186, 526);
this.pnlViolateCheck.TabIndex = 432;
//
// btnAll
//
this.btnAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnAll.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnAll.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAll.DisabledBackColor = System.Drawing.Color.Empty;
this.btnAll.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAll.Location = new System.Drawing.Point(5, 6);
this.btnAll.Name = "btnAll";
this.btnAll.Size = new System.Drawing.Size(100, 23);
this.btnAll.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnAll.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAll.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAll.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnAll.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnAll.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnAll.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnAll.Style.GradientAngle = 90;
this.btnAll.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnAll.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnAll.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnAll.TabIndex = 446;
this.btnAll.Text = "选择全部违规";
this.btnAll.Click += new System.EventHandler(this.btnAll_Click);
//
// btnAllSerious
//
this.btnAllSerious.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnAllSerious.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnAllSerious.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnAllSerious.DisabledBackColor = System.Drawing.Color.Empty;
this.btnAllSerious.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAllSerious.Location = new System.Drawing.Point(109, 6);
this.btnAllSerious.Name = "btnAllSerious";
this.btnAllSerious.Size = new System.Drawing.Size(100, 23);
this.btnAllSerious.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnAllSerious.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAllSerious.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnAllSerious.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnAllSerious.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnAllSerious.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnAllSerious.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnAllSerious.Style.GradientAngle = 90;
this.btnAllSerious.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnAllSerious.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnAllSerious.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnAllSerious.TabIndex = 450;
this.btnAllSerious.Text = "选择严重违规";
this.btnAllSerious.Click += new System.EventHandler(this.btnAllSerious_Click);
//
// btnNone
//
this.btnNone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnNone.CanvasColor = System.Drawing.SystemColors.Control;
this.btnNone.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnNone.DisabledBackColor = System.Drawing.Color.Empty;
this.btnNone.Font = new System.Drawing.Font("微软雅黑", 9F);
this.btnNone.Location = new System.Drawing.Point(213, 6);
this.btnNone.Name = "btnNone";
this.btnNone.Size = new System.Drawing.Size(100, 23);
this.btnNone.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnNone.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnNone.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnNone.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnNone.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnNone.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnNone.Style.GradientAngle = 90;
this.btnNone.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnNone.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnNone.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnNone.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnNone.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnNone.TabIndex = 458;
this.btnNone.Text = "清除所有选择";
this.btnNone.Click += new System.EventHandler(this.btnNone_Click);
//
// UploadProductViolateSelectForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1200, 600);
this.Controls.Add(this.panel2);
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 = "UploadProductViolateSelectForm";
this.Text = "云违规排查选项";
this.TitleText = "云违规排查选项";
this.Load += new System.EventHandler(this.UploadProductViolateSelectForm_Load);
this.Controls.SetChildIndex(this.panel2, 0);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.FlowLayoutPanel pnlViolateCheck;
private DevComponents.DotNetBar.PanelEx btnAllSerious;
private DevComponents.DotNetBar.PanelEx btnAll;
private DevComponents.DotNetBar.PanelEx btnNone;
}
}
@@ -1,77 +0,0 @@
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 TemuKJD.KJDForms.ProductForms
{
public partial class UploadProductViolateSelectForm : TemuKJD.KJDForms.BaseForms.LRBaseForm
{
public UploadProductViolateSelectForm()
{
InitializeComponent();
}
private void UploadProductViolateSelectForm_Load(object sender, EventArgs e)
{
Task.Run(() =>
{
// 读取违规信息规则名称列表
ViolateManageForm.GetAllViolateRuleName();
// 显示违规信息规则名称列表
ViolateManageForm.SetViolateSelectList(pnlViolateCheck);
});
}
private void btnAll_Click(object sender, EventArgs e)
{
foreach (Control c in pnlViolateCheck.Controls)
{
var chk = c as CheckBox;
if (chk != null)
{
chk.Checked = true;
ViolateManageForm.Cb_Click(chk, null);
}
}
}
private void btnAllSerious_Click(object sender, EventArgs e)
{
foreach (Control c in pnlViolateCheck.Controls)
{
var chk = c as CheckBox;
if (chk != null)
{
if (chk.ForeColor == Color.FromArgb(240, 10, 0))
{
chk.Checked = true;
}
else
{
chk.Checked = false;
}
ViolateManageForm.Cb_Click(chk, null);
}
}
}
private void btnNone_Click(object sender, EventArgs e)
{
foreach (Control c in pnlViolateCheck.Controls)
{
var chk = c as CheckBox;
if (chk != null)
{
chk.Checked = false;
ViolateManageForm.Cb_Click(chk, null);
}
}
}
}
}
@@ -1,298 +0,0 @@
<?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
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
/4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
/////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
//////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
//////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
/4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
/////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
//j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
//+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
/4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
//////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
//iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
//////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
//+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
+IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
/4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
//////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
/////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
@@ -1,991 +0,0 @@
namespace TemuKJD.KJDForms.ProductForms
{
partial class ViolateManageForm
{
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.btnImport = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.chkOperateOffSale = new System.Windows.Forms.CheckBox();
this.chkOperateDataBase = new System.Windows.Forms.CheckBox();
this.chkOperateOnSale = new System.Windows.Forms.CheckBox();
this.btnStartTroubleShooting = new DevComponents.DotNetBar.PanelEx();
this.btnStop = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.panel1 = new System.Windows.Forms.Panel();
this.llClear = new TemuKJD.UserComponent.LinkLabelLc();
this.llSelectSerious = new TemuKJD.UserComponent.LinkLabelLc();
this.llSelectAllRule = new TemuKJD.UserComponent.LinkLabelLc();
this.flpViolate = new System.Windows.Forms.FlowLayoutPanel();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnRefreshShop = new TemuKJD.UserControls.ButtonEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colAuthStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.ucTabControl1 = new TemuKJD.UserComponent.UcTabControl();
this.tabPageCheckResult = new System.Windows.Forms.TabPage();
this.dgvCheck = new TemuKJD.UserComponent.DataGridViewEx();
this.tabPageViolateFileList = new System.Windows.Forms.TabPage();
this.dgvViolateFileData = new TemuKJD.UserComponent.DataGridViewEx();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.col_dir = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_file_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_penalize_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_business_id = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_up_id = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_from = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_from_fake = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_rule_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_against_detail = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_operate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_select = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.col_result_data_from = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_shop_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_shop_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_product_id = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_result_up_id = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_result_from = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_from_fake = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_rule_names = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_check_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_result_status = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx3.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
this.panel1.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
this.panelEx1.SuspendLayout();
this.ucTabControl1.SuspendLayout();
this.tabPageCheckResult.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvCheck)).BeginInit();
this.tabPageViolateFileList.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvViolateFileData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.Panel2.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.panelEx2);
this.splitContainer1.Panel1.Controls.Add(this.btnImport);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
this.splitContainer1.Panel1.Controls.Add(this.btnStartTroubleShooting);
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(1126, 590);
this.splitContainer1.SplitterDistance = 160;
this.splitContainer1.TabIndex = 4;
//
// panelEx2
//
this.panelEx2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
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("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelEx2.Location = new System.Drawing.Point(1008, 12);
this.panelEx2.Name = "panelEx2";
this.panelEx2.Size = new System.Drawing.Size(108, 23);
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx2.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.panelEx2.Style.ForeColor.Color = System.Drawing.Color.White;
this.panelEx2.Style.GradientAngle = 90;
this.panelEx2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx2.TabIndex = 456;
this.panelEx2.Text = "删除选中违规商品";
this.panelEx2.Click += new System.EventHandler(this.BtnDelViolate_Click);
//
// btnImport
//
this.btnImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnImport.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnImport.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnImport.DisabledBackColor = System.Drawing.Color.Empty;
this.btnImport.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnImport.Location = new System.Drawing.Point(922, 12);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(80, 23);
this.btnImport.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnImport.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnImport.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnImport.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnImport.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnImport.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnImport.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnImport.Style.GradientAngle = 90;
this.btnImport.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnImport.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnImport.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnImport.TabIndex = 427;
this.btnImport.Text = "导入罚单";
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// ucGroupBoxEx3
//
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx3.Controls.Add(this.chkOperateOffSale);
this.ucGroupBoxEx3.Controls.Add(this.chkOperateDataBase);
this.ucGroupBoxEx3.Controls.Add(this.chkOperateOnSale);
this.ucGroupBoxEx3.Location = new System.Drawing.Point(147, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
this.ucGroupBoxEx3.Size = new System.Drawing.Size(191, 160);
this.ucGroupBoxEx3.TabIndex = 423;
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "排查违规选项";
//
// chkOperateOffSale
//
this.chkOperateOffSale.AutoSize = true;
this.chkOperateOffSale.Checked = true;
this.chkOperateOffSale.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkOperateOffSale.Location = new System.Drawing.Point(95, 60);
this.chkOperateOffSale.Name = "chkOperateOffSale";
this.chkOperateOffSale.Size = new System.Drawing.Size(75, 21);
this.chkOperateOffSale.TabIndex = 435;
this.chkOperateOffSale.Text = "排查仓库";
this.chkOperateOffSale.UseVisualStyleBackColor = true;
//
// chkOperateDataBase
//
this.chkOperateDataBase.AutoSize = true;
this.chkOperateDataBase.Checked = true;
this.chkOperateDataBase.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkOperateDataBase.Location = new System.Drawing.Point(15, 33);
this.chkOperateDataBase.Name = "chkOperateDataBase";
this.chkOperateDataBase.Size = new System.Drawing.Size(111, 21);
this.chkOperateDataBase.TabIndex = 434;
this.chkOperateDataBase.Text = "排查产品数据库";
this.chkOperateDataBase.UseVisualStyleBackColor = true;
//
// chkOperateOnSale
//
this.chkOperateOnSale.AutoSize = true;
this.chkOperateOnSale.Checked = true;
this.chkOperateOnSale.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkOperateOnSale.Location = new System.Drawing.Point(15, 60);
this.chkOperateOnSale.Name = "chkOperateOnSale";
this.chkOperateOnSale.Size = new System.Drawing.Size(75, 21);
this.chkOperateOnSale.TabIndex = 433;
this.chkOperateOnSale.Text = "排查在售";
this.chkOperateOnSale.UseVisualStyleBackColor = true;
//
// btnStartTroubleShooting
//
this.btnStartTroubleShooting.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStartTroubleShooting.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStartTroubleShooting.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnStartTroubleShooting.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStartTroubleShooting.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnStartTroubleShooting.Location = new System.Drawing.Point(922, 41);
this.btnStartTroubleShooting.Name = "btnStartTroubleShooting";
this.btnStartTroubleShooting.Size = new System.Drawing.Size(80, 23);
this.btnStartTroubleShooting.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnStartTroubleShooting.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStartTroubleShooting.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStartTroubleShooting.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnStartTroubleShooting.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnStartTroubleShooting.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnStartTroubleShooting.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnStartTroubleShooting.Style.GradientAngle = 90;
this.btnStartTroubleShooting.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnStartTroubleShooting.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnStartTroubleShooting.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnStartTroubleShooting.TabIndex = 409;
this.btnStartTroubleShooting.Text = "开始排查";
this.btnStartTroubleShooting.Click += new System.EventHandler(this.btnStartTroubleShooting_Click);
//
// btnStop
//
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStop.Location = new System.Drawing.Point(1008, 41);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(108, 23);
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnStop.Style.GradientAngle = 90;
this.btnStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnStop.TabIndex = 405;
this.btnStop.Text = "停止操作";
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// ucGroupBoxEx2
//
this.ucGroupBoxEx2.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.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx2.Controls.Add(this.panel1);
this.ucGroupBoxEx2.Controls.Add(this.flpViolate);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(338, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Padding = new System.Windows.Forms.Padding(5, 3, 5, 5);
this.ucGroupBoxEx2.Size = new System.Drawing.Size(578, 160);
this.ucGroupBoxEx2.TabIndex = 400;
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "排查违规类型";
//
// panel1
//
this.panel1.Controls.Add(this.llClear);
this.panel1.Controls.Add(this.llSelectSerious);
this.panel1.Controls.Add(this.llSelectAllRule);
this.panel1.Location = new System.Drawing.Point(93, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(217, 20);
this.panel1.TabIndex = 470;
//
// llClear
//
this.llClear.AutoSize = true;
this.llClear.Location = new System.Drawing.Point(159, 1);
this.llClear.Name = "llClear";
this.llClear.Size = new System.Drawing.Size(56, 17);
this.llClear.TabIndex = 2;
this.llClear.TabStop = true;
this.llClear.Text = "清除选择";
this.llClear.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llClear_LinkClicked);
//
// llSelectSerious
//
this.llSelectSerious.AutoSize = true;
this.llSelectSerious.Location = new System.Drawing.Point(81, 1);
this.llSelectSerious.Name = "llSelectSerious";
this.llSelectSerious.Size = new System.Drawing.Size(80, 17);
this.llSelectSerious.TabIndex = 1;
this.llSelectSerious.TabStop = true;
this.llSelectSerious.Text = "选择严重违规";
this.llSelectSerious.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llSelectSerious_LinkClicked);
//
// llSelectAllRule
//
this.llSelectAllRule.AutoSize = true;
this.llSelectAllRule.Location = new System.Drawing.Point(3, 1);
this.llSelectAllRule.Name = "llSelectAllRule";
this.llSelectAllRule.Size = new System.Drawing.Size(80, 17);
this.llSelectAllRule.TabIndex = 0;
this.llSelectAllRule.TabStop = true;
this.llSelectAllRule.Text = "选择全部违规";
this.llSelectAllRule.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llSelectAllRule_LinkClicked);
//
// flpViolate
//
this.flpViolate.AutoScroll = true;
this.flpViolate.Dock = System.Windows.Forms.DockStyle.Fill;
this.flpViolate.Location = new System.Drawing.Point(5, 19);
this.flpViolate.Name = "flpViolate";
this.flpViolate.Size = new System.Drawing.Size(568, 136);
this.flpViolate.TabIndex = 0;
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 160);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// btnRefreshShop
//
this.btnRefreshShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.ForeColor = System.Drawing.Color.White;
this.btnRefreshShop.Location = new System.Drawing.Point(16, 30);
this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(2);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(112, 26);
this.btnRefreshShop.TabIndex = 375;
this.btnRefreshShop.Text = "刷新店铺状态";
this.btnRefreshShop.UseVisualStyleBackColor = false;
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1126, 426);
this.splitContainer3.SplitterDistance = 396;
this.splitContainer3.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1126, 396);
this.splitContainer2.SplitterDistance = 336;
this.splitContainer2.TabIndex = 0;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colShopId,
this.colShopName,
this.colAuthStatus,
this.colMessage});
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 0);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
this.dgvShop.RowHeadersWidth = 30;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvShop.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(332, 396);
this.dgvShop.TabIndex = 6;
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// colSelect
//
this.colSelect.HeaderText = "全选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 28;
//
// colShopId
//
this.colShopId.HeaderText = "店铺";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Width = 55;
//
// colShopName
//
this.colShopName.FillWeight = 150F;
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colShopName.Width = 75;
//
// colAuthStatus
//
this.colAuthStatus.HeaderText = "授权状态";
this.colAuthStatus.Name = "colAuthStatus";
this.colAuthStatus.ReadOnly = true;
this.colAuthStatus.Width = 65;
//
// colMessage
//
this.colMessage.HeaderText = "消息";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 120;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.Controls.Add(this.ucTabControl1);
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelEx1.Location = new System.Drawing.Point(0, 0);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Padding = new System.Windows.Forms.Padding(1);
this.panelEx1.Size = new System.Drawing.Size(782, 396);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.White;
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.White;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 183;
//
// ucTabControl1
//
this.ucTabControl1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.ucTabControl1.Controls.Add(this.tabPageCheckResult);
this.ucTabControl1.Controls.Add(this.tabPageViolateFileList);
this.ucTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucTabControl1.Location = new System.Drawing.Point(1, 1);
this.ucTabControl1.Name = "ucTabControl1";
this.ucTabControl1.SelectedIndex = 0;
this.ucTabControl1.ShowCloseButton = false;
this.ucTabControl1.Size = new System.Drawing.Size(780, 394);
this.ucTabControl1.TabIndex = 0;
this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucTabControl1.TabTextColor = System.Drawing.Color.Gray;
this.ucTabControl1.SelectedIndexChanged += new System.EventHandler(this.ucTabControl1_SelectedIndexChanged);
//
// tabPageCheckResult
//
this.tabPageCheckResult.Controls.Add(this.dgvCheck);
this.tabPageCheckResult.Location = new System.Drawing.Point(2, 26);
this.tabPageCheckResult.Name = "tabPageCheckResult";
this.tabPageCheckResult.Padding = new System.Windows.Forms.Padding(3);
this.tabPageCheckResult.Size = new System.Drawing.Size(774, 364);
this.tabPageCheckResult.TabIndex = 0;
this.tabPageCheckResult.Text = "排查结果";
this.tabPageCheckResult.UseVisualStyleBackColor = true;
//
// dgvCheck
//
this.dgvCheck.AllowUserToAddRows = false;
this.dgvCheck.AllowUserToDeleteRows = false;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
this.dgvCheck.BackgroundColor = System.Drawing.Color.White;
this.dgvCheck.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dgvCheck.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvCheck.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.col_result_select,
this.col_result_data_from,
this.col_result_shop_id,
this.col_result_shop_name,
this.col_result_product_id,
this.col_result_up_id,
this.col_result_from,
this.col_result_from_fake,
this.col_result_rule_names,
this.col_result_check_time,
this.col_result_status,
this.dataGridViewTextBoxColumn5});
this.dgvCheck.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvCheck.Location = new System.Drawing.Point(3, 3);
this.dgvCheck.Name = "dgvCheck";
this.dgvCheck.ReadOnly = true;
this.dgvCheck.RowHeadersWidth = 48;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvCheck.RowsDefaultCellStyle = dataGridViewCellStyle6;
this.dgvCheck.RowTemplate.Height = 23;
this.dgvCheck.Size = new System.Drawing.Size(768, 358);
this.dgvCheck.TabIndex = 8;
this.dgvCheck.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCheck_CellContentClick);
this.dgvCheck.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvCheck_CellMouseDown);
this.dgvCheck.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCheck_CellMouseEnter);
//
// tabPageViolateFileList
//
this.tabPageViolateFileList.Controls.Add(this.dgvViolateFileData);
this.tabPageViolateFileList.Location = new System.Drawing.Point(2, 26);
this.tabPageViolateFileList.Name = "tabPageViolateFileList";
this.tabPageViolateFileList.Padding = new System.Windows.Forms.Padding(3);
this.tabPageViolateFileList.Size = new System.Drawing.Size(774, 364);
this.tabPageViolateFileList.TabIndex = 1;
this.tabPageViolateFileList.Text = "罚单数据";
this.tabPageViolateFileList.UseVisualStyleBackColor = true;
//
// dgvViolateFileData
//
this.dgvViolateFileData.AllowUserToAddRows = false;
this.dgvViolateFileData.AllowUserToDeleteRows = false;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvViolateFileData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
this.dgvViolateFileData.BackgroundColor = System.Drawing.Color.White;
this.dgvViolateFileData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvViolateFileData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.dgvViolateFileData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvViolateFileData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewCheckBoxColumn1,
this.col_dir,
this.col_file_name,
this.col_penalize_id,
this.col_business_id,
this.col_up_id,
this.col_from,
this.col_from_fake,
this.col_rule_name,
this.col_against_detail,
this.col_operate});
this.dgvViolateFileData.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvViolateFileData.Location = new System.Drawing.Point(3, 3);
this.dgvViolateFileData.Name = "dgvViolateFileData";
this.dgvViolateFileData.ReadOnly = true;
this.dgvViolateFileData.RowHeadersWidth = 48;
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvViolateFileData.RowsDefaultCellStyle = dataGridViewCellStyle9;
this.dgvViolateFileData.RowTemplate.Height = 23;
this.dgvViolateFileData.Size = new System.Drawing.Size(768, 358);
this.dgvViolateFileData.TabIndex = 7;
this.dgvViolateFileData.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvViolateFileData_CellContentClick);
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
//
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
this.splitContainer4.Size = new System.Drawing.Size(1126, 26);
this.splitContainer4.SplitterDistance = 1011;
this.splitContainer4.TabIndex = 3;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1011, 26);
this.statusBar.TabIndex = 2;
//
// btnClear
//
this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClear.Location = new System.Drawing.Point(17, 0);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(90, 21);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.Style.GradientAngle = 90;
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.TabIndex = 440;
this.btnClear.Text = "清空排查结果";
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.HeaderText = "全选";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewCheckBoxColumn1.Visible = false;
this.dataGridViewCheckBoxColumn1.Width = 40;
//
// col_dir
//
this.col_dir.HeaderText = "路径";
this.col_dir.Name = "col_dir";
this.col_dir.ReadOnly = true;
//
// col_file_name
//
this.col_file_name.HeaderText = "文件名";
this.col_file_name.Name = "col_file_name";
this.col_file_name.ReadOnly = true;
//
// col_penalize_id
//
this.col_penalize_id.HeaderText = "罚单编号";
this.col_penalize_id.Name = "col_penalize_id";
this.col_penalize_id.ReadOnly = true;
this.col_penalize_id.Width = 130;
//
// col_business_id
//
this.col_business_id.HeaderText = "商品编号";
this.col_business_id.Name = "col_business_id";
this.col_business_id.ReadOnly = true;
this.col_business_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.col_business_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.col_business_id.Width = 130;
//
// col_up_id
//
this.col_up_id.HeaderText = "上家编号";
this.col_up_id.Name = "col_up_id";
this.col_up_id.ReadOnly = true;
this.col_up_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.col_up_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.col_up_id.Width = 130;
//
// col_from
//
this.col_from.HeaderText = "来源";
this.col_from.Name = "col_from";
this.col_from.ReadOnly = true;
this.col_from.Visible = false;
this.col_from.Width = 80;
//
// col_from_fake
//
this.col_from_fake.HeaderText = "来源";
this.col_from_fake.Name = "col_from_fake";
this.col_from_fake.ReadOnly = true;
//
// col_rule_name
//
this.col_rule_name.HeaderText = "违规类型";
this.col_rule_name.Name = "col_rule_name";
this.col_rule_name.ReadOnly = true;
this.col_rule_name.Width = 280;
//
// col_against_detail
//
this.col_against_detail.HeaderText = "违规详情";
this.col_against_detail.Name = "col_against_detail";
this.col_against_detail.ReadOnly = true;
this.col_against_detail.Visible = false;
//
// col_operate
//
this.col_operate.HeaderText = "操作";
this.col_operate.Name = "col_operate";
this.col_operate.ReadOnly = true;
this.col_operate.Visible = false;
this.col_operate.Width = 80;
//
// col_result_select
//
this.col_result_select.HeaderText = "选择";
this.col_result_select.Name = "col_result_select";
this.col_result_select.ReadOnly = true;
this.col_result_select.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.col_result_select.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.col_result_select.Width = 40;
//
// col_result_data_from
//
this.col_result_data_from.HeaderText = "违规来源";
this.col_result_data_from.Name = "col_result_data_from";
this.col_result_data_from.ReadOnly = true;
this.col_result_data_from.Width = 120;
//
// col_result_shop_id
//
this.col_result_shop_id.HeaderText = "店铺编号";
this.col_result_shop_id.Name = "col_result_shop_id";
this.col_result_shop_id.ReadOnly = true;
this.col_result_shop_id.Visible = false;
//
// col_result_shop_name
//
this.col_result_shop_name.HeaderText = "店铺名称";
this.col_result_shop_name.Name = "col_result_shop_name";
this.col_result_shop_name.ReadOnly = true;
//
// col_result_product_id
//
this.col_result_product_id.HeaderText = "商品编号";
this.col_result_product_id.Name = "col_result_product_id";
this.col_result_product_id.ReadOnly = true;
this.col_result_product_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.col_result_product_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.col_result_product_id.Width = 130;
//
// col_result_up_id
//
this.col_result_up_id.HeaderText = "上家编号";
this.col_result_up_id.Name = "col_result_up_id";
this.col_result_up_id.ReadOnly = true;
this.col_result_up_id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.col_result_up_id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.col_result_up_id.Width = 130;
//
// col_result_from
//
this.col_result_from.HeaderText = "来源";
this.col_result_from.Name = "col_result_from";
this.col_result_from.ReadOnly = true;
this.col_result_from.Visible = false;
this.col_result_from.Width = 80;
//
// col_result_from_fake
//
this.col_result_from_fake.HeaderText = "来源";
this.col_result_from_fake.Name = "col_result_from_fake";
this.col_result_from_fake.ReadOnly = true;
this.col_result_from_fake.Width = 80;
//
// col_result_rule_names
//
this.col_result_rule_names.HeaderText = "违规类型";
this.col_result_rule_names.Name = "col_result_rule_names";
this.col_result_rule_names.ReadOnly = true;
this.col_result_rule_names.Width = 280;
//
// col_result_check_time
//
this.col_result_check_time.HeaderText = "排查时间";
this.col_result_check_time.Name = "col_result_check_time";
this.col_result_check_time.ReadOnly = true;
//
// col_result_status
//
this.col_result_status.HeaderText = "处理状态";
this.col_result_status.Name = "col_result_status";
this.col_result_status.ReadOnly = true;
this.col_result_status.Width = 150;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.HeaderText = "操作";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
this.dataGridViewTextBoxColumn5.Visible = false;
this.dataGridViewTextBoxColumn5.Width = 80;
//
// ViolateManageForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1126, 590);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "ViolateManageForm";
this.Text = "云违规排查";
this.Load += new System.EventHandler(this.ViolateManageForm_Load);
this.VisibleChanged += new System.EventHandler(this.ViolateManageForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx3.ResumeLayout(false);
this.ucGroupBoxEx3.PerformLayout();
this.ucGroupBoxEx2.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ucGroupBoxEx1.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.panelEx1.ResumeLayout(false);
this.ucTabControl1.ResumeLayout(false);
this.tabPageCheckResult.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvCheck)).EndInit();
this.tabPageViolateFileList.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvViolateFileData)).EndInit();
this.splitContainer4.Panel1.ResumeLayout(false);
this.splitContainer4.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private DevComponents.DotNetBar.PanelEx btnStartTroubleShooting;
private DevComponents.DotNetBar.PanelEx btnStop;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private System.Windows.Forms.SplitContainer splitContainer3;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvShop;
private System.Windows.Forms.SplitContainer splitContainer4;
private UserControls.StatusBarUserControl statusBar;
private UserControls.ButtonEx btnRefreshShop;
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
private System.Windows.Forms.FlowLayoutPanel flpViolate;
private System.Windows.Forms.CheckBox chkOperateOnSale;
private System.Windows.Forms.CheckBox chkOperateDataBase;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colAuthStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private System.Windows.Forms.CheckBox chkOperateOffSale;
private DevComponents.DotNetBar.PanelEx btnImport;
private DevComponents.DotNetBar.PanelEx panelEx1;
private UserComponent.UcTabControl ucTabControl1;
private System.Windows.Forms.TabPage tabPageCheckResult;
private System.Windows.Forms.TabPage tabPageViolateFileList;
private UserComponent.DataGridViewEx dgvViolateFileData;
private DevComponents.DotNetBar.PanelEx btnClear;
private UserComponent.DataGridViewEx dgvCheck;
private DevComponents.DotNetBar.PanelEx panelEx2;
private System.Windows.Forms.Panel panel1;
private UserComponent.LinkLabelLc llSelectAllRule;
private UserComponent.LinkLabelLc llClear;
private UserComponent.LinkLabelLc llSelectSerious;
private System.Windows.Forms.DataGridViewCheckBoxColumn col_result_select;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_data_from;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_shop_id;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_shop_name;
private System.Windows.Forms.DataGridViewLinkColumn col_result_product_id;
private System.Windows.Forms.DataGridViewLinkColumn col_result_up_id;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_from;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_from_fake;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_rule_names;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_check_time;
private System.Windows.Forms.DataGridViewTextBoxColumn col_result_status;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn col_dir;
private System.Windows.Forms.DataGridViewTextBoxColumn col_file_name;
private System.Windows.Forms.DataGridViewTextBoxColumn col_penalize_id;
private System.Windows.Forms.DataGridViewLinkColumn col_business_id;
private System.Windows.Forms.DataGridViewLinkColumn col_up_id;
private System.Windows.Forms.DataGridViewTextBoxColumn col_from;
private System.Windows.Forms.DataGridViewTextBoxColumn col_from_fake;
private System.Windows.Forms.DataGridViewTextBoxColumn col_rule_name;
private System.Windows.Forms.DataGridViewTextBoxColumn col_against_detail;
private System.Windows.Forms.DataGridViewTextBoxColumn col_operate;
}
}
File diff suppressed because it is too large. Load diff
@@ -1,195 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colAuthStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_select.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_data_from.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_shop_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_shop_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_up_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_from.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_from_fake.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_rule_names.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_check_time.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_result_status.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_dir.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_file_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_penalize_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_up_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_from.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_from_fake.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_rule_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_against_detail.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_operate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,6 +1,5 @@
using TemuKJD.KJDForms.ProductForms;
using TemuKJD.KJDForms.SalesCenterForms;
using TemuKJD.KJDForms.ShopOptimizeForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -26,19 +25,6 @@ namespace TemuKJD.KJDForms.ProductForms
public Lazy<ProductThirdUserSelectForm> userSelectThirdProductForm = new Lazy<ProductThirdUserSelectForm>();
public Lazy<MarketingActivityForm> marketingActivityForm = new Lazy<MarketingActivityForm>();
public Lazy<UploadProductForm> uploadProductForm = new Lazy<UploadProductForm>();
public Lazy<CommissionForm> commissionForm = new Lazy<CommissionForm>();
public Lazy<CleanDataForm> cleanDataForm = new Lazy<CleanDataForm>();
public Lazy<FissionDataBaseForm> fissionDataBaseForm = new Lazy<FissionDataBaseForm>();
public Lazy<ShopProductForm> shopProductForm = new Lazy<ShopProductForm>();
public Lazy<StockSyncForm> stockSyncForm = new Lazy<StockSyncForm>();
public Lazy<SpecialDelaySendForm> specialDelaySendForm = new Lazy<SpecialDelaySendForm>();
public Lazy<GetUpProductForm> getUpProductForm = new Lazy<GetUpProductForm>();
public Lazy<ViolateManageForm> violateManageForm = new Lazy<ViolateManageForm>();
public Lazy<UploadProductErrorForm> uploadProductErrorForm = new Lazy<UploadProductErrorForm>();
public Lazy<ClearNoVisitorForm> clearNoVisitorForm = new Lazy<ClearNoVisitorForm>();
public ProductForm()
{
InitializeComponent();
@@ -75,39 +61,6 @@ namespace TemuKJD.KJDForms.ProductForms
case "活动报名":
SetForm(marketingActivityForm.Value);
break;
case "商品发布":
SetForm(uploadProductForm.Value);
break;
case "佣金设置":
SetForm(commissionForm.Value);
break;
case "净化数据":
SetForm(cleanDataForm.Value);
break;
case "产品数据库":
SetForm(fissionDataBaseForm.Value);
break;
case "商品上下架":
SetForm(shopProductForm.Value);
break;
case "清理无流量":
SetForm(clearNoVisitorForm.Value);
break;
case "库存管理":
SetForm(stockSyncForm.Value);
break;
case "特殊延迟发货":
SetForm(specialDelaySendForm.Value);
break;
case "云违规排查":
SetForm(violateManageForm.Value);
break;
case "跳转上家":
SetForm(getUpProductForm.Value);
break;
case "上传错误列表":
SetForm(uploadProductErrorForm.Value);
break;
}
}));
}).Start();
@@ -75,6 +75,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
this.colHeadWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEndWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colFissionWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_edit = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_delete = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_select_product = new System.Windows.Forms.DataGridViewLinkColumn();
@@ -368,6 +369,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
this.colHeadWords,
this.colEndWords,
this.colFissionWords,
this.colAddTime,
this.col_edit,
this.col_delete,
this.col_select_product});
@@ -519,6 +521,12 @@ namespace TemuKJD.KJDForms.ProductSelectForms
this.colFissionWords.ReadOnly = true;
this.colFissionWords.Visible = false;
//
// colAddTime
//
this.colAddTime.HeaderText = "入库时间";
this.colAddTime.Name = "colAddTime";
this.colAddTime.ReadOnly = true;
//
// col_edit
//
this.col_edit.FillWeight = 60F;
@@ -612,6 +620,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
private System.Windows.Forms.DataGridViewTextBoxColumn colHeadWords;
private System.Windows.Forms.DataGridViewTextBoxColumn colEndWords;
private System.Windows.Forms.DataGridViewTextBoxColumn colFissionWords;
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
@@ -135,6 +135,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
prod.head_words,
prod.end_words,
prod.fission_words,
prod.add_time,
"编辑",
"删除",
"认领");
@@ -162,6 +162,9 @@
<metadata name="colFissionWords.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colAddTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_edit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@@ -39,6 +39,7 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DbProductSelectListManageForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.btnDel = new DevComponents.DotNetBar.PanelEx();
this.btnReFission = new TemuKJD.UserControls.ButtonEx();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label13 = new System.Windows.Forms.Label();
@@ -138,6 +139,7 @@
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
@@ -150,6 +152,32 @@
this.splitContainer1.SplitterDistance = 70;
this.splitContainer1.TabIndex = 2;
//
// btnDel
//
this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDel.Location = new System.Drawing.Point(1280, 39);
this.btnDel.Name = "btnDel";
this.btnDel.Size = new System.Drawing.Size(90, 26);
this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnDel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnDel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnDel.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnDel.Style.GradientAngle = 90;
this.btnDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnDel.TabIndex = 473;
this.btnDel.Text = "批量删除选中";
this.btnDel.Visible = false;
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
//
// btnReFission
//
this.btnReFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -158,7 +186,7 @@
this.btnReFission.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReFission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnReFission.ForeColor = System.Drawing.Color.White;
this.btnReFission.Location = new System.Drawing.Point(1280, 19);
this.btnReFission.Location = new System.Drawing.Point(1280, 8);
this.btnReFission.Margin = new System.Windows.Forms.Padding(2);
this.btnReFission.Name = "btnReFission";
this.btnReFission.Size = new System.Drawing.Size(90, 26);
@@ -712,7 +740,7 @@
this.btnSetSubSa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSetSubSa.ForeColor = System.Drawing.Color.White;
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 19);
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 8);
this.btnSetSubSa.Margin = new System.Windows.Forms.Padding(2);
this.btnSetSubSa.Name = "btnSetSubSa";
this.btnSetSubSa.Size = new System.Drawing.Size(90, 26);
@@ -729,7 +757,7 @@
this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAdd.ForeColor = System.Drawing.Color.White;
this.btnAdd.Location = new System.Drawing.Point(1464, 19);
this.btnAdd.Location = new System.Drawing.Point(1464, 8);
this.btnAdd.Margin = new System.Windows.Forms.Padding(2);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(90, 26);
@@ -1167,5 +1195,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.ComboBox cmbNotes;
private DevComponents.DotNetBar.PanelEx btnDel;
}
}
@@ -436,7 +436,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
}
}
private bool DeleteProduct(string dbId)
private bool DeleteProduct(string dbId, bool isShowErrMsg = true)
{
var url = BaseClass.BuildObjString("product/del_select_product");
var data = UserLogin.GetSignaturex() +
@@ -448,7 +448,8 @@ namespace TemuKJD.KJDForms.ProductSelectForms
html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
{
BaseMsgForm.ShowError("删除商品失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
if (isShowErrMsg)
BaseMsgForm.ShowError("删除失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
return false;
}
return true;
@@ -1401,6 +1402,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
private void chkShowDel_CheckedChanged(object sender, EventArgs e)
{
dgvSelectProduct.Columns["colDelete"].Visible = this.chkShowDel.Checked;
btnDel.Visible = this.chkShowDel.Checked;
}
private void btnReFission_Click(object sender, EventArgs e)
@@ -1574,5 +1576,33 @@ namespace TemuKJD.KJDForms.ProductSelectForms
public decimal numSkuRandomPrice { get; set; } = 0;
}
DbProdSelectConfig dbProdSelectConfig = new DbProdSelectConfig();
private void btnDel_Click(object sender, EventArgs e)
{
if (BaseMsgForm.ShowConfirm("确定删除认领商品吗?删除后不可恢复!").DialogResult == DialogResult.Cancel)
return;
pbLoading.Visible = true;
var dbIds = dgvSelectProduct.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true)
.Select(r => r.Cells["colSelectId"].Value.ParseToString());
Task.Run(() =>
{
foreach (var dbId in dbIds)
{
Thread.Sleep(50);
var rst = DeleteProduct(dbId, false);
if (rst == false)
{
Invoke(new Action(() =>
{
BaseMsgForm.ShowError("数据删除失败,请稍后重试!");
}));
break;
}
};
SearchDbProdSelect(this.ucSplitPage1.CurrentPage);
});
}
}
}
@@ -0,0 +1,714 @@

namespace TemuKJD.KJDForms.ProductSelectForms
{
partial class DbPriceMarkUpForm
{
/// <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 dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.panel5 = new System.Windows.Forms.Panel();
this.chkShowDelete = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnDelete = new TemuKJD.UserControls.ButtonEx();
this.panel4 = new System.Windows.Forms.Panel();
this.loginPanel = new DevComponents.DotNetBar.PanelEx();
this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.txtExtCode = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
this.txtNotes = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.dgvPrice = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colExtCpde = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOriginalPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMarkupTimes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colExtraPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.conNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn();
this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn();
this.chkAutoDrag = new System.Windows.Forms.CheckBox();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.btnImport = new DevComponents.DotNetBar.PanelEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.panel5.SuspendLayout();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPrice)).BeginInit();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.BackColor = System.Drawing.Color.White;
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
this.splitContainer1.Size = new System.Drawing.Size(1307, 535);
this.splitContainer1.SplitterDistance = 46;
this.splitContainer1.TabIndex = 35;
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel2.Controls.Add(this.panel5, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.panel4, 0, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(1307, 46);
this.tableLayoutPanel2.TabIndex = 37;
//
// panel5
//
this.panel5.Controls.Add(this.chkShowDelete);
this.panel5.Controls.Add(this.btnDelete);
this.panel5.Location = new System.Drawing.Point(1096, 3);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(208, 40);
this.panel5.TabIndex = 1;
//
// chkShowDelete
//
this.chkShowDelete.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkShowDelete.AutoSize = true;
this.chkShowDelete.BackColor = System.Drawing.Color.White;
this.chkShowDelete.Location = new System.Drawing.Point(114, 11);
this.chkShowDelete.Name = "chkShowDelete";
this.chkShowDelete.Size = new System.Drawing.Size(87, 21);
this.chkShowDelete.TabIndex = 374;
this.chkShowDelete.Text = "显示删除栏";
this.chkShowDelete.UseVisualStyleBackColor = false;
this.chkShowDelete.CheckedChanged += new System.EventHandler(this.chkShowDelete_CheckedChanged);
//
// btnDelete
//
this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDelete.ForeColor = System.Drawing.Color.White;
this.btnDelete.Location = new System.Drawing.Point(37, 8);
this.btnDelete.Margin = new System.Windows.Forms.Padding(2);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(66, 26);
this.btnDelete.TabIndex = 372;
this.btnDelete.Text = "删除选中";
this.btnDelete.UseVisualStyleBackColor = false;
this.btnDelete.Visible = false;
//
// panel4
//
this.panel4.Controls.Add(this.btnImport);
this.panel4.Controls.Add(this.loginPanel);
this.panel4.Controls.Add(this.numericUpDown6);
this.panel4.Controls.Add(this.numericUpDown5);
this.panel4.Controls.Add(this.label3);
this.panel4.Controls.Add(this.label8);
this.panel4.Controls.Add(this.numericUpDown4);
this.panel4.Controls.Add(this.numericUpDown3);
this.panel4.Controls.Add(this.label2);
this.panel4.Controls.Add(this.label7);
this.panel4.Controls.Add(this.numericUpDown2);
this.panel4.Controls.Add(this.numericUpDown1);
this.panel4.Controls.Add(this.txtExtCode);
this.panel4.Controls.Add(this.label5);
this.panel4.Controls.Add(this.label1);
this.panel4.Controls.Add(this.pnlEmpty);
this.panel4.Controls.Add(this.txtNotes);
this.panel4.Controls.Add(this.label4);
this.panel4.Controls.Add(this.label6);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(3, 3);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(1087, 40);
this.panel4.TabIndex = 0;
//
// 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(967, 8);
this.loginPanel.Name = "loginPanel";
this.loginPanel.Size = new System.Drawing.Size(48, 26);
this.loginPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.loginPanel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.loginPanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
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.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.loginPanel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.loginPanel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.loginPanel.TabIndex = 441;
this.loginPanel.Text = "查询";
this.loginPanel.Click += new System.EventHandler(this.btnSearch_Click);
//
// numericUpDown6
//
this.numericUpDown6.Increment = new decimal(new int[] {
1,
0,
0,
65536});
this.numericUpDown6.Location = new System.Drawing.Point(749, 10);
this.numericUpDown6.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown6.Name = "numericUpDown6";
this.numericUpDown6.Size = new System.Drawing.Size(50, 23);
this.numericUpDown6.TabIndex = 433;
this.numericUpDown6.Value = new decimal(new int[] {
1000,
0,
0,
0});
//
// numericUpDown5
//
this.numericUpDown5.Increment = new decimal(new int[] {
1,
0,
0,
65536});
this.numericUpDown5.Location = new System.Drawing.Point(690, 10);
this.numericUpDown5.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown5.Name = "numericUpDown5";
this.numericUpDown5.Size = new System.Drawing.Size(50, 23);
this.numericUpDown5.TabIndex = 432;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(607, 14);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(92, 17);
this.label3.TabIndex = 431;
this.label3.Text = "额外加价范围:";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(737, 14);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(17, 17);
this.label8.TabIndex = 434;
this.label8.Text = "~";
//
// numericUpDown4
//
this.numericUpDown4.Increment = new decimal(new int[] {
1,
0,
0,
65536});
this.numericUpDown4.Location = new System.Drawing.Point(541, 10);
this.numericUpDown4.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown4.Name = "numericUpDown4";
this.numericUpDown4.Size = new System.Drawing.Size(50, 23);
this.numericUpDown4.TabIndex = 429;
this.numericUpDown4.Value = new decimal(new int[] {
1000,
0,
0,
0});
//
// numericUpDown3
//
this.numericUpDown3.Increment = new decimal(new int[] {
1,
0,
0,
65536});
this.numericUpDown3.Location = new System.Drawing.Point(482, 10);
this.numericUpDown3.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown3.Name = "numericUpDown3";
this.numericUpDown3.Size = new System.Drawing.Size(50, 23);
this.numericUpDown3.TabIndex = 428;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(399, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(92, 17);
this.label2.TabIndex = 427;
this.label2.Text = "加价倍数范围:";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(529, 14);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(17, 17);
this.label7.TabIndex = 430;
this.label7.Text = "~";
//
// numericUpDown2
//
this.numericUpDown2.Increment = new decimal(new int[] {
1,
0,
0,
65536});
this.numericUpDown2.Location = new System.Drawing.Point(333, 10);
this.numericUpDown2.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(50, 23);
this.numericUpDown2.TabIndex = 425;
this.numericUpDown2.Value = new decimal(new int[] {
1000,
0,
0,
0});
//
// numericUpDown1
//
this.numericUpDown1.Increment = new decimal(new int[] {
1,
0,
0,
65536});
this.numericUpDown1.Location = new System.Drawing.Point(274, 10);
this.numericUpDown1.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(50, 23);
this.numericUpDown1.TabIndex = 424;
//
// txtExtCode
//
this.txtExtCode.Location = new System.Drawing.Point(98, 10);
this.txtExtCode.Name = "txtExtCode";
this.txtExtCode.Size = new System.Drawing.Size(100, 23);
this.txtExtCode.TabIndex = 419;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(65, 14);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(44, 17);
this.label5.TabIndex = 420;
this.label5.Text = "货号:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(215, 14);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(68, 17);
this.label1.TabIndex = 418;
this.label1.Text = "原价范围:";
//
// pnlEmpty
//
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlEmpty.Location = new System.Drawing.Point(1021, 8);
this.pnlEmpty.Name = "pnlEmpty";
this.pnlEmpty.Size = new System.Drawing.Size(56, 26);
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.pnlEmpty.Style.GradientAngle = 90;
this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.pnlEmpty.TabIndex = 413;
this.pnlEmpty.Text = "清空条件";
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
//
// txtNotes
//
this.txtNotes.Location = new System.Drawing.Point(844, 10);
this.txtNotes.Name = "txtNotes";
this.txtNotes.Size = new System.Drawing.Size(100, 23);
this.txtNotes.TabIndex = 376;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(811, 14);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(44, 17);
this.label4.TabIndex = 377;
this.label4.Text = "备注:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(321, 14);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(17, 17);
this.label6.TabIndex = 426;
this.label6.Text = "~";
//
// splitContainer2
//
this.splitContainer2.BackColor = System.Drawing.Color.White;
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
this.splitContainer2.Panel1.Controls.Add(this.dgvPrice);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.chkAutoDrag);
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
this.splitContainer2.Size = new System.Drawing.Size(1307, 485);
this.splitContainer2.SplitterDistance = 456;
this.splitContainer2.TabIndex = 0;
//
// pbLoading
//
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pbLoading.Location = new System.Drawing.Point(628, 203);
this.pbLoading.Name = "pbLoading";
this.pbLoading.Size = new System.Drawing.Size(50, 50);
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbLoading.TabIndex = 6;
this.pbLoading.TabStop = false;
this.pbLoading.Visible = false;
//
// dgvShop
//
this.dgvPrice.AllowUserToAddRows = false;
this.dgvPrice.AllowUserToDeleteRows = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvPrice.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvPrice.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvPrice.BackgroundColor = System.Drawing.Color.White;
this.dgvPrice.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvPrice.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.dgvPrice.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPrice.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colExtCpde,
this.colOriginalPrice,
this.colMarkupTimes,
this.colExtraPrice,
this.conNotes,
this.colEdit,
this.colDelete});
this.dgvPrice.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvPrice.Location = new System.Drawing.Point(4, 0);
this.dgvPrice.Name = "dgvShop";
this.dgvPrice.ReadOnly = true;
this.dgvPrice.RowTemplate.Height = 23;
this.dgvPrice.Size = new System.Drawing.Size(1299, 456);
this.dgvPrice.TabIndex = 5;
//
// colSelect
//
this.colSelect.FillWeight = 26F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colExtCpde
//
this.colExtCpde.FillWeight = 69.42599F;
this.colExtCpde.HeaderText = "商品货号";
this.colExtCpde.Name = "colExtCpde";
this.colExtCpde.ReadOnly = true;
//
// colOriginalPrice
//
this.colOriginalPrice.FillWeight = 69.42599F;
this.colOriginalPrice.HeaderText = "商品原价";
this.colOriginalPrice.Name = "colOriginalPrice";
this.colOriginalPrice.ReadOnly = true;
//
// colMarkupTimes
//
this.colMarkupTimes.HeaderText = "加价倍数";
this.colMarkupTimes.Name = "colMarkupTimes";
this.colMarkupTimes.ReadOnly = true;
//
// colExtraPrice
//
this.colExtraPrice.HeaderText = "额外加价";
this.colExtraPrice.Name = "colExtraPrice";
this.colExtraPrice.ReadOnly = true;
//
// conNotes
//
this.conNotes.HeaderText = "备注";
this.conNotes.Name = "conNotes";
this.conNotes.ReadOnly = true;
//
// colEdit
//
this.colEdit.FillWeight = 46F;
this.colEdit.HeaderText = "编辑";
this.colEdit.Name = "colEdit";
this.colEdit.ReadOnly = true;
this.colEdit.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colEdit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colDelete
//
this.colDelete.FillWeight = 46F;
this.colDelete.HeaderText = "删除";
this.colDelete.Name = "colDelete";
this.colDelete.ReadOnly = true;
this.colDelete.Visible = false;
//
// chkAutoDrag
//
this.chkAutoDrag.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.chkAutoDrag.AutoSize = true;
this.chkAutoDrag.BackColor = System.Drawing.Color.White;
this.chkAutoDrag.Location = new System.Drawing.Point(631, 0);
this.chkAutoDrag.Name = "chkAutoDrag";
this.chkAutoDrag.Size = new System.Drawing.Size(159, 21);
this.chkAutoDrag.TabIndex = 3;
this.chkAutoDrag.Text = "登录时自动滑动拼图验证";
this.chkAutoDrag.UseVisualStyleBackColor = false;
this.chkAutoDrag.Visible = false;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.Location = new System.Drawing.Point(945, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
this.ucSplitPage1.TabIndex = 4;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1307, 25);
this.statusBar.TabIndex = 1;
//
// btnImport
//
this.btnImport.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnImport.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnImport.DisabledBackColor = System.Drawing.Color.Empty;
this.btnImport.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnImport.Location = new System.Drawing.Point(11, 8);
this.btnImport.Name = "btnImport";
this.btnImport.Size = new System.Drawing.Size(48, 26);
this.btnImport.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnImport.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnImport.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnImport.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnImport.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnImport.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnImport.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnImport.Style.GradientAngle = 90;
this.btnImport.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnImport.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnImport.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnImport.TabIndex = 451;
this.btnImport.Text = "导入";
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
//
// DbPriceMarkUpForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1307, 535);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "DbPriceMarkUpForm";
this.Text = "产品加价";
this.Load += new System.EventHandler(this.DbPriceMarkUpForm_Load);
this.VisibleChanged += new System.EventHandler(this.DbPriceMarkUpForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
this.splitContainer2.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvPrice)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.Panel panel5;
private UserComponent.UcCheckBox chkShowDelete;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.TextBox txtExtCode;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label1;
private DevComponents.DotNetBar.PanelEx pnlEmpty;
private System.Windows.Forms.TextBox txtNotes;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.PictureBox pbLoading;
private UserComponent.DataGridViewEx dgvPrice;
private System.Windows.Forms.CheckBox chkAutoDrag;
private UserControls.UcSplitPage ucSplitPage1;
private UserControls.StatusBarUserControl statusBar;
private UserControls.ButtonEx btnDelete;
private System.Windows.Forms.NumericUpDown numericUpDown4;
private System.Windows.Forms.NumericUpDown numericUpDown3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.NumericUpDown numericUpDown6;
private System.Windows.Forms.NumericUpDown numericUpDown5;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label8;
private DevComponents.DotNetBar.PanelEx loginPanel;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCpde;
private System.Windows.Forms.DataGridViewTextBoxColumn colOriginalPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colMarkupTimes;
private System.Windows.Forms.DataGridViewTextBoxColumn colExtraPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn conNotes;
private System.Windows.Forms.DataGridViewLinkColumn colEdit;
private System.Windows.Forms.DataGridViewLinkColumn colDelete;
private DevComponents.DotNetBar.PanelEx btnImport;
}
}
@@ -0,0 +1,278 @@
using AllBase;
using AllBase.Model.Result;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using Work;
namespace TemuKJD.KJDForms.ProductSelectForms
{
public partial class DbPriceMarkUpForm : Form
{
List<TemuDBPriceInfo> lstPriceInfo = new List<TemuDBPriceInfo>();
public DbPriceMarkUpForm()
{
InitializeComponent();
}
private void DbPriceMarkUpForm_Load(object sender, EventArgs e)
{
this.ucSplitPage1.PageChange += UcSplitPage1_PageChange;
this.dgvPrice.AddSelectorColumn("colSelect");
if (BaseClass.SaLevel != 1)
{
this.chkShowDelete.Visible = false;
}
}
private void UcSplitPage1_PageChange(object obj)
{
SearchPrice(this.ucSplitPage1.CurrentPage);
}
private void DbPriceMarkUpForm_VisibleChanged(object sender, EventArgs e)
{
if (this.Visible == true)
{
this.pbLoading.Visible = true;
SearchPrice(this.ucSplitPage1.CurrentPage);
}
}
private void chkShowDelete_CheckedChanged(object sender, EventArgs e)
{
this.dgvPrice.Columns["colDelete"].Visible = chkShowDelete.Checked;
this.btnDelete.Visible = chkShowDelete.Checked;
}
private void btnImport_Click(object sender, EventArgs e)
{
ImportShop();
}
void ImportShop()
{
this.btnImport.Enabled = false;
string text = "货号加价导入格式:\r\n\r\n" +
"1.货号,价格/元,申报价格倍数,额外加价金额/元\r\n" +
"2.货号,价格/元,申报价格倍数,额外加价金额/元,备注\r\n" +
"例如001-007,9,2,3\r\n\r\n" +
"多个货号请每个货号新起一行。";
BaseMsgForm.ShowInfo(text, "", FormLevel.LARGE);
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Filter = "文本文件(*.txt)|*.txt|所有文件 (*.*)|*.*";
openFileDialog.RestoreDirectory = true;
openFileDialog.FilterIndex = 1;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
using (StreamReader sr = new StreamReader(openFileDialog.FileName, System.Text.Encoding.UTF8))
//using (StreamReader sr = new StreamReader(openFileDialog.FileName, Encoding.GetEncoding("gb2312")))
{
string fileName = openFileDialog.FileName;
string importStr = sr.ReadToEnd().Trim();
var strArr = importStr.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries);
for (int i = 0; i < strArr.Length; i++)
{
try
{
// 通用格式
//货号,价格/元,申报价格(加价比例),
//001-007,9,2倍+3,
if (strArr[i].Contains("倍+"))
{
var productArr = strArr[i].Split(new string[] { " ", "\t", ",", "倍+" }, StringSplitOptions.RemoveEmptyEntries);
if (productArr.Length > 3)
{
TemuDBPriceInfo price = new TemuDBPriceInfo
{
ext_code = productArr[0],
original_price = (productArr[1].ParseToDecimal() * 100).ParseToInt(),
markup_times = productArr[2].ParseToInt(),
extra_price = (productArr[3].ParseToDecimal() * 100).ParseToInt(),
};
if (productArr.Length > 4)
{
price.notes = productArr[4];
}
AddDbPrice(price);
}
}
}
catch (Exception ex)
{
}
}
}
}
this.btnImport.Enabled = true;
}
public string AddDbPrice(TemuDBPriceInfo _price)
{
var url = BaseClass.BuildObjString("price/add_price");
var data = UserLogin.GetSignaturex()
+ "&ext_code=" + _price.ext_code
+ "&original_price=" + _price.original_price
+ "&markup_times=" + _price.markup_times
+ "&extra_price=" + _price.extra_price
+ "&notes=" + GetHtml.UrlEncodeUtf8(_price.notes);
var result = GetHtml.PostUtf8(url, data);
if (!result.Contains("\"code\":200") && !result.Contains("已达上限") && !result.Contains("已存在"))
result = GetHtml.PostUtf8(url, data);
if (!result.Contains("\"code\":200") && !result.Contains("已达上限") && !result.Contains("已存在"))
result = GetHtml.PostUtf8(url, data);
if (!result.Contains("\"code\":200"))
{
var msg = BaseRegex.GetStringJson(ref result, "msg");
if (string.IsNullOrEmpty(msg))
msg = "加价保存失败!";
BaseMsgForm.ShowError(msg);
}
return result;
}
private void pnlEmpty_Click(object sender, EventArgs e)
{
this.txtNotes.Text = "";
this.txtExtCode.Text = "";
this.numericUpDown1.Value = 0;
this.numericUpDown2.Value = 1000;
this.numericUpDown3.Value = 0;
this.numericUpDown4.Value = 1000;
this.numericUpDown5.Value = 0;
this.numericUpDown6.Value = 1000;
}
private void btnSearch_Click(object sender, EventArgs e)
{
if (this.ucSplitPage1.CurrentPage != 1)
this.ucSplitPage1.CurrentPage = 1;
else
SearchPrice(1);
}
public void SearchPrice(int page)
{
List<string> extCodeList = GetCheckedExtCodeList();
if (InvokeRequired)
{
Invoke(new Action(() =>
{
this.pbLoading.Visible = true;
this.dgvPrice.Rows.Clear();
lstPriceInfo.Clear();
}));
}
else
{
this.pbLoading.Visible = true;
this.dgvPrice.Rows.Clear();
lstPriceInfo.Clear();
}
Task.Run(() =>
{
int pageCount;
var list = GetServerPriceLst(out pageCount, page);
lstPriceInfo.AddRange(list);
this.ucSplitPage1.TotalPage = pageCount;
foreach (var price in lstPriceInfo)
{
Invoke(new Action(() =>
{
int rowIndex = this.dgvPrice.Rows.Add(
extCodeList.Contains(price.ext_code),
price.ext_code,
price.original_price,
price.markup_times,
price.extra_price,
price.notes,
"编辑",
"删除");
}));
}
Invoke(new Action(() =>
{
this.pbLoading.Visible = false;
}));
});
}
private List<string> GetCheckedExtCodeList()
{
List<string> extCodeList = new List<string>();
for (int i = 0; i < dgvPrice.Rows.Count; i++)
{
if (dgvPrice.Rows[i].Cells["colSelect"].Value.ParseToBool())
{
string extCode = dgvPrice.Rows[i].Cells["colExtCode"].Value.ParseToString();
extCodeList.Add(extCode);
}
}
return extCodeList;
}
public List<TemuDBPriceInfo> GetServerPriceLst(out int pageCount, int page = 1, int pageSize = 200)
{
List<TemuDBPriceInfo> list = new List<TemuDBPriceInfo>();
pageCount = 1;
var url = BaseClass.BuildObjString("price/get_price_list");
var data = UserLogin.GetSignaturex();
data += "&page=" + page;
data += "&page_size=" + pageSize;
if (numericUpDown1.Value > 0)
data += "&start_original_price=" + numericUpDown1.Value * 100;
data += "&end_original_price=" + numericUpDown2.Value * 100;
if (numericUpDown3.Value > 0)
data += "&start_markup_times=" + numericUpDown3.Value;
data += "&end_markup_times=" + numericUpDown4.Value;
if (numericUpDown5.Value > 0)
data += "&start_extra_price=" + numericUpDown5.Value * 100;
data += "&end_extra_price=" + numericUpDown6.Value * 100;
data += "&search_ext_code=" + txtExtCode.Text.Trim();
data += "&search_notes=" + txtNotes.Text.Trim();
if (BaseClass.SaLevel > 1)
data += "&operate_sub_sa_name=" + BaseClass.UserName;
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
{
return list;
}
int count = BaseRegex.GetIntJson(ref html, "count");
pageCount = Math.Ceiling(1.0 * count / pageSize).ParseToInt();
pageCount = Math.Max(pageCount, 1);
if (!html.Contains("data"))
return list;
var jArr = JObject.Parse(html)["data"];
if (jArr.Count() == 0)
return list;
return JsonHelper.DeserializeJsonToList<TemuDBPriceInfo>(jArr.ToString());
}
}
}
@@ -120,25 +120,25 @@
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colExtCpde.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colOriginalPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colStock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colMarkupTimes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSales.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colExtraPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="conNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCreateTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colEdit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colDelete.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -39,6 +39,7 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductThirdSelectListManageForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.btnDel = new DevComponents.DotNetBar.PanelEx();
this.pbFissionSetting = new System.Windows.Forms.PictureBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.cmbUserNotes = new System.Windows.Forms.ComboBox();
@@ -140,6 +141,7 @@
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
this.splitContainer1.Panel1.Controls.Add(this.pbFissionSetting);
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
@@ -153,11 +155,37 @@
this.splitContainer1.SplitterDistance = 70;
this.splitContainer1.TabIndex = 2;
//
// btnDel
//
this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDel.Location = new System.Drawing.Point(1280, 39);
this.btnDel.Name = "btnDel";
this.btnDel.Size = new System.Drawing.Size(90, 26);
this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnDel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnDel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnDel.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnDel.Style.GradientAngle = 90;
this.btnDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnDel.TabIndex = 445;
this.btnDel.Text = "批量删除选中";
this.btnDel.Visible = false;
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
//
// pbFissionSetting
//
this.pbFissionSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pbFissionSetting.Image = global::TemuKJD.Properties.Resources.齿轮;
this.pbFissionSetting.Location = new System.Drawing.Point(1260, 19);
this.pbFissionSetting.Location = new System.Drawing.Point(1260, 8);
this.pbFissionSetting.Name = "pbFissionSetting";
this.pbFissionSetting.Size = new System.Drawing.Size(26, 26);
this.pbFissionSetting.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -236,7 +264,7 @@
"全部",
"重上",
"已买"});
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 8);
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 5);
this.cmbUserNotes.Margin = new System.Windows.Forms.Padding(0);
this.cmbUserNotes.Name = "cmbUserNotes";
this.cmbUserNotes.Size = new System.Drawing.Size(65, 25);
@@ -253,7 +281,7 @@
"核价成功",
"核价成功(重复)",
"重复"});
this.cmbNotes.Location = new System.Drawing.Point(917, 8);
this.cmbNotes.Location = new System.Drawing.Point(917, 5);
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0);
this.cmbNotes.Name = "cmbNotes";
this.cmbNotes.Size = new System.Drawing.Size(65, 25);
@@ -280,7 +308,7 @@
"已上传",
"草稿箱",
"全部"});
this.cmbStatus.Location = new System.Drawing.Point(814, 8);
this.cmbStatus.Location = new System.Drawing.Point(814, 5);
this.cmbStatus.Margin = new System.Windows.Forms.Padding(0);
this.cmbStatus.Name = "cmbStatus";
this.cmbStatus.Size = new System.Drawing.Size(65, 25);
@@ -705,7 +733,7 @@
this.btnReFission.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReFission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnReFission.ForeColor = System.Drawing.Color.White;
this.btnReFission.Location = new System.Drawing.Point(1280, 19);
this.btnReFission.Location = new System.Drawing.Point(1280, 8);
this.btnReFission.Margin = new System.Windows.Forms.Padding(2);
this.btnReFission.Name = "btnReFission";
this.btnReFission.Size = new System.Drawing.Size(90, 26);
@@ -723,7 +751,7 @@
this.btnSetSubSa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSetSubSa.ForeColor = System.Drawing.Color.White;
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 19);
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 8);
this.btnSetSubSa.Margin = new System.Windows.Forms.Padding(2);
this.btnSetSubSa.Name = "btnSetSubSa";
this.btnSetSubSa.Size = new System.Drawing.Size(90, 26);
@@ -740,7 +768,7 @@
this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnAdd.ForeColor = System.Drawing.Color.White;
this.btnAdd.Location = new System.Drawing.Point(1464, 19);
this.btnAdd.Location = new System.Drawing.Point(1464, 8);
this.btnAdd.Margin = new System.Windows.Forms.Padding(2);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(90, 26);
@@ -1181,5 +1209,6 @@
private System.Windows.Forms.ComboBox cmbUserNotes;
private System.Windows.Forms.ComboBox cmbNotes;
private System.Windows.Forms.ComboBox cmbStatus;
private DevComponents.DotNetBar.PanelEx btnDel;
}
}
@@ -154,7 +154,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
prodSelect.add_time.ToString("yy/MM/dd\r\n HH:mm"),
prodSelect.status == "待上传" ? "-" : prodSelect.mdy_time.ToString("yy/MM/dd\r\n HH:mm"),
string.IsNullOrEmpty(prodSelect.operate_sub_sa_name) ? "-" : prodSelect.operate_sub_sa_name,
string.IsNullOrEmpty(prodSelect.operate_sub_sa_nick) ? "-" : prodSelect.operate_sub_sa_nick,
string.IsNullOrEmpty(prodSelect.operate_sub_sa_nick) ? "-" : prodSelect.operate_sub_sa_nick,
prodSelect.user_notes,
prodSelect.notes,
"编辑",
@@ -439,7 +439,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
}
}
private bool DeleteProduct(string dbId)
private bool DeleteProduct(string dbId, bool showErrMsg=true)
{
var url = BaseClass.BuildObjString("product_third/del_select_product");
var data = UserLogin.GetSignaturex() +
@@ -451,7 +451,8 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
{
BaseMsgForm.ShowError("删除商品失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
if (showErrMsg)
BaseMsgForm.ShowError("删除失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
return false;
}
return true;
@@ -597,7 +598,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
Invoke(new Action(() =>
{
row.Cells["colOpResult"].Value = "选品数据库商品已被清除";
if (temuDBProd?.id == 0)
if (temuDBProd?.id == 0)
row.Cells["colStatus"].Value = "已清除";
}));
continue;
@@ -676,7 +677,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
}));
}
}
Invoke(new Action(() =>
{
BaseMsgForm.ShowInfo("上传" + (this.chkUploadProd.Checked ? "" : "草稿") + "完成!");
@@ -801,7 +802,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
prodInfo.goodsAdvantageLabelVOList : new List<object>();
prodParam.goodsLayerDecorationCustomizeI18nReqs = prodInfo.goodsLayerDecorationCustomizeI18nVOList;
prodParam.goodsLayerDecorationReqs = new List<GoodsLayerDecorationReqsItem>();
foreach (var goodsLayerDecorationVOInfo in (prodInfo.goodsLayerDecorationVOList == null ?
foreach (var goodsLayerDecorationVOInfo in (prodInfo.goodsLayerDecorationVOList == null ?
new List<TemuGoodsLayerDecorationVO>() : prodInfo.goodsLayerDecorationVOList))
{
var goodsLayerDecorationItem = new GoodsLayerDecorationReqsItem()
@@ -1404,6 +1405,7 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
private void chkShowDel_CheckedChanged(object sender, EventArgs e)
{
dgvSelectProduct.Columns["colDelete"].Visible = this.chkShowDel.Checked;
btnDel.Visible = this.chkShowDel.Checked;
}
private void btnReFission_Click(object sender, EventArgs e)
@@ -1574,5 +1576,33 @@ namespace TemuKJD.KJDForms.ProductThirdSelectForms
string centerWords = ",";
return (headWords + prod.product_name + centerWords + endWords).Trim(',');
}
private void btnDel_Click(object sender, EventArgs e)
{
if (BaseMsgForm.ShowConfirm("确定删除库存商品吗?删除后不可恢复!").DialogResult == DialogResult.Cancel)
return;
pbLoading.Visible = true;
var dbIds = dgvSelectProduct.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true)
.Select(r => r.Cells["colSelectId"].Value.ParseToString());
Task.Run(() =>
{
foreach (var dbId in dbIds)
{
Thread.Sleep(50);
var rst = DeleteProduct(dbId, false);
if (rst == false)
{
Invoke(new Action(() =>
{
BaseMsgForm.ShowError("数据删除失败,请稍后重试!");
}));
break;
}
};
SearchDbProdSelect(this.ucSplitPage1.CurrentPage);
});
}
}
}
@@ -36,7 +36,16 @@ namespace TemuKJD.KJDForms.SalesCenterForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer5 = new System.Windows.Forms.SplitContainer();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.actDiscount80 = new TemuKJD.KJDForms.SalesCenterForms.UcActivityDiscountCtrl();
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f = new TemuKJD.UserComponent.UcCheckBox(this.components);
@@ -64,8 +73,6 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.chkGetDiscount = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnSearchActivity = new DevComponents.DotNetBar.PanelEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new TemuKJD.UserComponent.UcDataGridViewCheckBoxColumn(this.components);
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -74,8 +81,16 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer5 = new System.Windows.Forms.SplitContainer();
this.dgvActivity = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheckActivity = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colActivityType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityThematicId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityThematicName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSignUpTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheckProduct = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -92,23 +107,27 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colPrcie = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colInventory = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.colCheckActivity = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colActivityType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityThematicId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityThematicName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSignUpTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
this.splitContainer5.Panel1.SuspendLayout();
this.splitContainer5.Panel2.SuspendLayout();
this.splitContainer5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.Panel2.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.ucGroupBoxEx3.SuspendLayout();
this.actDiscount80.SuspendLayout();
this.actDiscount85.SuspendLayout();
@@ -118,25 +137,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
((System.ComponentModel.ISupportInitialize)(this.numOnSaleDays)).BeginInit();
this.ucGroupBoxEx1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
this.splitContainer5.Panel1.SuspendLayout();
this.splitContainer5.Panel2.SuspendLayout();
this.splitContainer5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvActivity)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.Panel2.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
@@ -156,10 +159,136 @@ namespace TemuKJD.KJDForms.SalesCenterForms
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(1425, 544);
this.splitContainer1.Size = new System.Drawing.Size(1425, 529);
this.splitContainer1.SplitterDistance = 120;
this.splitContainer1.TabIndex = 11;
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1425, 405);
this.splitContainer3.SplitterDistance = 375;
this.splitContainer3.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.splitContainer5);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1425, 375);
this.splitContainer2.SplitterDistance = 270;
this.splitContainer2.TabIndex = 0;
//
// splitContainer5
//
this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer5.Location = new System.Drawing.Point(0, 0);
this.splitContainer5.Name = "splitContainer5";
this.splitContainer5.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer5.Panel1
//
this.splitContainer5.Panel1.Controls.Add(this.dgvActivity);
//
// splitContainer5.Panel2
//
this.splitContainer5.Panel2.Controls.Add(this.dgvProduct);
this.splitContainer5.Size = new System.Drawing.Size(1147, 375);
this.splitContainer5.SplitterDistance = 128;
this.splitContainer5.TabIndex = 0;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
//
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
this.splitContainer4.Size = new System.Drawing.Size(1425, 26);
this.splitContainer4.SplitterDistance = 1147;
this.splitContainer4.TabIndex = 3;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Location = new System.Drawing.Point(155, 0);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(115, 21);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.panelEx1.TabIndex = 668;
this.panelEx1.Text = "停止当前操作";
this.panelEx1.Click += new System.EventHandler(this.btnStop_Click);
//
// btnClear
//
this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClear.Location = new System.Drawing.Point(47, 0);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(90, 21);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.Style.GradientAngle = 90;
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.TabIndex = 440;
this.btnClear.Text = "清空结果";
this.btnClear.Visible = false;
//
// ucGroupBoxEx3
//
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@@ -519,45 +648,6 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.btnSearchActivity.Text = "查询活动";
this.btnSearchActivity.Click += new System.EventHandler(this.btnSearchActivity_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1425, 420);
this.splitContainer3.SplitterDistance = 390;
this.splitContainer3.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.splitContainer5);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1425, 390);
this.splitContainer2.SplitterDistance = 270;
this.splitContainer2.TabIndex = 0;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
@@ -583,13 +673,21 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colLoginStatus,
this.colCanUse,
this.colMessage});
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.DefaultCellStyle = dataGridViewCellStyle3;
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 0);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
this.dgvShop.RowHeadersWidth = 30;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(266, 390);
this.dgvShop.Size = new System.Drawing.Size(266, 375);
this.dgvShop.TabIndex = 7;
this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick);
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
@@ -650,41 +748,23 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colMessage.ReadOnly = true;
this.colMessage.Width = 120;
//
// splitContainer5
//
this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer5.Location = new System.Drawing.Point(0, 0);
this.splitContainer5.Name = "splitContainer5";
this.splitContainer5.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer5.Panel1
//
this.splitContainer5.Panel1.Controls.Add(this.dgvActivity);
//
// splitContainer5.Panel2
//
this.splitContainer5.Panel2.Controls.Add(this.dgvProduct);
this.splitContainer5.Size = new System.Drawing.Size(1147, 390);
this.splitContainer5.SplitterDistance = 134;
this.splitContainer5.TabIndex = 0;
//
// dgvActivity
//
this.dgvActivity.AllowUserToAddRows = false;
this.dgvActivity.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvActivity.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvActivity.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
this.dgvActivity.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvActivity.BackgroundColor = System.Drawing.Color.White;
this.dgvActivity.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
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.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvActivity.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvActivity.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.dgvActivity.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvActivity.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheckActivity,
@@ -696,31 +776,102 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colSignUpTime,
this.colDiscount,
this.colActivityMsg});
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvActivity.DefaultCellStyle = dataGridViewCellStyle6;
this.dgvActivity.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvActivity.Location = new System.Drawing.Point(0, 0);
this.dgvActivity.Name = "dgvActivity";
this.dgvActivity.ReadOnly = true;
this.dgvActivity.RowTemplate.Height = 23;
this.dgvActivity.Size = new System.Drawing.Size(1147, 134);
this.dgvActivity.Size = new System.Drawing.Size(1147, 128);
this.dgvActivity.TabIndex = 189;
this.dgvActivity.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvActivity_CellContentClick);
//
// colCheckActivity
//
this.colCheckActivity.FillWeight = 15F;
this.colCheckActivity.HeaderText = "选择";
this.colCheckActivity.Name = "colCheckActivity";
this.colCheckActivity.ReadOnly = true;
this.colCheckActivity.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckActivity.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colActivityType
//
this.colActivityType.FillWeight = 50F;
this.colActivityType.HeaderText = "活动类型";
this.colActivityType.Name = "colActivityType";
this.colActivityType.ReadOnly = true;
//
// colActivityTypeName
//
this.colActivityTypeName.FillWeight = 70F;
this.colActivityTypeName.HeaderText = "活动类名";
this.colActivityTypeName.Name = "colActivityTypeName";
this.colActivityTypeName.ReadOnly = true;
//
// colActivityThematicId
//
this.colActivityThematicId.FillWeight = 50F;
this.colActivityThematicId.HeaderText = "活动编号";
this.colActivityThematicId.Name = "colActivityThematicId";
this.colActivityThematicId.ReadOnly = true;
this.colActivityThematicId.Visible = false;
//
// colActivityThematicName
//
this.colActivityThematicName.HeaderText = "活动主题";
this.colActivityThematicName.Name = "colActivityThematicName";
this.colActivityThematicName.ReadOnly = true;
//
// colActivityTime
//
this.colActivityTime.HeaderText = "活动时间";
this.colActivityTime.Name = "colActivityTime";
this.colActivityTime.ReadOnly = true;
//
// colSignUpTime
//
this.colSignUpTime.FillWeight = 60F;
this.colSignUpTime.HeaderText = "报名截止";
this.colSignUpTime.Name = "colSignUpTime";
this.colSignUpTime.ReadOnly = true;
//
// colDiscount
//
this.colDiscount.FillWeight = 50F;
this.colDiscount.HeaderText = "活动折扣";
this.colDiscount.Name = "colDiscount";
this.colDiscount.ReadOnly = true;
//
// colActivityMsg
//
this.colActivityMsg.HeaderText = "状态";
this.colActivityMsg.Name = "colActivityMsg";
this.colActivityMsg.ReadOnly = true;
//
// dgvProduct
//
this.dgvProduct.AllowUserToAddRows = false;
this.dgvProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
this.dgvProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheckProduct,
@@ -738,12 +889,20 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colPrcie,
this.colInventory,
this.colMsg});
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProduct.DefaultCellStyle = dataGridViewCellStyle9;
this.dgvProduct.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvProduct.Location = new System.Drawing.Point(0, 0);
this.dgvProduct.Name = "dgvProduct";
this.dgvProduct.ReadOnly = true;
this.dgvProduct.RowTemplate.Height = 23;
this.dgvProduct.Size = new System.Drawing.Size(1147, 252);
this.dgvProduct.Size = new System.Drawing.Size(1147, 243);
this.dgvProduct.TabIndex = 188;
//
// colCheckProduct
@@ -859,25 +1018,6 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colMsg.ReadOnly = true;
this.colMsg.Width = 400;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
//
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
this.splitContainer4.Size = new System.Drawing.Size(1425, 26);
this.splitContainer4.SplitterDistance = 1147;
this.splitContainer4.TabIndex = 3;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
@@ -889,124 +1029,11 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.statusBar.Size = new System.Drawing.Size(1147, 26);
this.statusBar.TabIndex = 2;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Location = new System.Drawing.Point(155, 0);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(115, 21);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.panelEx1.TabIndex = 668;
this.panelEx1.Text = "停止当前操作";
this.panelEx1.Click += new System.EventHandler(this.btnStop_Click);
//
// btnClear
//
this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClear.Location = new System.Drawing.Point(47, 0);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(90, 21);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.Style.GradientAngle = 90;
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.TabIndex = 440;
this.btnClear.Text = "清空结果";
this.btnClear.Visible = false;
//
// colCheckActivity
//
this.colCheckActivity.FillWeight = 15F;
this.colCheckActivity.HeaderText = "选择";
this.colCheckActivity.Name = "colCheckActivity";
this.colCheckActivity.ReadOnly = true;
this.colCheckActivity.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckActivity.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colActivityType
//
this.colActivityType.FillWeight = 50F;
this.colActivityType.HeaderText = "活动类型";
this.colActivityType.Name = "colActivityType";
this.colActivityType.ReadOnly = true;
//
// colActivityTypeName
//
this.colActivityTypeName.FillWeight = 70F;
this.colActivityTypeName.HeaderText = "活动类名";
this.colActivityTypeName.Name = "colActivityTypeName";
this.colActivityTypeName.ReadOnly = true;
//
// colActivityThematicId
//
this.colActivityThematicId.FillWeight = 50F;
this.colActivityThematicId.HeaderText = "活动编号";
this.colActivityThematicId.Name = "colActivityThematicId";
this.colActivityThematicId.ReadOnly = true;
this.colActivityThematicId.Visible = false;
//
// colActivityThematicName
//
this.colActivityThematicName.HeaderText = "活动主题";
this.colActivityThematicName.Name = "colActivityThematicName";
this.colActivityThematicName.ReadOnly = true;
//
// colActivityTime
//
this.colActivityTime.HeaderText = "活动时间";
this.colActivityTime.Name = "colActivityTime";
this.colActivityTime.ReadOnly = true;
//
// colSignUpTime
//
this.colSignUpTime.FillWeight = 60F;
this.colSignUpTime.HeaderText = "报名截止";
this.colSignUpTime.Name = "colSignUpTime";
this.colSignUpTime.ReadOnly = true;
//
// colDiscount
//
this.colDiscount.FillWeight = 50F;
this.colDiscount.HeaderText = "活动折扣";
this.colDiscount.Name = "colDiscount";
this.colDiscount.ReadOnly = true;
//
// colActivityMsg
//
this.colActivityMsg.HeaderText = "状态";
this.colActivityMsg.Name = "colActivityMsg";
this.colActivityMsg.ReadOnly = true;
//
// MarketingActivityForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1425, 544);
this.ClientSize = new System.Drawing.Size(1425, 529);
this.Controls.Add(this.splitContainer1);
this.Name = "MarketingActivityForm";
this.Text = "店铺优化";
@@ -1016,6 +1043,22 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
this.splitContainer5.Panel1.ResumeLayout(false);
this.splitContainer5.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
this.splitContainer5.ResumeLayout(false);
this.splitContainer4.Panel1.ResumeLayout(false);
this.splitContainer4.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ucGroupBoxEx3.ResumeLayout(false);
this.ucGroupBoxEx3.PerformLayout();
this.actDiscount80.ResumeLayout(false);
@@ -1031,25 +1074,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.ucGroupBoxEx1.ResumeLayout(false);
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.splitContainer5.Panel1.ResumeLayout(false);
this.splitContainer5.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
this.splitContainer5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvActivity)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit();
this.splitContainer4.Panel1.ResumeLayout(false);
this.splitContainer4.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ResumeLayout(false);
}
File diff suppressed because it is too large. Load diff
@@ -1,630 +0,0 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using CefSharp;
using CefSharp.WinForms;
using TemuKJD.Extension;
using TemuKJD.Helper;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.CefHelper;
using NaiBa.CefHelper.Handler;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class CouponForm : BaseForm
{
private CheckBox chkSelectAll = null;
public ChromiumWebBrowser webBrowser = null;
private List<string> lstShopId = new List<string>();
public List<string> keywords = null;
public List<string> filterWords = null;
public CancellationTokenSource cancellationTokenSource = null;
public CouponForm()
{
InitializeComponent();
}
private void CouponForm_Load(object sender, EventArgs e)
{
this.ucTabControl1.TabPages.Clear();
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
dgvShop.Columns["colSelect"].HeaderText = "";
chkSelectAll.Width = chkSelectAll.Height = 13;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
this.cmbType.SelectedIndex = 0;
this.cmbUserCountLimited.SelectedIndex = 0;
this.dtpStartApplyTime.Value = DateTime.Now.Date;
this.dtpEndApplyTime.Value = this.dtpStartApplyTime.Value.AddDays(1).AddSeconds(-1);
}
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
{
lstShopId.Clear();
foreach (DataGridViewRow row in dgvShop.Rows)
{
row.Cells["colSelect"].Value = false;
}
}
else
{
lstShopId.Clear();
var list = GlobalConfig.ShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
lstShopId.AddRange(list);
foreach (DataGridViewRow row in dgvShop.Rows)
{
if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
row.Cells["colSelect"].Value = true;
}
}
}
private void CouponForm_VisibleChanged(object sender, EventArgs e)
{
if (Visible == true)
RefreshShop();
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
RefreshShop();
}
private void RefreshShop()
{
// 更新选中的上货店铺Id
lstShopId = lstShopId.Where(id => GlobalConfig.ShopLoginList.Any(s => s.ShopId == id && s.LoginStatus == "已授权")).ToList();
// 获取被删除的店铺
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
// 更新被删除的店铺列表
foreach (var row in dgvRowList)
{
dgvShop.Rows.Remove(row);
}
// 绑定其他店铺(含新导入的店铺)
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
{
BindShop(shopEntity);
}
}
private void BindShop(ShopLoginInfo shopEntity)
{
if (shopEntity == null)
return;
bool canUse = shopEntity.ApiAuthStatus == "授权成功" && shopEntity.LoginStatus == "登录成功";
var row = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
if (row == null)
{
this.dgvShop.Rows.Add(
lstShopId.Contains(shopEntity.ShopId) && canUse,
shopEntity.ShopId,
shopEntity.ShopAccount,
shopEntity.ApiAuthStatus,
shopEntity.LoginStatus,
canUse,
string.Empty
);
}
else
{
row.Cells["colSelect"].Value = lstShopId.Contains(shopEntity.ShopId) && canUse;
row.Cells["colShopName"].Value = shopEntity.ShopAccount;
row.Cells["colAuthStatus"].Value = shopEntity.ApiAuthStatus;
row.Cells["colLoginStatus"].Value = shopEntity.LoginStatus;
row.Cells["colCanUse"].Value = canUse;
}
}
private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
string shopName = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
var row = dgvShop.Rows[e.RowIndex];
switch (columnName)
{
case "colSelect":
if (row.Cells["colCanUse"].Value.ParseToBool() || row.Cells["colSelect"].Value.ParseToBool())
{
row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
if (dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool())
lstShopId.Add(shopId.ToString());
else
lstShopId.Remove(shopId.ToString());
if (dgvShop.Rows.Cast<DataGridViewRow>().All(r => r.Cells["colSelect"].Value.ParseToBool()))
chkSelectAll.Checked = true;
else
chkSelectAll.Checked = false;
}
else
{
BaseMsgForm.ShowInfo("店铺未授权或未登录!");
}
break;
}
}
private void btnGetProduct_Click(object sender, EventArgs e)
{
if (lstShopId.Count == 0)
{
BaseMsgForm.ShowInfo("请选择店铺!");
return;
}
try
{
this.keywords = txtProductName.Text.Trim().Split(new string[] { "\r", "\n", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
this.filterWords = txtFilter.Text.Trim().Split(new string[] { "\r", "\n", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
}
catch (Exception ex)
{
}
cancellationTokenSource = new CancellationTokenSource();
Task.Run(() =>
{
foreach (var shopId in lstShopId)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
if (shop == null)
continue;
CouponShopForm couponShopForm = null;
Invoke(new Action(() =>
{
var tab = this.ucTabControl1.TabPages.Cast<TabPage>().FirstOrDefault(t => t.Text == shop.ShopAccount && t.Name == "tab" + shop.ShopId);
if (tab == null)
{
tab = new TabPage();
tab.Name = "tab" + shop.ShopId;
tab.Text = shop.ShopAccount;
this.ucTabControl1.TabPages.Add(tab);
var form = new CouponShopForm(shop);
form.couponForm = this;
form.TopLevel = false;
form.Left = 0;
form.Top = 0;
form.FormBorderStyle = FormBorderStyle.None;
form.AutoSize = true;
form.Dock = DockStyle.Fill;
form.Show();
tab.Controls.Add(form);
}
if (tab.Controls.Count > 0)
couponShopForm = tab.Controls[0] as CouponShopForm;
}));
if (couponShopForm != null)
{
couponShopForm.GetProduct(
txtPriceMin.Text.ParseToDecimal(),
txtPriceMax.Text.ParseToDecimal(),
txtSaleMin.Text.ParseToInt(),
txtSaleMax.Text.ParseToInt(),
this.keywords,
this.filterWords);
}
}
}, cancellationTokenSource.Token);
}
public void GetSales(ShopLoginInfo shop, bool isSales = true)
{
if (webBrowser == null)
{
Invoke(new Action(() =>
{
webBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
webBrowser.KeyboardHandler = new KeyboardHandler();
webBrowser.Dock = DockStyle.Fill;
CustomResourceRequestHandlerLocal resourceRequestHandler = new Helper.CustomResourceRequestHandlerLocal();
resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadCompleteEvent;
webBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
webBrowser.LifeSpanHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
webBrowser.SendToBack();
this.splitContainer1.Panel2.Controls.Add(webBrowser);
}));
}
while (webBrowser.Tag != null)
{
Thread.Sleep(Randomx.GetId(50, 100));
}
if (cancellationTokenSource.IsCancellationRequested)
return;
webBrowser.Tag = shop;
while (!webBrowser.IsBrowserInitialized || webBrowser.IsLoading)
continue;
var cookie = shop.Cookies;
CEFBrowser.DeleteCookie(webBrowser.RequestContext.GetCookieManager(null));
var t = CEFBrowser.SetCookieAsync("jinritemai.com", cookie, webBrowser.RequestContext.GetCookieManager(null));
t.Wait(2000);
Thread.Sleep(500);
var targetUrl = "https://fxg.jinritemai.com/ffa/g/list";
webBrowser.Load(targetUrl);
while (webBrowser.IsLoading)
{
Thread.Sleep(1000);
}
Thread.Sleep(3000);
if (!isSales)
{
Thread.Sleep(3000);
var jsStrBase = "function clickProductAnalysis(txt) {\r\n"
+ "var child = document.body.firstElementChild;\r\n"
+ "var element1 = null;\r\n"
+ " while (child) {\r\n"
+ " if (child.innerHTML.indexOf(txt) >= 0) {\r\n"
+ " element1 = child;\r\n"
+ " if (child.firstElementChild) {\r\n"
+ " child = child.firstElementChild; continue;\r\n"
+ " } else break;\r\n"
+ " }\r\n"
+ " child = child.nextElementSibling;\r\n"
+ " }\r\n"
+ " if (element1) {\r\n"
+ " element1.click(); return 'success';\r\n"
+ " } else return 'no_element';\r\n"
+ "}\r\n";
var jsStr = jsStrBase + "clickProductAnalysis('电商罗盘');\r\n";
t = webBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
t.Wait();
while (webBrowser.IsLoading)
{
Thread.Sleep(1000);
}
Thread.Sleep(Randomx.GetId(1500, 2500));
jsStr = jsStrBase + "clickProductAnalysis('商品概览');\r\n";
t = webBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
t.Wait();
while (webBrowser.IsLoading)
{
Thread.Sleep(1000);
}
Thread.Sleep(Randomx.GetId(1500, 2500));
}
while (webBrowser.Tag != null)
{
Thread.Sleep(Randomx.GetId(50, 100));
}
Thread.Sleep(3000);
}
private void RequestHandler_ResourceLoadCompleteEvent(object sender, string url, string postData, string responseData, CefSharp.IRequest iRequest)
{
if (url.StartsWith("https://fxg.jinritemai.com/product/tproduct/list?page=0") && url.Contains("&pay_type="))
{
var listUrl = url;
var referrerUrl = iRequest.ReferrerUrl;
var result = responseData;
Dictionary<string, string> Headers = new Dictionary<string, string>();
foreach (var hk in iRequest.Headers.AllKeys)
{
Headers[hk] = iRequest.Headers[hk];
}
if (webBrowser.Tag != null)
{
var shop = webBrowser.Tag as ShopLoginInfo;
var tab = this.ucTabControl1.TabPages.Cast<TabPage>().FirstOrDefault(t => t.Text == shop.ShopAccount && t.Name == "tab" + shop.ShopId);
var clearForm = tab.Controls[0] as CouponShopForm;
Task.Run(() =>
{
int total = -1;
int number = 0;
for (int i = 0; i < 10000; i++)
{
number += 20;
result = "";
for (int j = 0; j < 3 && !result.Contains("\"st\":0"); j++)
{
CommonSimRequest simRequest = new CommonSimRequest();
simRequest.Accept = "application/json, text/plain, */*";
if (Headers.ContainsKey("Accept"))
simRequest.Accept = Headers["Accept"];
if (Headers.ContainsKey("UserAgent"))
simRequest.UserAgent = Headers["UserAgent"];
var cookie = shop.Cookies;
var rUrl = listUrl.Replace("page=0", "page=" + i)
.Replace("&pay_type=", "&pay_type=&sell_num_min=1");
result = simRequest.Request_Get(rUrl, referrerUrl, new Dictionary<string, string>(), cookie);
if (j > 0)
{
Thread.Sleep(Randomx.GetId(2000, 3000));
}
}
if (result.Contains("\"st\":0") && !cancellationTokenSource.IsCancellationRequested)
{
clearForm.isGetProductSalesSuccess = true;
if (total == -1)
{
total = BaseRegex.GetIntJson(ref result, "total");
}
var jObj = JObject.Parse(result);
var jArr = jObj["data"] as JArray;
foreach (var productObj in jArr)
{
var prod = JsonHelper.SerializeObject(productObj);
var pId = BaseRegex.GetStringJson(ref prod, "product_id");
var sales = BaseRegex.GetIntJson(ref prod, "sell_num");
if (sales == 0)
{
number = 99999999;
break;
}
else
{
clearForm.dicProductSales[pId] = sales;
}
}
Thread.Sleep(Randomx.GetId(2000, 3000));
}
else
{
clearForm.isGetProductSalesSuccess = false;
webBrowser.Tag = null;
break;
}
if (number >= total)
break;
}
webBrowser.Tag = null;
Thread.Sleep(1000);
});
}
else
{
webBrowser.Tag = null;
}
}
}
private void lblProductName_Click(object sender, EventArgs e)
{
if (this.webBrowser != null)
{
webBrowser.SendToBack();
}
}
private void lblProductName_DoubleClick(object sender, EventArgs e)
{
if (this.webBrowser != null)
{
webBrowser.BringToFront();
}
}
private void btnSet_Click(object sender, EventArgs e)
{
cancellationTokenSource = new CancellationTokenSource();
int periodType = this.rbUseTypePeriod.Checked ? 1 : 2;
int favouredType = 41;
if (this.cmbType.Text == "商品直减券")
favouredType = 42;
else if (this.cmbType.Text == "商品满减券")
favouredType = 43;
int days = this.nudDays.Text.ParseToInt();
int startApplyTime = BaseClass.DateTimeToTimestampSeconds(this.dtpStartApplyTime.Value);
int endApplyTime = BaseClass.DateTimeToTimestampSeconds(this.dtpEndApplyTime.Value);
int startUseTime = BaseClass.DateTimeToTimestampSeconds(this.dtpStartUseTime.Value.Date);
int endUseTime = BaseClass.DateTimeToTimestampSeconds(this.dtpEndUseTime.Value.Date.AddDays(1).AddSeconds(-1));
int totalCount = nudTotalCount.Value.ParseToInt();
int countLimit = 1;
decimal discount = this.nudCredit.Value.ParseToDecimal(); // 折扣
int thresHold = this.nudThresHold.Value.ParseToInt(); // 满x元 单位元
int credit = this.nudCredit.Value.ParseToInt(); // 减x元 单位元
bool igonre = rbNotReckonIn.Checked;
bool oneProductEachCoupon = this.rbOneProductEachCoupon.Checked;
Task.Run(() =>
{
int i = 0;
List<Task> tList = new List<Task>();
foreach (TabPage tp in ucTabControl1.TabPages)
{
i++;
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "正在设置优惠券";
this.statusBar.pgbTaskProgress.Value = i;
this.statusBar.pgbTaskProgress.Text = i + "/" + ucTabControl1.TabPages.Count;
this.statusBar.pgbTaskProgress.Maximum = ucTabControl1.TabPages.Count;
}));
if (tp.Controls.Count > 0)
{
var cForm = tp.Controls[0] as CouponShopForm;
if (cForm != null)
{
var t = Task.Run(() =>
{
cForm.SetCoupon(periodType, favouredType, startApplyTime, endApplyTime, startUseTime, endUseTime, days, totalCount, countLimit, discount, thresHold, credit, igonre, oneProductEachCoupon);
});
tList.Add(t);
if (tList.Count >= 10)
Task.WaitAny(tList.ToArray());
var ts = tList.Where(t1 => t1.IsCompleted || t1.IsCanceled || t1.IsFaulted);
foreach (var t1 in ts)
{
tList.Remove(t1);
}
}
}
}
Task.WaitAll(tList.ToArray());
tList.Clear();
Invoke(new Action(() =>
{
if (cancellationTokenSource.IsCancellationRequested)
{
this.statusBar.lblTaskStatus.Text = "设置中断";
}
else
{
this.statusBar.lblTaskStatus.Text = "设置完成";
}
this.statusBar.pgbTaskProgress.Value = 0;
this.statusBar.pgbTaskProgress.Text = 0 + "/" + 0;
this.statusBar.pgbTaskProgress.Maximum = 0;
}));
}, cancellationTokenSource.Token);
}
private void btnStopOperate_Click(object sender, EventArgs e)
{
if (cancellationTokenSource != null)
cancellationTokenSource.Cancel();
}
private void btnStopGetProduct_Click(object sender, EventArgs e)
{
if (cancellationTokenSource != null)
cancellationTokenSource.Cancel();
}
private void rbUseTypePeriod_CheckedChanged(object sender, EventArgs e)
{
if (rbUseTypePeriod.Checked)
{
pnlTimePeriod.Visible = true;
lblUseTypeText.Text = "日期范围";
}
else
{
pnlTimePeriod.Visible = false;
lblUseTypeText.Text = "领券当日起";
}
}
private void pbPaste1_Click(object sender, EventArgs e)
{
IDataObject iData = Clipboard.GetDataObject();
if (iData != null && iData.GetDataPresent(DataFormats.Text))
{
txtProductName.Text = (string)iData.GetData(DataFormats.Text);
}
}
private void pbPaste2_Click(object sender, EventArgs e)
{
IDataObject iData = Clipboard.GetDataObject();
if (iData != null && iData.GetDataPresent(DataFormats.Text))
{
txtFilter.Text = (string)iData.GetData(DataFormats.Text);
}
}
private void btnClear_Click(object sender, EventArgs e)
{
if (BaseMsgForm.ShowConfirm("确定要清空结果吗?清空后需要重新获取!").DialogResult == DialogResult.OK)
{
foreach (TabPage tp in ucTabControl1.TabPages)
{
if (tp.Controls.Count > 0)
{
if (tp.Text.Contains("活动管理"))
{
//var managerActiveForm = tp.Controls[0] as LimitedSalesManagerActiveForm;
//if (managerActiveForm != null)
// managerActiveForm.ClearData();
//if (splitContainer4.Panel1.Controls.Count == 2)
// splitContainer4.Panel1.Controls.RemoveAt(1);
}
else
{
var salesForm = tp.Controls[0] as CouponShopForm;
if (salesForm != null)
salesForm.ClearData();
}
}
}
}
}
private void cmbType_SelectedIndexChanged(object sender, EventArgs e)
{
if (cmbType.Text == "商品折扣券")
{
this.lblDiscountText.Text = "  折扣";
nudCredit.Minimum = 0.1M;
nudCredit.Increment = 0.1M;
nudCredit.Maximum = 9.9M;
nudCredit.DecimalPlaces = 1;
nudCredit.Value = 9.9M;
lblCreditText.Text = "折";
nudThresHold.Visible = false;
lblThresHold.Visible = false;
}
else if (cmbType.Text == "商品直减券")
{
this.lblDiscountText.Text = "直减面额";
nudCredit.Minimum = 1;
nudCredit.Increment = 1;
nudCredit.Maximum = 1000;
nudCredit.DecimalPlaces = 0;
nudCredit.Value = 1;
lblCreditText.Text = "元";
nudThresHold.Visible = false;
lblThresHold.Visible = false;
}
else
{
this.lblDiscountText.Text = "满减 满";
nudCredit.Minimum = 1;
nudCredit.Increment = 1;
nudCredit.Maximum = 99999;
nudCredit.DecimalPlaces = 0;
nudCredit.Value = 1;
lblCreditText.Text = "元";
nudThresHold.Visible = true;
lblThresHold.Visible = true;
}
}
}
}
@@ -1,138 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colAuthStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCanUse.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,335 +0,0 @@
namespace TemuKJD.KJDForms.SalesCenterForms
{
partial class CouponMulitAddForm
{
/// <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(CouponMulitAddForm));
this.panel2 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.rbUseTypeDays = new System.Windows.Forms.RadioButton();
this.rbUseTypePeriod = new System.Windows.Forms.RadioButton();
this.label17 = new System.Windows.Forms.Label();
this.rbAllProductEachCoupon = new System.Windows.Forms.RadioButton();
this.rbOneProductEachCoupon = new System.Windows.Forms.RadioButton();
this.btnSet = new DevComponents.DotNetBar.PanelEx();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.lblUseTypeText = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.lblAdd = new System.Windows.Forms.LinkLabel();
this.ucCouponAddParam = new TemuKJD.KJDForms.SalesCenterForms.UcCouponAddParam();
this.panel2.SuspendLayout();
this.panel4.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Controls.Add(this.panel4);
this.panel2.Controls.Add(this.label17);
this.panel2.Controls.Add(this.rbAllProductEachCoupon);
this.panel2.Controls.Add(this.rbOneProductEachCoupon);
this.panel2.Controls.Add(this.btnSet);
this.panel2.Controls.Add(this.label2);
this.panel2.Controls.Add(this.label1);
this.panel2.Controls.Add(this.label10);
this.panel2.Controls.Add(this.label9);
this.panel2.Controls.Add(this.label8);
this.panel2.Controls.Add(this.lblUseTypeText);
this.panel2.Controls.Add(this.label4);
this.panel2.Controls.Add(this.label13);
this.panel2.Controls.Add(this.label11);
this.panel2.Controls.Add(this.label6);
this.panel2.Controls.Add(this.panel3);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(1, 33);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1198, 666);
this.panel2.TabIndex = 1;
//
// panel4
//
this.panel4.Controls.Add(this.rbUseTypeDays);
this.panel4.Controls.Add(this.rbUseTypePeriod);
this.panel4.Location = new System.Drawing.Point(621, 14);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(174, 21);
this.panel4.TabIndex = 575;
//
// rbUseTypeDays
//
this.rbUseTypeDays.AutoSize = true;
this.rbUseTypeDays.Location = new System.Drawing.Point(81, 0);
this.rbUseTypeDays.Name = "rbUseTypeDays";
this.rbUseTypeDays.Size = new System.Drawing.Size(74, 21);
this.rbUseTypeDays.TabIndex = 466;
this.rbUseTypeDays.Text = "有效天数";
this.rbUseTypeDays.UseVisualStyleBackColor = true;
//
// rbUseTypePeriod
//
this.rbUseTypePeriod.AutoSize = true;
this.rbUseTypePeriod.Checked = true;
this.rbUseTypePeriod.Location = new System.Drawing.Point(4, 0);
this.rbUseTypePeriod.Name = "rbUseTypePeriod";
this.rbUseTypePeriod.Size = new System.Drawing.Size(74, 21);
this.rbUseTypePeriod.TabIndex = 465;
this.rbUseTypePeriod.TabStop = true;
this.rbUseTypePeriod.Text = "日期范围";
this.rbUseTypePeriod.UseVisualStyleBackColor = true;
this.rbUseTypePeriod.CheckedChanged += new System.EventHandler(this.rbUseTypePeriod_CheckedChanged);
//
// label17
//
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(562, 16);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(68, 17);
this.label17.TabIndex = 574;
this.label17.Text = "使用时间:";
//
// rbAllProductEachCoupon
//
this.rbAllProductEachCoupon.AutoSize = true;
this.rbAllProductEachCoupon.Checked = true;
this.rbAllProductEachCoupon.Location = new System.Drawing.Point(212, 14);
this.rbAllProductEachCoupon.Name = "rbAllProductEachCoupon";
this.rbAllProductEachCoupon.Size = new System.Drawing.Size(307, 21);
this.rbAllProductEachCoupon.TabIndex = 570;
this.rbAllProductEachCoupon.TabStop = true;
this.rbAllProductEachCoupon.Text = "所有商品设置同一组优惠券(每200件商品一组优惠券)";
this.rbAllProductEachCoupon.UseVisualStyleBackColor = true;
//
// rbOneProductEachCoupon
//
this.rbOneProductEachCoupon.AutoSize = true;
this.rbOneProductEachCoupon.Location = new System.Drawing.Point(52, 14);
this.rbOneProductEachCoupon.Name = "rbOneProductEachCoupon";
this.rbOneProductEachCoupon.Size = new System.Drawing.Size(146, 21);
this.rbOneProductEachCoupon.TabIndex = 569;
this.rbOneProductEachCoupon.Text = "每件商品单独置优惠券";
this.rbOneProductEachCoupon.UseVisualStyleBackColor = true;
//
// btnSet
//
this.btnSet.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSet.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSet.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSet.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSet.Location = new System.Drawing.Point(23, 621);
this.btnSet.Name = "btnSet";
this.btnSet.Size = new System.Drawing.Size(80, 23);
this.btnSet.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSet.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSet.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSet.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSet.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSet.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSet.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSet.Style.GradientAngle = 90;
this.btnSet.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSet.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSet.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSet.TabIndex = 565;
this.btnSet.Text = "批量设置";
this.btnSet.Click += new System.EventHandler(this.btnGetProduct_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(32, 45);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(68, 17);
this.label2.TabIndex = 558;
this.label2.Text = "优惠券名称";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(1127, 45);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 17);
this.label1.TabIndex = 557;
this.label1.Text = "设置状态";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(851, 45);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(56, 17);
this.label10.TabIndex = 554;
this.label10.Text = "优惠条件";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(748, 45);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(56, 17);
this.label9.TabIndex = 553;
this.label9.Text = "优惠内容";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(640, 45);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(80, 17);
this.label8.TabIndex = 552;
this.label8.Text = "价格风险预警";
//
// lblUseTypeText
//
this.lblUseTypeText.AutoSize = true;
this.lblUseTypeText.Location = new System.Drawing.Point(453, 45);
this.lblUseTypeText.Name = "lblUseTypeText";
this.lblUseTypeText.Size = new System.Drawing.Size(56, 17);
this.lblUseTypeText.TabIndex = 550;
this.lblUseTypeText.Text = "日期范围";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(126, 45);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 17);
this.label4.TabIndex = 549;
this.label4.Text = "领取开始";
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(1057, 45);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(56, 17);
this.label13.TabIndex = 556;
this.label13.Text = "每人限领";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(990, 45);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(44, 17);
this.label11.TabIndex = 555;
this.label11.Text = "发放量";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(289, 45);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 17);
this.label6.TabIndex = 551;
this.label6.Text = "领取结束";
//
// panel3
//
this.panel3.AutoScroll = true;
this.panel3.Controls.Add(this.lblAdd);
this.panel3.Controls.Add(this.ucCouponAddParam);
this.panel3.Location = new System.Drawing.Point(10, 70);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1180, 545);
this.panel3.TabIndex = 1;
//
// lblAdd
//
this.lblAdd.AutoSize = true;
this.lblAdd.Location = new System.Drawing.Point(22, 56);
this.lblAdd.Name = "lblAdd";
this.lblAdd.Size = new System.Drawing.Size(92, 17);
this.lblAdd.TabIndex = 1;
this.lblAdd.TabStop = true;
this.lblAdd.Text = "增加优惠券设置";
this.lblAdd.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lblAdd_LinkClicked);
//
// ucCouponAddParam
//
this.ucCouponAddParam.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucCouponAddParam.Location = new System.Drawing.Point(0, 0);
this.ucCouponAddParam.Name = "ucCouponAddParam";
this.ucCouponAddParam.Size = new System.Drawing.Size(1180, 40);
this.ucCouponAddParam.TabIndex = 0;
this.ucCouponAddParam.OnClose += new TemuKJD.KJDForms.SalesCenterForms.UcCouponAddParam.CloseCouponAdd(this.couponAddParamControl1_OnClose);
//
// CouponMulitAddForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1200, 700);
this.Controls.Add(this.panel2);
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 = "CouponMulitAddForm";
this.Text = "批量设置";
this.TitleText = "批量设置";
this.Controls.SetChildIndex(this.panel2, 0);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel2;
private UcCouponAddParam ucCouponAddParam;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.LinkLabel lblAdd;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label lblUseTypeText;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private DevComponents.DotNetBar.PanelEx btnSet;
private System.Windows.Forms.RadioButton rbAllProductEachCoupon;
private System.Windows.Forms.RadioButton rbOneProductEachCoupon;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.RadioButton rbUseTypeDays;
private System.Windows.Forms.RadioButton rbUseTypePeriod;
private System.Windows.Forms.Label label17;
}
}
@@ -1,163 +0,0 @@
using AllBase;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class CouponMulitAddForm : LRBaseForm
{
int number = 1;
public CouponShopForm couponShopForm = null;
public CouponMulitAddForm()
{
InitializeComponent();
}
private void couponAddParamControl1_OnClose(object obj)
{
int i = 0;
foreach (var c in panel3.Controls)
{
var couponControl = c as UcCouponAddParam;
if (couponControl == null)
continue;
couponControl.Location = new Point(0, i * (couponControl.Height + 2));
lblAdd.Location = new Point(20, (i + 1) * (couponControl.Height + 2) + 10);
i++;
}
if (panel3.Controls.Count == 1)
lblAdd.Location = new Point(20, 12);
}
private void lblAdd_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
this.number++;
UcCouponAddParam co = new UcCouponAddParam(number);
if (rbUseTypePeriod.Checked)
co.pnlTimePeriod.Visible = true;
else
co.pnlTimePeriod.Visible = false;
panel3.Controls.Add(co);
co.OnClose += couponAddParamControl1_OnClose;
int i = 0;
foreach (var c in panel3.Controls)
{
var couponControl = c as UcCouponAddParam;
if (couponControl == null)
continue;
couponControl.Location = new Point(0, i * (couponControl.Height + 2));
lblAdd.Location = new Point(20, (i + 1) * (couponControl.Height + 2) + 10);
i++;
}
}
private void btnGetProduct_Click(object sender, EventArgs e)
{
if (couponShopForm == null)
return;
this.btnSet.Enabled = false;
Task.Run(() =>
{
foreach (var c in this.panel3.Controls)
{
var couponControl = c as UcCouponAddParam;
if (couponControl == null)
continue;
int periodType = this.rbUseTypePeriod.Checked ? 1 : 2;
int favouredType = 41;
Invoke(new Action(() =>
{
if (couponControl.cmbType.Text == "商品直减券")
favouredType = 42;
else if (couponControl.cmbType.Text == "商品满减券")
favouredType = 43;
}));
int days = couponControl.nudDays.Text.ParseToInt();
int startApplyTime = BaseClass.DateTimeToTimestampSeconds(couponControl.dtpStartApplyTime.Value);
int endApplyTime = BaseClass.DateTimeToTimestampSeconds(couponControl.dtpEndApplyTime.Value);
int startUseTime = BaseClass.DateTimeToTimestampSeconds(couponControl.dtpStartUseTime.Value.Date);
int endUseTime = BaseClass.DateTimeToTimestampSeconds(couponControl.dtpEndUseTime.Value.Date.AddDays(1).AddSeconds(-1));
int totalCount = couponControl.nudTotalCount.Value.ParseToInt();
int countLimit = 1;
decimal discount = couponControl.nudCredit.Value.ParseToDecimal();
int thresHold = couponControl.nudThresHold.Value.ParseToInt(); // 满x元 单位元
int credit = couponControl.nudCredit.Value.ParseToInt(); // 减x元 单位元
bool ignore = couponControl.rbNotReckonIn.Checked;
string couponName = couponControl.txtName.Text;
bool oneProductEachCoupon = this.rbOneProductEachCoupon.Checked;
var result = couponShopForm.SetCoupon(periodType, favouredType, startApplyTime, endApplyTime, startUseTime, endUseTime, days, totalCount, countLimit, discount, thresHold, credit, ignore, oneProductEachCoupon, couponName);
//if (result.Contains("\"msg\":\"成功\""))
// Invoke(new Action(() => { couponControl.lblMsg.Text = "设置成功"; }));
//else
// Invoke(new Action(() => { couponControl.lblMsg.Text = "设置失败"; }));
if (result.Contains("success") && !result.Contains("error"))
Invoke(new Action(() => { couponControl.lblMsg.Text = "设置成功"; }));
else if (result.Contains("success") && result.Contains("error"))
Invoke(new Action(() => { couponControl.lblMsg.Text = "部分成功"; }));
else
Invoke(new Action(() => { couponControl.lblMsg.Text = "设置失败"; }));
if ("18565722666,13928836672,18565722666,13928836672,18937517772,18135637272,18888888888".Contains(BaseClass.UserName))
Thread.Sleep(Randomx.GetId(200, 700));
else
Thread.Sleep(Randomx.GetId(1000, 2000));
}
BaseMsgForm.ShowInfo("优惠券批量设置结束!");
Invoke(new Action(() =>
{
this.btnSet.Enabled = true;
}));
});
}
private void rbUseTypePeriod_CheckedChanged(object sender, EventArgs e)
{
if (rbUseTypePeriod.Checked)
{
lblUseTypeText.Text = "日期范围";
foreach (var c in this.panel3.Controls)
{
var couponControl = c as UcCouponAddParam;
if (couponControl == null)
continue;
couponControl.pnlTimePeriod.Visible = true;
}
}
else
{
lblUseTypeText.Text = "领券当日起";
foreach (var c in this.panel3.Controls)
{
var couponControl = c as UcCouponAddParam;
if (couponControl == null)
continue;
couponControl.pnlTimePeriod.Visible = false;
}
}
}
}
}
@@ -1,298 +0,0 @@
<?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
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
/4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
/////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
//////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
//////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
/4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
/////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
//j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
//+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
/4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
//////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
//iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
//////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
//+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
+IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
/4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
//////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
/////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
@@ -1,296 +0,0 @@
namespace TemuKJD.KJDForms.SalesCenterForms
{
partial class CouponShopForm
{
/// <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();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label1 = new System.Windows.Forms.Label();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colProductId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colProductName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSales = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOrderCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShowCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShowPeopleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colClickCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colClickPeopleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvProduct);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.label1);
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
this.splitContainer2.Size = new System.Drawing.Size(1201, 634);
this.splitContainer2.SplitterDistance = 604;
this.splitContainer2.TabIndex = 9;
//
// dgvProduct
//
this.dgvProduct.AllowUserToAddRows = false;
this.dgvProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colProductId,
this.colProductName,
this.colSales,
this.colPrice,
this.colCreateTime,
this.colOrderCount,
this.colShowCount,
this.colShowPeopleCount,
this.colClickCount,
this.colClickPeopleCount,
this.colMessage});
this.dgvProduct.ContextMenuStrip = this.contextMenuStrip1;
this.dgvProduct.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvProduct.Location = new System.Drawing.Point(4, 4);
this.dgvProduct.Name = "dgvProduct";
this.dgvProduct.ReadOnly = true;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvProduct.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvProduct.RowTemplate.Height = 23;
this.dgvProduct.Size = new System.Drawing.Size(1193, 600);
this.dgvProduct.TabIndex = 6;
this.dgvProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProduct_CellContentClick);
this.dgvProduct.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvProduct_CellMouseDown);
this.dgvProduct.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProduct_CellMouseEnter);
this.dgvProduct.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvProduct_CellMouseUp);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.编辑ToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(209, 26);
//
// 编辑ToolStripMenuItem
//
this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem";
this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
this.编辑ToolStripMenuItem.Text = "选中商品批量设置优惠券";
this.编辑ToolStripMenuItem.Click += new System.EventHandler(this.编辑ToolStripMenuItem_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.Color.MidnightBlue;
this.label1.Location = new System.Drawing.Point(656, 2);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(43, 17);
this.label1.TabIndex = 3;
this.label1.Text = "label1";
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1201, 26);
this.statusBar.TabIndex = 2;
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 41;
//
// colProductId
//
this.colProductId.HeaderText = "商品Id";
this.colProductId.Name = "colProductId";
this.colProductId.ReadOnly = true;
this.colProductId.Width = 150;
//
// colProductName
//
this.colProductName.HeaderText = "商品名称";
this.colProductName.Name = "colProductName";
this.colProductName.ReadOnly = true;
this.colProductName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.Width = 250;
//
// colSales
//
this.colSales.HeaderText = "销量";
this.colSales.Name = "colSales";
this.colSales.ReadOnly = true;
this.colSales.Width = 60;
//
// colPrice
//
this.colPrice.HeaderText = "价格";
this.colPrice.Name = "colPrice";
this.colPrice.ReadOnly = true;
this.colPrice.Width = 60;
//
// colCreateTime
//
this.colCreateTime.HeaderText = "创建时间";
this.colCreateTime.Name = "colCreateTime";
this.colCreateTime.ReadOnly = true;
//
// colOrderCount
//
this.colOrderCount.HeaderText = "成交订单数";
this.colOrderCount.Name = "colOrderCount";
this.colOrderCount.ReadOnly = true;
this.colOrderCount.Visible = false;
this.colOrderCount.Width = 90;
//
// colShowCount
//
this.colShowCount.HeaderText = "商品曝光次数";
this.colShowCount.Name = "colShowCount";
this.colShowCount.ReadOnly = true;
this.colShowCount.Visible = false;
this.colShowCount.Width = 90;
//
// colShowPeopleCount
//
this.colShowPeopleCount.HeaderText = "商品曝光人数";
this.colShowPeopleCount.Name = "colShowPeopleCount";
this.colShowPeopleCount.ReadOnly = true;
this.colShowPeopleCount.Visible = false;
this.colShowPeopleCount.Width = 90;
//
// colClickCount
//
this.colClickCount.HeaderText = "商品点击次数";
this.colClickCount.Name = "colClickCount";
this.colClickCount.ReadOnly = true;
this.colClickCount.Visible = false;
this.colClickCount.Width = 90;
//
// colClickPeopleCount
//
this.colClickPeopleCount.HeaderText = "商品点击人数";
this.colClickPeopleCount.Name = "colClickPeopleCount";
this.colClickPeopleCount.ReadOnly = true;
this.colClickPeopleCount.Visible = false;
this.colClickPeopleCount.Width = 90;
//
// colMessage
//
this.colMessage.HeaderText = "消息";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 200;
//
// CouponShopForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1201, 634);
this.Controls.Add(this.splitContainer2);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "CouponShopForm";
this.Text = "CouponShopForm";
this.Load += new System.EventHandler(this.CouponShopForm_Load);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
this.splitContainer2.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit();
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvProduct;
private System.Windows.Forms.Label label1;
private UserControls.StatusBarUserControl statusBar;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colProductId;
private System.Windows.Forms.DataGridViewTextBoxColumn colProductName;
private System.Windows.Forms.DataGridViewTextBoxColumn colSales;
private System.Windows.Forms.DataGridViewTextBoxColumn colPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colCreateTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colOrderCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colShowCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colShowPeopleCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colClickCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colClickPeopleCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
}
}
@@ -1,518 +0,0 @@
using AllBase;
using AllBase.Extension;
using AllBase.Helper;
using AllBase.Model.Result;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work.BLL.Product;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class CouponShopForm : BaseForm
{
private CheckBox chkSelectAll = null;
ShopLoginInfo shop = null;
public CouponForm couponForm = null;
public bool isGetProductSalesSuccess = false;
public Dictionary<string, int> dicProductSales = new Dictionary<string, int>();
public List<DouProductWithSalesListInfo> productList = new List<DouProductWithSalesListInfo>();
public CouponShopForm(ShopLoginInfo _shop)
{
InitializeComponent();
shop = _shop;
}
private void CouponShopForm_Load(object sender, EventArgs e)
{
chkSelectAll = dgvProduct.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
dgvProduct.Columns["colSelect"].HeaderText = "";
chkSelectAll.Width = chkSelectAll.Height = 13;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
}
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
{
foreach (DataGridViewRow row in dgvProduct.Rows)
{
row.Cells["colSelect"].Value = false;
}
}
else
{
foreach (DataGridViewRow row in dgvProduct.Rows)
{
row.Cells["colSelect"].Value = true;
}
}
}
public void GetProduct(decimal priceMin, decimal priceMax, int salesMin, int salesMax, List<string> productName = null, List<string> filterWords = null)
{
if (shop == null)
return;
ShowVisitorMessage("");
foreach (DataGridViewRow r in this.dgvProduct.Rows)
{
r.Cells["colSales"].Value = "获取中";
}
foreach (var p in productList)
{
p.sell_num = null;
}
List<Task> tList = new List<Task>();
var t1 = Task.Run(() =>
{
int page = 0;
int pageSize = 100;
int totalNum = 99999;
while (page < 100)
{
if (couponForm == null || couponForm.cancellationTokenSource.IsCancellationRequested)
break;
page++;
var html = new ShopProductBLL().GetShopProductListData(shop, 0, page, pageSize);
//测试查找商品详情
//Work.DouyinApiClass.DouyinApi api = new Work.DouyinApiClass.DouyinApi(shop);
//api.JsonData = new Dictionary<string, string>();
//api.JsonData["product_id"] = "3558439046600598747";
//var detail = api.GetProductDetail();
while (!html.Contains("\"code\":10000"))
{
Thread.Sleep(1000);
html = new ShopProductBLL().GetShopProductListData(shop, 0, page, pageSize);
}
totalNum = BaseRegex.GetIntJson(ref html, "total");
try
{
JObject jObj = JObject.Parse(html);
var jObjDataStr = jObj["data"]?["data"]?.ToString();
if (!string.IsNullOrEmpty(jObjDataStr))
{
var addList = JsonHelper.DeserializeJsonToList<DouProductWithSalesListInfo>(jObjDataStr);
if (addList != null)
{
// 有关键词或商品id的,过滤符合关键词
if (productName != null && productName.Any())
addList = addList.Where(p => productName.Any(n => p.name.Contains(n) || p.product_id.ToString().Contains(n))).ToList();
if (filterWords != null && filterWords.Any())
addList = addList.Where(p => !filterWords.Any(f => p.name.Contains(f) || p.product_id.ToString().Contains(f))).ToList();
productList.AddRange(addList);
productList = productList.DistinctBy(p => p.product_id).ToList();
}
foreach (var prod in addList)
{
var row = dgvProduct.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colProductId"].Value.ToString() == prod.product_id.ToString());
Invoke(new Action(() =>
{
if (row == null)
{
dgvProduct.Rows.Add(
false,
prod.product_id,
prod.name,
"获取中",
prod.discount_price / 100,
BaseClass.StampToDateTime((int)prod.create_time));
}
else
{
row.Cells["colSales"].Value = "获取中";
row.Cells["colPrice"].Value = prod.discount_price / 100;
row.Cells["colCreateTime"].Value = BaseClass.StampToDateTime((int)prod.create_time);
}
}));
}
}
var totalPage = Math.Ceiling(totalNum / (pageSize * 1M));
var message = "已获取:" + page + "页,共" + Math.Ceiling(totalNum / (pageSize * 1M)) + "页,商品获取中...";
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = message;
this.statusBar.pgbTaskProgress.Value = page;
this.statusBar.pgbTaskProgress.Text = page + "/" + totalPage;
this.statusBar.pgbTaskProgress.Maximum = (int)totalPage;
}));
}
catch (Exception ex)
{
BaseMsgForm.ShowError("获取商品发生错误:" + ex.Message);
}
if (page * pageSize >= totalNum)
break;
}
});
tList.Add(t1);
if (ShopForms.ShopListForm.Instance == null)
ShopForms.ShopListForm.Instance = new ShopForms.ShopListForm();
ShopForms.ShopListForm.Instance.CheckShopLogin(new string[] { shop.ShopAccount }, false);
var t2 = Task.Run(() =>
{
if (shop.LoginStatus == "登录成功")
couponForm.GetSales(this.shop);
var rowsTemp = dgvProduct.Rows.Cast<DataGridViewRow>().ToList();
rowsTemp.Reverse();
foreach (var r in rowsTemp)
{
try
{
if (r.Cells["colPrice"].Value.ParseToDecimal() < priceMin || r.Cells["colPrice"].Value.ParseToDecimal() > priceMax
|| r.Cells["colSales"].Value.ParseToDecimal() < salesMin || r.Cells["colSales"].Value.ParseToDecimal() > salesMax
|| (productName?.Count > 0 && !productName.Any(n => r.Cells["colProductName"].Value.ToString().Contains(n) || r.Cells["colProductId"].Value.ToString().Contains(n)))
|| (filterWords?.Count > 0 && filterWords.Any(f => r.Cells["colProductName"].Value.ToString().Contains(f) || r.Cells["colProductId"].Value.ToString().Contains(f))))
{
Invoke(new Action(() =>
{
dgvProduct.Rows.Remove(r);
}));
}
}
catch (Exception ex)
{
}
}
});
tList.Add(t2);
t2.Wait();
SetSalesCount();
//SetVisitorCount();
productList = productList.Where(p => p.discount_price >= priceMin && p.discount_price <= priceMax && p.sell_num >= salesMin && p.sell_num <= salesMax
&& (productName?.Count > 0 == false || productName.Any(n => p.name.Contains(n) || p.product_id.ToString().Contains(n)))
&& (filterWords?.Count > 0 == false || !filterWords.Any(f => p.name.Contains(f) || p.product_id.ToString().Contains(f)))).ToList();
Invoke(new Action(() =>
{
if (couponForm == null || couponForm.cancellationTokenSource.IsCancellationRequested)
{
this.statusBar.lblTaskStatus.Text = "获取中断";
}
else
{
this.statusBar.lblTaskStatus.Text = "获取完成";
}
this.statusBar.pgbTaskProgress.Value = 0;
this.statusBar.pgbTaskProgress.Text = 0 + "/" + 0;
this.statusBar.pgbTaskProgress.Maximum = 0;
}));
var errMsg = "";
if (shop.LoginStatus != "登录成功")
errMsg += " 店铺掉线,请重新登录!";
if (shop.ApiAuthStatus != "授权成功")
errMsg += " 授权过期,请重新授权!";
ShowVisitorMessage(errMsg);
}
public void ShowVisitorMessage(string msg)
{
Invoke(new Action(() => { this.label1.Text = msg; }));
}
public void SetSalesCount()
{
foreach (var key in dicProductSales.Keys)
{
var row = this.dgvProduct.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colProductId"].Value.ToString() == key);
if (row != null)
{
Invoke(new Action(() =>
{
row.Cells["colSales"].Value = dicProductSales[key];
}));
}
var product = this.productList.Find(p => p.product_id.ToString() == key);
if (product != null)
product.sell_num = dicProductSales[key];
}
foreach (DataGridViewRow row in dgvProduct.Rows)
{
if (row.Cells["colSales"].Value.ToString() == "获取中")
{
Invoke(new Action(() =>
{
if (isGetProductSalesSuccess)
{
row.Cells["colSales"].Value = 0;
}
else
{
row.Cells["colSales"].Value = "获取失败";
}
}));
}
}
if (isGetProductSalesSuccess)
{
foreach (var prod in this.productList)
{
if (prod.sell_num == null)
prod.sell_num = 0;
}
}
}
private void dgvProduct_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvProduct.Columns[e.ColumnIndex].HeaderText;
string columnName = dgvProduct.Columns[e.ColumnIndex].Name;
var row = dgvProduct.Rows[e.RowIndex];
switch (columnName)
{
case "colSelect":
//row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
//chkSelectAll.CheckedChanged -= chkSelectAll_CheckedChanged;
//if (dgvProduct.Rows.Cast<DataGridViewRow>().All(r => r.Cells["colSelect"].Value.ParseToBool()))
// chkSelectAll.Checked = true;
//else
// chkSelectAll.Checked = false;
//chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
break;
}
}
bool isSelecting = false;
bool isCheck = true;
private void dgvProduct_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
var columnName = dgvProduct.Columns[e.ColumnIndex].Name;
if (MouseButtons == MouseButtons.Left)
{
if (columnName == "colSelect")
{
dgvProduct.Rows[e.RowIndex].Cells["colSelect"].Value = !dgvProduct.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
isSelecting = true;
isCheck = dgvProduct.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool();
chkSelectAll.CheckedChanged -= chkSelectAll_CheckedChanged;
if (dgvProduct.Rows.Cast<DataGridViewRow>().All(r => r.Cells["colSelect"].Value.ParseToBool()))
chkSelectAll.Checked = true;
else
chkSelectAll.Checked = false;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
}
}
}
private void dgvProduct_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
{
isSelecting = false;
}
private void dgvProduct_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
var row = dgvProduct.Rows[e.RowIndex];
if (MouseButtons == MouseButtons.Left)
{
var columnName = dgvProduct.Columns[e.ColumnIndex].Name;
if (isSelecting)
{
dgvProduct.Rows[e.RowIndex].Cells["colSelect"].Value = isCheck;
chkSelectAll.CheckedChanged -= chkSelectAll_CheckedChanged;
if (dgvProduct.Rows.Cast<DataGridViewRow>().All(r => r.Cells["colSelect"].Value.ParseToBool()))
chkSelectAll.Checked = true;
else
chkSelectAll.Checked = false;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
}
}
}
public string SetCoupon(int periodType,
int favouredType,
long startApplyStamps,
long endApplyStamps,
long startUseStamps,
long endUseStamps,
int validDays,
int totalCount,
int countLimit,
decimal discount, // (折扣券的)折扣
int threshold, // 满x元
int credit, // 减x元
bool ignore,
bool oneProductEachCoupon,
string couponName = "")
{
List<DataGridViewRow> rows = this.dgvProduct.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value?.ParseToBool() == true).ToList();
var goodsIdList = rows.Select(r => r.Cells["colProductId"].Value?.ToString()).ToList();
var goodsIds = "\"" + string.Join("\",\"", goodsIdList) + "\"";
if (!oneProductEachCoupon)
{
var goodsIdListTemp = new List<string>();
goodsIdListTemp.AddRange(goodsIdList);
goodsIdList.Clear();
int numCount = 0;
goodsIds = "";
foreach (var goodsId in goodsIdListTemp)
{
numCount++;
goodsIds += "\"" + goodsId + "\",";
if (numCount % 200 == 0 || numCount >= goodsIdListTemp.Count)
{
goodsIdList.Add(goodsIds.Trim(','));
goodsIds = "";
}
}
}
if (string.IsNullOrEmpty(couponName))
couponName = DateTime.Now.ToString("yyMMddHHmm");
string setResult = "";
foreach (var id in goodsIdList)
{
// 指定商品折扣券
//string body = @"{""support_type"":4,""shop_omp_activity_id"":"""",""channel"":3,""coupon_name"":""优惠123"",""period_type"":2,""ignore"":false,""favoured_type"":41,""total_amount"":13,""max_apply_times"":1,""valid_period"":""3"",""discount"":95,""goods"":[""3552987839555832450"",""3552273829277663255"",""3552271209347574338""],""start_apply_time"":1654531200,""end_apply_time"":1654617599,""jump_type"":4}";
//string body = @"{""support_type"":4,""shop_omp_activity_id"":""7086106181462163749"",""shop_omp_activity_type"":8,""channel"":3,""coupon_name"":""111"",""period_type"":1,""ignore"":false,""favoured_type"":41,""total_amount"":1,""max_apply_times"":1,""goods"":[""3554315317469660534"",""3553784680702692298""],""discount"":90,""start_time"":1655395200,""expire_time"":1655481599,""start_apply_time"":1655395200,""end_apply_time"":1655481599,""jump_type"":4}";
// 指定商品直减券
//string body = @"{""support_type"":4,""shop_omp_activity_id"":""7086106181462163749"",""shop_omp_activity_type"":8,""channel"":3,""coupon_name"":""2131"",""period_type"":1,""ignore"":false,""favoured_type"":42,""total_amount"":1,""max_apply_times"":1,""goods"":[""3557115286081690584""],""credit"":200,""start_time"":1657123200,""expire_time"":1657209599,""start_apply_time"":1657123200,""end_apply_time"":1657209599,""jump_type"":2,""jump_product_id"":""3557115286081690584""}";
//string body = @"{""support_type"":4,""shop_omp_activity_id"":""7086106181462163749"",""shop_omp_activity_type"":8,""channel"":3,""coupon_name"":""1223"",""period_type"":1,""ignore"":false,""favoured_type"":42,""total_amount"":1,""max_apply_times"":1,""goods"":[""3554511661782200678""],""credit"":200,""start_time"":1657123200,""expire_time"":1657209599,""start_apply_time"":1657123200,""end_apply_time"":1657209599,""jump_type"":2,""jump_product_id"":""3554511661782200678""}";
//string body = @"{""support_type"":4,""shop_omp_activity_id"":""7086106181462163749"",""shop_omp_activity_type"":8,""channel"":3,""coupon_name"":""2311"",""period_type"":1,""ignore"":false,""favoured_type"":42,""total_amount"":1,""max_apply_times"":1,""goods"":[""3554333221040862310"",""3554511661782200678""],""credit"":200,""start_time"":1657123200,""expire_time"":1657209599,""start_apply_time"":1657123200,""end_apply_time"":1657209599,""jump_type"":4}";
// 指定商品满减券
//string body = @"{""support_type"":4,""shop_omp_activity_id"":""7086106181462163749"",""shop_omp_activity_type"":8,""channel"":3,""coupon_name"":""1ad"",""period_type"":1,""ignore"":false,""favoured_type"":43,""total_amount"":1,""max_apply_times"":1,""goods"":[""3556136493124815095"",""3558423829472753852""],""threshold"":9900,""credit"":1100,""start_time"":1657123200,""expire_time"":1657209599,""start_apply_time"":1657123200,""end_apply_time"":1657209599,""jump_type"":4}";
string body = "{\"support_type\":4," +
"\"shop_omp_activity_id\":\"\"," +
"\"channel\":3," +
"\"coupon_name\":\"" + couponName + "\"," + // 优惠券名称
"\"period_type\":" + periodType + "," + // 使用时间 1=限制日期范围 2=限制有效天数
"\"ignore\":" + ignore.ToString().ToLower() + "," + // 价格风险预警 true=不计入 false=计入
"\"favoured_type\":" + favouredType + "," + // 优惠内容 41=指定商品折扣券 42=指定商品直减券 43=指定商品满减券
"\"total_amount\":" + totalCount + "," + // 发放量
"\"max_apply_times\":" + countLimit + ","; // 每人限领
if (periodType == 2)
body += "\"valid_period\":\"" + validDays + "\","; // 有效期天数
if (periodType == 1)
{
body += "\"start_time\":" + startUseStamps + ","; // 开始日期
body += "\"expire_time\":" + endUseStamps + ","; // 结束日期
}
if (favouredType == 41)
{
body += "\"discount\":" + (int)(10 * discount) + ","; // 折扣
}
else if (favouredType == 42)
{
body += "\"credit\":" + 100 * credit + ","; // 减x元 单位分
}
else if (favouredType == 43)
{
body += "\"threshold\":" + 100 * threshold + ","; // 满x元 单位分
body += "\"credit\":" + 100 * credit + ","; // 减x元 单位分
}
body += "\"goods\":[" + id + "]," + // 商品编号
"\"start_apply_time\":" + startApplyStamps + "," + // 领取开始时间
"\"end_apply_time\":" + endApplyStamps + "," + // 领取结束时间
"\"jump_type\":4}";
string url = "https://fxg.jinritemai.com/marketing/coupons/v1/check?_bid=ecom_market_shop&appid=1&_=" + BaseClass.DateTimeToTimestampSeconds(DateTime.Now);
string referer = "https://fxg.jinritemai.com/market/center/coupon/detail?type=4";
CommonSimRequest simRequest = new CommonSimRequest();
simRequest.Accept = "application/json, text/plain, */*";
simRequest.ContentType = "application/json";
var result = simRequest.Request_Post(url, referer, new Dictionary<string, string>(), shop.Cookies, body);
if (!result.Contains("成功") && !result.Contains("Gateway Timeout"))
{
foreach (DataGridViewRow row in rows)
{
if (id.Contains(row.Cells["colProductId"].Value.ToString()))
Invoke(new Action(() => { row.Cells["colMessage"].Value = "优惠券 " + couponName + " 规则校验失败,无法设置。"; }));
}
setResult += id + "|error^";
continue;
}
if ("18565722666|13928836672,18565722666,13928836672,18937517772,18135637272,18888888888".Contains(BaseClass.UserName))
Thread.Sleep(Randomx.GetId(10, 20));
else
Thread.Sleep(Randomx.GetId(100, 500));
url = "https://fxg.jinritemai.com/marketing/coupons/v1/shopcoupons?_bid=ecom_market_shop&appid=1&_=" + BaseClass.DateTimeToTimestampSeconds(DateTime.Now);
result = simRequest.Request_Post(url, referer, new Dictionary<string, string>(), shop.Cookies, body);
if (!result.Contains("成功"))
{
var msg = BaseRegex.GetStringJson(ref result, "msg");
foreach (DataGridViewRow row in rows)
{
if (id.Contains(row.Cells["colProductId"].Value.ToString()))
Invoke(new Action(() => { row.Cells["colMessage"].Value = "优惠券 " + couponName + " 设置失败。" + msg; }));
}
setResult += id + "|error^";
continue;
}
foreach (DataGridViewRow row in rows)
{
if (id.Contains(row.Cells["colProductId"].Value.ToString()))
Invoke(new Action(() => { row.Cells["colMessage"].Value = "优惠券 " + couponName + " 设置成功。"; }));
}
setResult += id + "|success^";
if (goodsIdList.Count > 1)
{
if ("18565722666|13928836672,18565722666,13928836672,18937517772,18135637272,18888888888".Contains(BaseClass.UserName))
Thread.Sleep(Randomx.GetId(50, 150));
else
Thread.Sleep(Randomx.GetId(200, 700));
}
}
return setResult;
}
private void 编辑ToolStripMenuItem_Click(object sender, EventArgs e)
{
List<DataGridViewRow> rows = this.dgvProduct.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value?.ParseToBool() == true).ToList();
var goodsIdList = rows.Select(r => r.Cells["colProductId"].Value?.ToString()).ToList();
var goodsIds = "\"" + string.Join("\",\"", goodsIdList) + "\"";
CouponMulitAddForm form = new CouponMulitAddForm();
form.couponShopForm = this;
form.Show();
}
public void ClearData()
{
this.dgvProduct.Rows.Clear();
this.productList.Clear();
}
}
}
@@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSales.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCreateTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOrderCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShowCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShowPeopleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colClickCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colClickPeopleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.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>17, 17</value>
</metadata>
</root>
@@ -1,293 +0,0 @@

namespace TemuKJD.KJDForms.SalesCenterForms
{
partial class DouProductProPromotionListSkuInfoForm
{
/// <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.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSkuId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSku = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOldPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSetPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colNowStock = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActiveStock = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLimited = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.btnSave = new DevComponents.DotNetBar.PanelEx();
this.panel6 = new System.Windows.Forms.Panel();
this.cmbLimit = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.lblLimit = new System.Windows.Forms.Label();
this.panel5 = new System.Windows.Forms.Panel();
this.txtStock = new System.Windows.Forms.TextBox();
this.lblStock = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.panel6.SuspendLayout();
this.panel5.SuspendLayout();
this.SuspendLayout();
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1084, 521);
this.splitContainer2.SplitterDistance = 492;
this.splitContainer2.TabIndex = 10;
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选择";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 45;
//
// colSkuId
//
this.colSkuId.HeaderText = "SkuId";
this.colSkuId.Name = "colSkuId";
this.colSkuId.ReadOnly = true;
this.colSkuId.Visible = false;
this.colSkuId.Width = 150;
//
// colSku
//
this.colSku.HeaderText = "SKU";
this.colSku.Name = "colSku";
this.colSku.ReadOnly = true;
this.colSku.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSku.Width = 300;
//
// colOldPrice
//
this.colOldPrice.HeaderText = "原价";
this.colOldPrice.Name = "colOldPrice";
this.colOldPrice.ReadOnly = true;
this.colOldPrice.Width = 90;
//
// colSetPrice
//
this.colSetPrice.HeaderText = "打折";
this.colSetPrice.Name = "colSetPrice";
this.colSetPrice.ReadOnly = true;
this.colSetPrice.Width = 80;
//
// colNowStock
//
this.colNowStock.HeaderText = "当前库存";
this.colNowStock.Name = "colNowStock";
this.colNowStock.ReadOnly = true;
this.colNowStock.Width = 90;
//
// colActiveStock
//
this.colActiveStock.HeaderText = "活动库存";
this.colActiveStock.Name = "colActiveStock";
this.colActiveStock.ReadOnly = true;
this.colActiveStock.Width = 80;
//
// colLimited
//
this.colLimited.HeaderText = "每人限购";
this.colLimited.Name = "colLimited";
this.colLimited.ReadOnly = true;
this.colLimited.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colLimited.Width = 80;
//
// colMessage
//
this.colMessage.HeaderText = "消息提示";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 200;
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.btnSave);
this.splitContainer1.Panel1.Controls.Add(this.panel6);
this.splitContainer1.Panel1.Controls.Add(this.lblLimit);
this.splitContainer1.Panel1.Controls.Add(this.panel5);
this.splitContainer1.Panel1.Controls.Add(this.lblStock);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(1084, 561);
this.splitContainer1.SplitterDistance = 36;
this.splitContainer1.TabIndex = 12;
//
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.btnSave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSave.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSave.Location = new System.Drawing.Point(654, 7);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(80, 23);
this.btnSave.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSave.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSave.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSave.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSave.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSave.Style.GradientAngle = 90;
this.btnSave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSave.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSave.TabIndex = 561;
this.btnSave.Text = "保存";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// panel6
//
this.panel6.Controls.Add(this.cmbLimit);
this.panel6.Location = new System.Drawing.Point(476, 6);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(60, 24);
this.panel6.TabIndex = 547;
//
// cmbLimit
//
this.cmbLimit.DisplayMember = "Text";
this.cmbLimit.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmbLimit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbLimit.FormattingEnabled = true;
this.cmbLimit.ItemHeight = 18;
this.cmbLimit.Location = new System.Drawing.Point(0, 0);
this.cmbLimit.Name = "cmbLimit";
this.cmbLimit.Size = new System.Drawing.Size(57, 24);
this.cmbLimit.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cmbLimit.TabIndex = 520;
//
// lblLimit
//
this.lblLimit.AutoSize = true;
this.lblLimit.Location = new System.Drawing.Point(421, 13);
this.lblLimit.Name = "lblLimit";
this.lblLimit.Size = new System.Drawing.Size(53, 12);
this.lblLimit.TabIndex = 546;
this.lblLimit.Text = "每人限购";
//
// panel5
//
this.panel5.Controls.Add(this.txtStock);
this.panel5.Location = new System.Drawing.Point(322, 8);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(82, 21);
this.panel5.TabIndex = 543;
//
// txtStock
//
this.txtStock.Location = new System.Drawing.Point(0, 0);
this.txtStock.Name = "txtStock";
this.txtStock.Size = new System.Drawing.Size(80, 21);
this.txtStock.TabIndex = 481;
//
// lblStock
//
this.lblStock.AutoSize = true;
this.lblStock.Location = new System.Drawing.Point(263, 13);
this.lblStock.Name = "lblStock";
this.lblStock.Size = new System.Drawing.Size(53, 12);
this.lblStock.TabIndex = 542;
this.lblStock.Text = "活动库存";
//
// DouProductProPromotionListSkuInfoForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1084, 561);
this.Controls.Add(this.splitContainer1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "DouProductProPromotionListSkuInfoForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "设置单个SKU";
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.TextBox txtStock;
private System.Windows.Forms.Label lblStock;
private System.Windows.Forms.Panel panel6;
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbLimit;
private System.Windows.Forms.Label lblLimit;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSku;
private System.Windows.Forms.DataGridViewTextBoxColumn colOldPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colSetPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colNowStock;
private System.Windows.Forms.DataGridViewTextBoxColumn colActiveStock;
private System.Windows.Forms.DataGridViewTextBoxColumn colLimited;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private DevComponents.DotNetBar.PanelEx btnSave;
}
}
@@ -1,27 +0,0 @@
using AllBase;
using AllBase.Model.Result;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class DouProductProPromotionListSkuInfoForm : BaseForm
{
public List<DouProductProPromotionListSkuInfo> skuList = null;
private List<string> strList = new List<string>();
public DouProductProPromotionListSkuInfoForm(string data, string shop_stype = "3", string setPrice = "95", int StockNum = 1, string limited = "1")
{
InitializeComponent();
}
private void btnSave_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
}
}
}
@@ -1,120 +0,0 @@
<?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>
@@ -1,454 +0,0 @@

namespace TemuKJD.KJDForms.SalesCenterForms
{
partial class DouProductPromotionListSkuInfoEditForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.btnSave = new DevComponents.DotNetBar.PanelEx();
this.btnFill = new DevComponents.DotNetBar.PanelEx();
this.panel6 = new System.Windows.Forms.Panel();
this.cmbLimit = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.lblLimit = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.txtSetPrice = new System.Windows.Forms.TextBox();
this.panel5 = new System.Windows.Forms.Panel();
this.txtStock = new System.Windows.Forms.TextBox();
this.lblStock = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.btnDelete = new DevComponents.DotNetBar.PanelEx();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvActiveSku = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSkuId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSku = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOldPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSetPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colNowStock = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActiveStock = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLeftStock = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLimited = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.panel6.SuspendLayout();
this.panel1.SuspendLayout();
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvActiveSku)).BeginInit();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.btnSave);
this.splitContainer1.Panel1.Controls.Add(this.btnFill);
this.splitContainer1.Panel1.Controls.Add(this.panel6);
this.splitContainer1.Panel1.Controls.Add(this.lblLimit);
this.splitContainer1.Panel1.Controls.Add(this.label3);
this.splitContainer1.Panel1.Controls.Add(this.panel1);
this.splitContainer1.Panel1.Controls.Add(this.panel5);
this.splitContainer1.Panel1.Controls.Add(this.lblStock);
this.splitContainer1.Panel1.Controls.Add(this.label2);
this.splitContainer1.Panel1.Controls.Add(this.btnDelete);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(1084, 561);
this.splitContainer1.SplitterDistance = 36;
this.splitContainer1.TabIndex = 13;
//
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.btnSave.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSave.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSave.Location = new System.Drawing.Point(654, 7);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(80, 23);
this.btnSave.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSave.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSave.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSave.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSave.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSave.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSave.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSave.Style.GradientAngle = 90;
this.btnSave.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSave.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSave.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSave.TabIndex = 561;
this.btnSave.Text = "保存";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// btnFill
//
this.btnFill.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.btnFill.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnFill.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFill.DisabledBackColor = System.Drawing.Color.Empty;
this.btnFill.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFill.Location = new System.Drawing.Point(557, 7);
this.btnFill.Name = "btnFill";
this.btnFill.Size = new System.Drawing.Size(80, 23);
this.btnFill.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnFill.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnFill.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnFill.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnFill.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnFill.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnFill.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnFill.Style.GradientAngle = 90;
this.btnFill.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnFill.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnFill.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnFill.TabIndex = 551;
this.btnFill.Text = "批量填充";
this.btnFill.Click += new System.EventHandler(this.btnFill_Click);
//
// panel6
//
this.panel6.Controls.Add(this.cmbLimit);
this.panel6.Location = new System.Drawing.Point(476, 6);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(60, 24);
this.panel6.TabIndex = 547;
//
// cmbLimit
//
this.cmbLimit.DisplayMember = "Text";
this.cmbLimit.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmbLimit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbLimit.FormattingEnabled = true;
this.cmbLimit.ItemHeight = 18;
this.cmbLimit.Location = new System.Drawing.Point(0, 0);
this.cmbLimit.Name = "cmbLimit";
this.cmbLimit.Size = new System.Drawing.Size(57, 24);
this.cmbLimit.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cmbLimit.TabIndex = 520;
//
// lblLimit
//
this.lblLimit.AutoSize = true;
this.lblLimit.Location = new System.Drawing.Point(421, 13);
this.lblLimit.Name = "lblLimit";
this.lblLimit.Size = new System.Drawing.Size(53, 12);
this.lblLimit.TabIndex = 546;
this.lblLimit.Text = "每人限购";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(103, 13);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(29, 12);
this.label3.TabIndex = 545;
this.label3.Text = "优惠";
//
// panel1
//
this.panel1.Controls.Add(this.txtSetPrice);
this.panel1.Location = new System.Drawing.Point(138, 8);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(83, 21);
this.panel1.TabIndex = 544;
//
// txtSetPrice
//
this.txtSetPrice.Location = new System.Drawing.Point(0, 0);
this.txtSetPrice.Name = "txtSetPrice";
this.txtSetPrice.Size = new System.Drawing.Size(83, 21);
this.txtSetPrice.TabIndex = 0;
//
// panel5
//
this.panel5.Controls.Add(this.txtStock);
this.panel5.Location = new System.Drawing.Point(322, 8);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(82, 21);
this.panel5.TabIndex = 543;
//
// txtStock
//
this.txtStock.Location = new System.Drawing.Point(0, 0);
this.txtStock.Name = "txtStock";
this.txtStock.Size = new System.Drawing.Size(80, 21);
this.txtStock.TabIndex = 481;
//
// lblStock
//
this.lblStock.AutoSize = true;
this.lblStock.Location = new System.Drawing.Point(263, 13);
this.lblStock.Name = "lblStock";
this.lblStock.Size = new System.Drawing.Size(53, 12);
this.lblStock.TabIndex = 542;
this.lblStock.Text = "追加库存";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(226, 13);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(17, 12);
this.label2.TabIndex = 541;
this.label2.Text = "折";
//
// btnDelete
//
this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.btnDelete.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDelete.DisabledBackColor = System.Drawing.Color.Empty;
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDelete.Location = new System.Drawing.Point(902, 7);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(90, 23);
this.btnDelete.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnDelete.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDelete.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnDelete.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnDelete.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnDelete.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnDelete.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnDelete.Style.GradientAngle = 90;
this.btnDelete.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnDelete.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnDelete.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnDelete.TabIndex = 536;
this.btnDelete.Text = "删除";
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvActiveSku);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1084, 521);
this.splitContainer2.SplitterDistance = 492;
this.splitContainer2.TabIndex = 10;
//
// dgvActiveSku
//
this.dgvActiveSku.AllowUserToAddRows = false;
this.dgvActiveSku.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvActiveSku.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvActiveSku.BackgroundColor = System.Drawing.Color.White;
this.dgvActiveSku.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvActiveSku.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvActiveSku.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvActiveSku.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colSkuId,
this.colSku,
this.colOldPrice,
this.colSetPrice,
this.colNowStock,
this.colActiveStock,
this.colLeftStock,
this.colLimited,
this.colMessage});
this.dgvActiveSku.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvActiveSku.Location = new System.Drawing.Point(4, 0);
this.dgvActiveSku.Name = "dgvActiveSku";
this.dgvActiveSku.ReadOnly = true;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvActiveSku.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvActiveSku.RowTemplate.Height = 23;
this.dgvActiveSku.Size = new System.Drawing.Size(1076, 492);
this.dgvActiveSku.TabIndex = 6;
this.dgvActiveSku.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvActiveSku_CellContentClick);
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选择";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 45;
//
// colSkuId
//
this.colSkuId.HeaderText = "SkuId";
this.colSkuId.Name = "colSkuId";
this.colSkuId.ReadOnly = true;
this.colSkuId.Visible = false;
this.colSkuId.Width = 150;
//
// colSku
//
this.colSku.HeaderText = "SKU";
this.colSku.Name = "colSku";
this.colSku.ReadOnly = true;
this.colSku.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSku.Width = 300;
//
// colOldPrice
//
this.colOldPrice.HeaderText = "原价";
this.colOldPrice.Name = "colOldPrice";
this.colOldPrice.ReadOnly = true;
this.colOldPrice.Width = 75;
//
// colSetPrice
//
this.colSetPrice.HeaderText = "打折";
this.colSetPrice.Name = "colSetPrice";
this.colSetPrice.ReadOnly = true;
this.colSetPrice.Width = 80;
//
// colNowStock
//
this.colNowStock.HeaderText = "当前库存";
this.colNowStock.Name = "colNowStock";
this.colNowStock.ReadOnly = true;
this.colNowStock.Width = 75;
//
// colActiveStock
//
this.colActiveStock.HeaderText = "活动库存";
this.colActiveStock.Name = "colActiveStock";
this.colActiveStock.ReadOnly = true;
this.colActiveStock.Width = 80;
//
// colLeftStock
//
this.colLeftStock.HeaderText = "活动剩余库存";
this.colLeftStock.Name = "colLeftStock";
this.colLeftStock.ReadOnly = true;
this.colLeftStock.Width = 90;
//
// colLimited
//
this.colLimited.HeaderText = "每人限购";
this.colLimited.Name = "colLimited";
this.colLimited.ReadOnly = true;
this.colLimited.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colLimited.Width = 80;
//
// colMessage
//
this.colMessage.HeaderText = "消息提示";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 150;
//
// DouProductPromotionListSkuInfoEditForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1084, 561);
this.Controls.Add(this.splitContainer1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "DouProductPromotionListSkuInfoEditForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "活动编辑";
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.splitContainer2.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvActiveSku)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private DevComponents.DotNetBar.PanelEx btnSave;
private DevComponents.DotNetBar.PanelEx btnFill;
private System.Windows.Forms.Panel panel6;
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbLimit;
private System.Windows.Forms.Label lblLimit;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox txtSetPrice;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.TextBox txtStock;
private System.Windows.Forms.Label lblStock;
private System.Windows.Forms.Label label2;
private DevComponents.DotNetBar.PanelEx btnDelete;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvActiveSku;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSku;
private System.Windows.Forms.DataGridViewTextBoxColumn colOldPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colSetPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colNowStock;
private System.Windows.Forms.DataGridViewTextBoxColumn colActiveStock;
private System.Windows.Forms.DataGridViewTextBoxColumn colLeftStock;
private System.Windows.Forms.DataGridViewTextBoxColumn colLimited;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
}
}
@@ -1,315 +0,0 @@
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class DouProductPromotionListSkuInfoEditForm : BaseForm
{
public List<Promotion_Skus> skuList = null;
private List<string> strList = new List<string>();
private TextBox textBox = null;
private ComboBox comboBox = null;
public DouProductPromotionListSkuInfoEditForm(Promotion_Goods goods, string shop_stype)
{
InitializeComponent();
if (shop_stype == "3")
{
this.dgvActiveSku.Columns["colSetPrice"].HeaderText = "打折";
this.label2.Text = "折";
}
else if (shop_stype == "2")
{
this.dgvActiveSku.Columns["colSetPrice"].HeaderText = "直降";
this.label2.Text = "元";
}
else if (shop_stype == "1")
{
this.dgvActiveSku.Columns["colSetPrice"].HeaderText = "一口价";
this.label2.Text = "元";
}
this.txtSetPrice.Text = "";
this.txtStock.Text = "";
//设置限购数
for (int x = 1; x <= 20; x++)
{
cmbLimit.Items.Add(x);
if (x == goods.promotion_skus[0].user_limit.ParseToInt())
cmbLimit.SelectedIndex = x - 1;
}
foreach (var sku in goods.promotion_skus)
{
if (shop_stype == "3")
this.dgvActiveSku.Rows.Add(false, sku.id, sku.specification, sku.origin_price.ParseToDecimal() / 100, sku.shop_svalue.ParseToDecimal() / 10, sku.stock, sku.camp_stock_num, sku.camp_left_stock_num, sku.user_limit);
else
this.dgvActiveSku.Rows.Add(false, sku.id, sku.specification, sku.origin_price.ParseToDecimal() / 100, sku.shop_svalue.ParseToDecimal() / 100, sku.stock, sku.camp_stock_num, sku.camp_left_stock_num, sku.user_limit);
}
dgvActiveSku.Sort(dgvActiveSku.Columns["colSkuId"], System.ComponentModel.ListSortDirection.Descending);
skuList = goods.promotion_skus;
}
private void dgvActiveSku_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvActiveSku.Columns[e.ColumnIndex].HeaderText;
string columnName = dgvActiveSku.Columns[e.ColumnIndex].Name;
long SkuId = dgvActiveSku.Rows[e.RowIndex].Cells["colSkuId"].Value.ParseToLong();
var row = dgvActiveSku.Rows[e.RowIndex];
switch (columnName)
{
case "colSelect":
row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
if (dgvActiveSku.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool())
{
if (strList.Any(p => p == SkuId.ToString()))
strList.RemoveAll(p => p == SkuId.ToString());
strList.Add(SkuId.ToString());
}
else
strList.Remove(SkuId.ToString());
break;
case "colSetPrice":
getTextBox();
textBox.Visible = true;
textBox.Location = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Location;
textBox.Location.Offset(0, 1);
textBox.Width = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Width - 2;
textBox.Height = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Height - 2;
textBox.Text = row.Cells["colSetPrice"].Value.ToString();
textBox.Focus();
textBox.LostFocus += new EventHandler((obj, ex) => {
var setPriceRes = (obj as TextBox).Text.Trim();
if(setPriceRes != "")
{
var SetPrice = returnPrice(setPriceRes);
Promotion_Skus skuInfo = skuList.Where(x => x.id == SkuId.ToString()).FirstOrDefault();
if (skuInfo != null)
skuInfo.shop_svalue = SetPrice.ParseToInt();
row.Cells["colSetPrice"].Value = setPriceRes;
}
if (textBox != null)
{
dgvActiveSku.Controls.Remove(textBox);
textBox = null;
}
});
break;
case "colActiveStock":
getTextBox();
textBox.Visible = true;
textBox.Location = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Location;
textBox.Location.Offset(0, 1);
textBox.Width = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Width - 2;
textBox.Height = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Height - 2;
textBox.Text = row.Cells["colActiveStock"].Value.ToString();
textBox.Focus();
textBox.LostFocus += new EventHandler((obj, ex) => {
var Stock = (obj as TextBox).Text.Trim();
if (Stock != "")
{
Promotion_Skus skuInfo = skuList.Where(x => x.id == SkuId.ToString()).FirstOrDefault();
if (skuInfo != null)
skuInfo.camp_stock_num = Stock.ParseToInt();
row.Cells["colActiveStock"].Value = skuInfo.camp_stock_num;
}
if (textBox != null)
{
dgvActiveSku.Controls.Remove(textBox);
textBox = null;
}
});
break;
case "colLimited":
getComboBox();
comboBox.Visible = true;
comboBox.Location = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Location;
comboBox.Width = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Width - 2;
comboBox.Height = dgvActiveSku.GetCellDisplayRectangle(dgvActiveSku.CurrentCell.ColumnIndex, dgvActiveSku.CurrentCell.RowIndex, true).Height - 2;
for (int a = 0; a < comboBox.Items.Count; a++)
{
if (comboBox.Items[a].ToString() == row.Cells["colLimited"].Value.ToString())
{
comboBox.SelectedIndex = a;
break;
}
}
comboBox.ItemHeight = 20;
comboBox.Focus();
try
{
comboBox.LostFocus += new EventHandler((obj, ex) => {
var setLimit = (obj as ComboBox).Text;
Promotion_Skus skuInfo = skuList.Where(x => x.id == SkuId.ToString()).FirstOrDefault();
if (skuInfo != null)
skuInfo.user_limit = setLimit;
if (comboBox != null)
{
dgvActiveSku.Controls.Remove(comboBox);
comboBox = null;
}
row.Cells["colLimited"].Value = setLimit;
});
}
catch (Exception)
{
if (comboBox != null)
{
dgvActiveSku.Controls.Remove(comboBox);
comboBox = null;
}
Promotion_Skus skuInfo = skuList.Where(x => x.id == SkuId.ToString()).FirstOrDefault();
row.Cells["colLimited"].Value = skuInfo.user_limit;
}
break;
default:
if (textBox != null)
{
dgvActiveSku.Controls.Remove(textBox);
textBox = null;
}
if (comboBox != null)
{
dgvActiveSku.Controls.Remove(comboBox);
comboBox = null;
}
break;
}
}
private void btnFill_Click(object sender, System.EventArgs e)
{
var setPriceRes = txtSetPrice.Text.Trim();
var ActiveStock = txtStock.Text.Trim();
var LimitedNum = cmbLimit.Text;
foreach (DataGridViewRow row in dgvActiveSku.Rows)
{
var skuId = row.Cells["colSkuId"].Value.ToString();
Promotion_Skus skuInfo = skuList.Where(x => x.id == skuId).FirstOrDefault();
if (skuInfo != null)
{
if (setPriceRes != "")
{
row.Cells["colSetPrice"].Value = setPriceRes;
skuInfo.shop_svalue = returnPrice(setPriceRes).ParseToInt();
}
if (ActiveStock != "")
{
skuInfo.camp_stock_num = skuInfo.camp_stock_num + ActiveStock.ParseToInt();
row.Cells["colActiveStock"].Value = skuInfo.camp_stock_num;
}
row.Cells["colLimited"].Value = LimitedNum;
skuInfo.user_limit = LimitedNum;
}
}
}
public string returnPrice(string price)
{
var SetPrice = "";
if (label2.Text == "折")
SetPrice = (price.ParseToDouble() * 10).ToString(); //打折精确到小数点后一位(0-10之间)
else if (label2.Text == "元")
SetPrice = (price.ParseToDouble() * 100).ToString(); //直降、一口价精确到小数点后两位(0-原价之间)
return SetPrice;
}
private void btnDelete_Click(object sender, System.EventArgs e)
{
if (strList.Count == 0)
{
BaseMsgForm.ShowInfo("请选择待删除的单品!");
return;
}
if (BaseMsgForm.ShowConfirm("确定要删除吗?").DialogResult == DialogResult.OK)
{
for (int i = 0; i < dgvActiveSku.Rows.Count; i++)
{
DataGridViewRow row = dgvActiveSku.Rows[i];
long SkuId = row.Cells["colSkuId"].Value.ParseToLong();
if (strList.Any(p => p == SkuId.ToString()))
{
dgvActiveSku.Rows.Remove(row);
strList.Remove(SkuId.ToString());
skuList.Remove(skuList.Where(x => x.id == SkuId.ToString()).FirstOrDefault());
i--;
}
}
}
}
public void getTextBox()
{
textBox = new TextBox();
textBox.Visible = false;
dgvActiveSku.Controls.Add(textBox);
}
public void getComboBox()
{
comboBox = new ComboBox();
for (int i = 1; i <= 20; i++)
{
comboBox.Items.Add(i);
}
comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox.Visible = false;
dgvActiveSku.Controls.Add(comboBox);
}
private void btnSave_Click(object sender, System.EventArgs e)
{
this.DialogResult = DialogResult.OK;
}
}
public class ActiveInfoEdit
{
public string campaign_id { get; set; }
public int sub_stype { get; set; }
/// <summary>
/// 活动名称
/// </summary>
public string title { get; set; }
public string pre_begin_time { get; set; }
public string begin_time { get; set; }
public string end_time { get; set; }
public string order_expire_time { get; set; }
/// <summary>
/// 优惠方式
/// </summary>
public string shop_stype { get; set; }
public string time_set_type { get; set; }
public int status { get; set; }
public string stock_type { get; set; }
public string sold_out_type { get; set; }
public List<Promotion_Goods> promotion_goods { get; set; }
}
public class Promotion_Goods
{
public string product_id { get; set; }
public string title { get; set; }
public string cover { get; set; }
public int config_scope { get; set; }
public List<Promotion_Skus> promotion_skus { get; set; }
}
public class Promotion_Skus
{
public string id { get; set; }
public int camp_stock_num { get; set; }
public int camp_left_stock_num { get; set; }
public int price { get; set; }
public string user_limit { get; set; }
public int origin_price { get; set; }
public int stock { get; set; }
public string specification { get; set; }
public int shop_svalue { get; set; }
public int redline_price { get; set; }
}
}
@@ -1,123 +0,0 @@
<?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="colLeftStock.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -1,437 +0,0 @@
namespace TemuKJD.KJDForms.SalesCenterForms
{
partial class FullMinusActiveForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.cmbActState = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.comboItem1 = new DevComponents.Editors.ComboItem();
this.comboItem2 = new DevComponents.Editors.ComboItem();
this.comboItem3 = new DevComponents.Editors.ComboItem();
this.comboItem4 = new DevComponents.Editors.ComboItem();
this.comboItem5 = new DevComponents.Editors.ComboItem();
this.btnFailed = new DevComponents.DotNetBar.PanelEx();
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
this.label2 = new System.Windows.Forms.Label();
this.panel4 = new System.Windows.Forms.Panel();
this.txtActName = new System.Windows.Forms.TextBox();
this.lblActivity = new System.Windows.Forms.Label();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvActive = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colActiveId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActiveName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPreStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPrefereType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActiveState = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label1 = new System.Windows.Forms.Label();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.panel1.SuspendLayout();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvActive)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.cmbActState);
this.panel1.Location = new System.Drawing.Point(368, 7);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(76, 24);
this.panel1.TabIndex = 522;
//
// cmbActState
//
this.cmbActState.DisplayMember = "Text";
this.cmbActState.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cmbActState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbActState.FormattingEnabled = true;
this.cmbActState.ItemHeight = 18;
this.cmbActState.Items.AddRange(new object[] {
this.comboItem1,
this.comboItem2,
this.comboItem3,
this.comboItem4,
this.comboItem5});
this.cmbActState.Location = new System.Drawing.Point(0, 0);
this.cmbActState.Name = "cmbActState";
this.cmbActState.Size = new System.Drawing.Size(75, 24);
this.cmbActState.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cmbActState.TabIndex = 520;
//
// comboItem1
//
this.comboItem1.Text = "全部";
//
// comboItem2
//
this.comboItem2.Text = "未开始";
this.comboItem2.Value = "1";
//
// comboItem3
//
this.comboItem3.Text = "进行中";
this.comboItem3.Value = "2";
//
// comboItem4
//
this.comboItem4.Text = "已结束";
this.comboItem4.Value = "3";
//
// comboItem5
//
this.comboItem5.Text = "已失效";
this.comboItem5.Value = "4";
//
// btnFailed
//
this.btnFailed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnFailed.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnFailed.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFailed.DisabledBackColor = System.Drawing.Color.Empty;
this.btnFailed.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFailed.Location = new System.Drawing.Point(692, 9);
this.btnFailed.Name = "btnFailed";
this.btnFailed.Size = new System.Drawing.Size(75, 21);
this.btnFailed.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnFailed.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnFailed.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnFailed.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnFailed.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnFailed.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnFailed.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(8)))), ((int)(((byte)(55)))), ((int)(((byte)(114)))));
this.btnFailed.Style.GradientAngle = 90;
this.btnFailed.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnFailed.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnFailed.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnFailed.TabIndex = 546;
this.btnFailed.Text = "失效";
this.btnFailed.Click += new System.EventHandler(this.btnFailed_Click);
//
// btnSearch
//
this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearch.Location = new System.Drawing.Point(596, 9);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(80, 21);
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSearch.Style.GradientAngle = 90;
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearch.TabIndex = 536;
this.btnSearch.Text = "查询/刷新";
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(314, 11);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 17);
this.label2.TabIndex = 521;
this.label2.Text = "活动状态";
//
// panel4
//
this.panel4.Controls.Add(this.txtActName);
this.panel4.Location = new System.Drawing.Point(195, 8);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(96, 23);
this.panel4.TabIndex = 516;
//
// txtActName
//
this.txtActName.Location = new System.Drawing.Point(0, 0);
this.txtActName.Name = "txtActName";
this.txtActName.Size = new System.Drawing.Size(95, 23);
this.txtActName.TabIndex = 481;
//
// lblActivity
//
this.lblActivity.AutoSize = true;
this.lblActivity.Location = new System.Drawing.Point(141, 11);
this.lblActivity.Name = "lblActivity";
this.lblActivity.Size = new System.Drawing.Size(56, 17);
this.lblActivity.TabIndex = 515;
this.lblActivity.Text = "活动名称";
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.btnFailed);
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
this.splitContainer1.Panel1.Controls.Add(this.panel1);
this.splitContainer1.Panel1.Controls.Add(this.label2);
this.splitContainer1.Panel1.Controls.Add(this.panel4);
this.splitContainer1.Panel1.Controls.Add(this.lblActivity);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(1034, 459);
this.splitContainer1.SplitterDistance = 38;
this.splitContainer1.TabIndex = 12;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvActive);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.label1);
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
this.splitContainer2.Size = new System.Drawing.Size(1034, 417);
this.splitContainer2.SplitterDistance = 386;
this.splitContainer2.TabIndex = 10;
//
// dgvActive
//
this.dgvActive.AllowUserToAddRows = false;
this.dgvActive.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvActive.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvActive.BackgroundColor = System.Drawing.Color.White;
this.dgvActive.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvActive.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvActive.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvActive.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colActiveId,
this.colActiveName,
this.colPreStartTime,
this.colPrefereType,
this.colStartTime,
this.colEndTime,
this.colActiveState,
this.colMessage});
this.dgvActive.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvActive.Location = new System.Drawing.Point(4, 0);
this.dgvActive.Name = "dgvActive";
this.dgvActive.ReadOnly = true;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvActive.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvActive.RowTemplate.Height = 23;
this.dgvActive.Size = new System.Drawing.Size(1026, 386);
this.dgvActive.TabIndex = 6;
this.dgvActive.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvActive_CellContentClick);
//
// colSelect
//
this.colSelect.FillWeight = 50F;
this.colSelect.HeaderText = "选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 30;
//
// colActiveId
//
this.colActiveId.HeaderText = "活动Id";
this.colActiveId.Name = "colActiveId";
this.colActiveId.ReadOnly = true;
this.colActiveId.Visible = false;
//
// colActiveName
//
this.colActiveName.HeaderText = "活动名称";
this.colActiveName.Name = "colActiveName";
this.colActiveName.ReadOnly = true;
this.colActiveName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colActiveName.Width = 75;
//
// colPreStartTime
//
this.colPreStartTime.HeaderText = "优惠信息";
this.colPreStartTime.Name = "colPreStartTime";
this.colPreStartTime.ReadOnly = true;
this.colPreStartTime.Width = 250;
//
// colPrefereType
//
this.colPrefereType.HeaderText = "活动商品";
this.colPrefereType.Name = "colPrefereType";
this.colPrefereType.ReadOnly = true;
this.colPrefereType.Width = 240;
//
// colStartTime
//
this.colStartTime.HeaderText = "活动开始时间";
this.colStartTime.Name = "colStartTime";
this.colStartTime.ReadOnly = true;
this.colStartTime.Width = 110;
//
// colEndTime
//
this.colEndTime.HeaderText = "活动结束时间";
this.colEndTime.Name = "colEndTime";
this.colEndTime.ReadOnly = true;
this.colEndTime.Width = 110;
//
// colActiveState
//
this.colActiveState.HeaderText = "活动状态";
this.colActiveState.Name = "colActiveState";
this.colActiveState.ReadOnly = true;
this.colActiveState.Width = 65;
//
// colMessage
//
this.colMessage.HeaderText = "消息提示";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 240;
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.Color.MidnightBlue;
this.label1.Location = new System.Drawing.Point(651, 5);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(43, 17);
this.label1.TabIndex = 5;
this.label1.Text = "label1";
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1034, 27);
this.statusBar.TabIndex = 4;
//
// FullMinusActiveForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1034, 459);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "FullMinusActiveForm";
this.Text = "FullMinusActiveForm";
this.Load += new System.EventHandler(this.FullMinusActiveForm_Load);
this.panel1.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
this.splitContainer2.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvActive)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private DevComponents.DotNetBar.Controls.ComboBoxEx cmbActState;
private DevComponents.Editors.ComboItem comboItem1;
private DevComponents.Editors.ComboItem comboItem2;
private DevComponents.Editors.ComboItem comboItem3;
private DevComponents.Editors.ComboItem comboItem4;
private DevComponents.Editors.ComboItem comboItem5;
private DevComponents.DotNetBar.PanelEx btnFailed;
private DevComponents.DotNetBar.PanelEx btnSearch;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.TextBox txtActName;
private System.Windows.Forms.Label lblActivity;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.SplitContainer splitContainer2;
private UserComponent.DataGridViewEx dgvActive;
private System.Windows.Forms.Label label1;
private UserControls.StatusBarUserControl statusBar;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colActiveId;
private System.Windows.Forms.DataGridViewTextBoxColumn colActiveName;
private System.Windows.Forms.DataGridViewTextBoxColumn colPreStartTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colPrefereType;
private System.Windows.Forms.DataGridViewTextBoxColumn colStartTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colEndTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colActiveState;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
}
}
@@ -1,353 +0,0 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class FullMinusActiveForm : BaseForm
{
private ShopLoginInfo shop = null;
public List<long> lstActiveId = new List<long>();
public FullMinusForm fullMinusForm = null;
private string _signature = "";
private string _underline = "";
public bool isGetActiveSuccess = false;
public List<FullMinusActiveInfo> activeList = new List<FullMinusActiveInfo>();
public FullMinusActiveForm(ShopLoginInfo _shop = null)
{
InitializeComponent();
shop = _shop;
}
private void FullMinusActiveForm_Load(object sender, EventArgs e)
{
cmbActState.SelectedIndex = 0;
txtActName.Focus();
}
private void dgvActive_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string columnName = dgvActive.Columns[e.ColumnIndex].Name;
long ActiveId = dgvActive.Rows[e.RowIndex].Cells["colActiveId"].Value.ParseToLong();
var row = dgvActive.Rows[e.RowIndex];
switch (columnName)
{
case "colSelect":
row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
if (dgvActive.Rows[e.RowIndex].Cells["colSelect"].Value.ParseToBool())
{
if (lstActiveId.Any(p => p == ActiveId))
lstActiveId.RemoveAll(p => p == ActiveId);
lstActiveId.Add(ActiveId);
}
else
lstActiveId.Remove(ActiveId);
break;
}
}
public void GetActive()
{
if (shop == null)
return;
ShowVisitorMessage("");
Task.Run(() =>
{
if (shop.LoginStatus == "登录成功")
fullMinusForm.GetActiveByCef(this.shop);
var rowsTemp = dgvActive.Rows.Cast<DataGridViewRow>().ToList();
rowsTemp.Reverse();
});
}
public void GetActiveSim(string listUrl, string referrerUrl, Dictionary<string, string> headers, string firstPageData = "")
{
ShowVisitorMessage("");
int total = -1;
int number = 0;
string result = "";
if (!string.IsNullOrEmpty(firstPageData))
result = firstPageData;
//获取所有活动
if (string.IsNullOrEmpty(_underline))
_underline = BaseRegex.GetMatchRegexString(ref listUrl, "&_=([\\s\\S]+?)&");
if (string.IsNullOrEmpty(_underline))
_underline = BaseRegex.GetMatchRegexString(ref listUrl, "&_=([\\s\\S]+?)");
if (string.IsNullOrEmpty(_underline))
_underline = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now).ToString();
if (string.IsNullOrEmpty(_signature))
_signature = BaseRegex.GetMatchRegexString(ref listUrl, "&_signature=([\\s\\S]+?)&");
if (string.IsNullOrEmpty(_signature))
{
var listUrl2 = listUrl + "&";
_signature = BaseRegex.GetMatchRegexString(ref listUrl2, "&_signature=([\\s\\S]+?)&");
}
listUrl = "https://fxg.jinritemai.com/marketing/activity/v1/query_full_discount_activity?activity_status=0&page=1&pageSize=20&_bid=ecom_market_shop&appid=1&_=" + _underline + "&_signature=" + _signature;
for (int i = 1; i < 9999; i++)
{
number += 20;
for (int j = 0; j < 3 && !result.Contains("\"st\":0"); j++)
{
CommonSimRequest simRequest = new CommonSimRequest();
simRequest.Accept = "application/json, text/plain, */*";
if (headers.ContainsKey("Accept"))
simRequest.Accept = headers["Accept"];
if (headers.ContainsKey("UserAgent"))
simRequest.UserAgent = headers["UserAgent"];
var cookie = shop.Cookies;
var rUrl = listUrl.Replace("page=1", "page=" + i);
result = simRequest.Request_Get(rUrl, referrerUrl, new Dictionary<string, string>(), cookie);
if (j > 0)
{
Thread.Sleep(Randomx.GetId(2000, 3000));
}
}
if (result.Contains(",\"msg\":\"成功\",\"st\":0") && !fullMinusForm.cancellationTokenSource.IsCancellationRequested)
{
this.isGetActiveSuccess = true;
if (total == -1)
{
total = BaseRegex.GetIntJson(ref result, "total");
}
var jObj = JObject.Parse(result);
var aList = JsonHelper.DeserializeJsonToList<FullMinusActiveInfo>(jObj["data"]["data"]?.ToString());
foreach (var info in aList)
{
if (this.activeList.Any(p => p.activity_id == info.activity_id))
this.activeList.RemoveAll(p => p.activity_id == info.activity_id);
this.activeList.Add(info);
}
Thread.Sleep(Randomx.GetId(1500, 2000));
}
else
{
isGetActiveSuccess = false;
break;
}
result = "";
if (number >= total)
break;
}
Invoke(new Action(() =>
{
if (fullMinusForm.cancellationTokenSource.IsCancellationRequested)
{
this.statusBar.lblTaskStatus.Text = "获取中断";
}
else if (!isGetActiveSuccess)
{
this.statusBar.lblTaskStatus.Text = "获取活动信息失败";
}
else
{
this.statusBar.lblTaskStatus.Text = "获取完成";
}
this.statusBar.pgbTaskProgress.Value = 0;
this.statusBar.pgbTaskProgress.Text = 0 + "/" + 0;
this.statusBar.pgbTaskProgress.Maximum = 0;
}));
}
public void ShowVisitorMessage(string msg)
{
Invoke(new Action(() => { this.label1.Text = msg; }));
}
private void btnSearch_Click(object sender, EventArgs e)
{
ShowVisitorMessage("");
ShowVisitorMessage("查询开始");
if (this.activeList.Count == 0)
{
if (fullMinusForm.cancellationTokenSource.IsCancellationRequested)
fullMinusForm.cancellationTokenSource = new CancellationTokenSource();
GetActiveSim("https://fxg.jinritemai.com/marketing/activity/v1/query_full_discount_activity?page=1&pageSize=20&activity_status=0&_bid=ecom_market_shop&appid=1&_=" + _underline + "&_signature=" + _signature, "https://fxg.jinritemai.com/market/center/tools/moneyoff", new Dictionary<string, string>());
}
var name = txtActName.Text.Trim();
var stateText = cmbActState.SelectedItem.ToString();
var stateVal = stateText == "全部" ? "0" : (stateText == "进行中" ? "2" : (stateText == "已结束" ? "3" : (stateText == "未开始" ? "1" : "4")));
if ((name == "" && stateVal == "0" && this.dgvActive.Rows.Count == this.activeList.Count) || this.activeList.Count == 0)
{
ShowVisitorMessage("查询完成!");
return;
}
Task.Run(() => {
List<FullMinusActiveInfo> infos = new List<FullMinusActiveInfo>();
infos = this.activeList;
if (!string.IsNullOrEmpty(name))
infos = infos.Where(x => x.activity_name == name).ToList();
if (stateVal != "0")
infos = infos.Where(x => x.activity_status == stateVal.ParseToInt()).ToList();
int totals = infos.Count;
Invoke(new Action(() => {
this.dgvActive.Rows.Clear();
for (int j = 0; j < totals; j++)
{
var info = infos[j];
var status = info.activity_status == 3 ? "已结束" : (info.activity_status == 2 ? "进行中" : (info.activity_status == 1 ? "未开始" : "已失效"));
string activeOff = string.Empty;
if (info.discounts != null)
{
if (info.activity_type == 1)
{
foreach (var dis in info.discounts)
{
activeOff += "满" + dis.condition_value.ParseToDecimal() / 100 + "元减" + dis.discount.ParseToDecimal() / 100 + "元;";
}
}
else if (info.discount_type == 1)
{
foreach (var dis in info.discounts)
{
activeOff += "满" + dis.condition_value + "件打" + dis.discount.ParseToDecimal() / 10 + "折;";
}
}
else
{
foreach (var dis in info.discounts)
{
activeOff += "满" + dis.condition_value + "件减" + dis.discount.ParseToDecimal() / 100 + "元;";
}
}
activeOff = activeOff.TrimEnd(';');
}
string activePro = string.Empty;
if (info.activity_products != null)
{
foreach (var pro in info.activity_products)
{
activePro += pro.name + ";";
}
activePro = activePro.TrimEnd(';');
}
if (lstActiveId.Contains(info.activity_id.ParseToLong()))
this.dgvActive.Rows.Add(true, info.activity_id, info.activity_name, activeOff, activePro, BaseClass.StampToDateTime(info.start_time.ParseToInt()), BaseClass.StampToDateTime(info.end_time.ParseToInt()), status);
else
this.dgvActive.Rows.Add(false, info.activity_id, info.activity_name, activeOff, activePro, BaseClass.StampToDateTime(info.start_time.ParseToInt()), BaseClass.StampToDateTime(info.end_time.ParseToInt()), status);
}
}));
ShowVisitorMessage("查询完成!");
});
}
private void btnFailed_Click(object sender, EventArgs e)
{
if (dgvActive.Rows.Count == 0 || lstActiveId.Count == 0)
{
BaseMsgForm.ShowInfo("请选择待失效的活动!");
return;
}
if (BaseMsgForm.ShowConfirm("确定将该活动设置为失效?").DialogResult == DialogResult.OK)
{
var failUrl = "https://fxg.jinritemai.com/marketing/activity/v1/disable_product_activity?activity_id={0}&_bid=ecom_market_shop&appid=1&_=" + _underline + "&_signature=" + _signature;
var cookies = shop.Cookies;
Task.Run(() =>
{
for (int i = 0; i < dgvActive.Rows.Count; i++)
{
DataGridViewRow row = dgvActive.Rows[i];
long ActiveId = row.Cells["colActiveId"].Value.ParseToLong();
if (lstActiveId.Any(p => p == ActiveId))
{
string name = row.Cells["colActiveName"].Value.ToString();
var colActiveState = row.Cells["colActiveState"].Value.ToString();
if (colActiveState != "进行中" && colActiveState != "未开始")
{
Invoke(new Action(() => { row.Cells["colMessage"].Value = name + "活动" + colActiveState + ",无需设置失效!"; }));
continue;
}
CommonSimRequest request = new CommonSimRequest();
request.ContentType = "application/json";
Dictionary<string, string> dicts = new Dictionary<string, string>();
var reqUrl = string.Format(failUrl, ActiveId);
string result = request.Request_Get(reqUrl, "https://fxg.jinritemai.com/market/center/tools/moneyoff", dicts, cookies);
if (result.Contains(",\"msg\":\"成功\",\"st\":0"))
{
Invoke(new Action(() =>
{
var activeInfo = activeList.Where(x => x.activity_id == ActiveId.ToString()).FirstOrDefault();
if (activeInfo != null)
{
activeInfo.activity_status = 4;
row.Cells["colActiveState"].Value = "已失效";
row.Cells["colMessage"].Value = "设置失效已完成!";
}
}));
Thread.Sleep(1000);
}
else
{
Invoke(new Action(() => { row.Cells["colMessage"].Value = "设置失效失败 :" + BaseRegex.GetStringJson(ref result, "msg"); }));
}
}
}
});
}
}
public void ClearData()
{
this.lstActiveId.Clear();
this.activeList.Clear();
this.dgvActive.Rows.Clear();
}
}
public class FullMinusActiveInfo
{
public string activity_id { get; set; }
public int activity_type { get; set; }
public string activity_name { get; set; }
public long start_time { get; set; }
public long end_time { get; set; }
public int discount_type { get; set; }
public int activity_status { get; set; }
public string enable_use_coupon { get; set; }
public List<ActiveDiscounts> discounts { get; set; }
public List<ActiveProducts> activity_products { get; set; }
}
public class ActiveDiscounts
{
public long activity_id { get; set; }
public long discount_id { get; set; }
public int condition_type { get; set; }
public string condition_value { get; set; }
public int discount_type { get; set; }
public string discount { get; set; }
public int discount_level { get; set; }
}
public class ActiveProducts
{
public string activity_id { get; set; }
public long shop_id { get; set; }
public string product_id { get; set; }
public int status { get; set; }
public string name { get; set; }
public string img { get; set; }
public long stock_num { get; set; }
public long max_price { get; set; }
public long min_price { get; set; }
}
}
@@ -1,120 +0,0 @@
<?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>
File diff suppressed because it is too large. Load diff
Loaded 100 of 166 files, more files were not shown because too many files have changed in this diff. Show more