temu客户端程序

This commit is contained in:
wule committed 2025-06-29 19:38:31 +08:00
commit 4aaf264e89
694 files changed
+263780

No files matched your search

+325
View File
@@ -0,0 +1,325 @@
using AllBase;
using AllBase.Model.Param.FissionManage;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
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
@@ -0,0 +1,225 @@
using System.Windows.Forms;
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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.Font;
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;
}
}
+298
View File
@@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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
zMzMzMzMzMzMz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
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>
+236
View File
@@ -0,0 +1,236 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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::LittleRabbit.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;
}
}
@@ -0,0 +1,442 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Param.FissionManage;
using AllBase.Model.Param.ProductManage;
using AllBase.Model.Result;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class CleanDataForm : Form
{
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;
}
}
}
}
@@ -0,0 +1,218 @@
<?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.Bit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PpcgyRQUJ
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>
+602
View File
@@ -0,0 +1,602 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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 LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnRefresh = new LittleRabbit.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 LittleRabbit.UserControls.ButtonEx();
this.dgvShop = new LittleRabbit.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 LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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
@@ -0,0 +1,132 @@
<?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
@@ -0,0 +1,147 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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.Font;
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;
}
}
+140
View File
@@ -0,0 +1,140 @@
using AllBase;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
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)
{
}
}
}
@@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
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
zMzMzMzMzMzMzMzMzMe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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,366 @@
using AllBase;
using AllBase.Model.Param.FissionManage;
using LittleRabbit.LittleRabbitForms.BaseForms;
using LittleRabbit.LittleRabbitForms.ToolForms;
using NaiBa.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Work;
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
class FissionBrowserObject
{
public delegate void InformationReceivedHandler(string information);
public event InformationReceivedHandler InformationReceived;
/// <summary>
/// 编辑图片后更新到服务器
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public string updatePic(string str)
{
string requestData = "data=" + GetHtml.UrlEncodeUtf8(str);
string url = BaseClass.FissionPicUrl;
string result = GetHtml.PostUtf8(url, requestData);
return result.Replace("https:", "http:");
}
string addResult = "";
public string addLocalPic()
{
// 单线程单元(STA)模式运行文件对话框,否则会报错。
System.Threading.Thread InvokeThread = new System.Threading.Thread(new System.Threading.ThreadStart(addLocalPicInvokeMethod));
InvokeThread.SetApartmentState(System.Threading.ApartmentState.STA);
InvokeThread.Start();
InvokeThread.Join();
if (addResult.Equals("图片过大"))
{
BaseMsgForm.ShowInfo("本地图片大小不能超过500KB", "提示");
return "";
}
return addResult;
}
public string addLocalPic(bool isMultiselect, int maxSize = 1024)
{
addLocalPicInvokeMethod(isMultiselect, maxSize);
if (addResult.Equals("图片过大"))
{
BaseMsgForm.ShowInfo(("本地图片大小不能超过" + maxSize + "KB").Replace("1024KB", "1MB"), "提示");
return "";
}
return addResult;
}
private void addLocalPicInvokeMethod()
{
addLocalPicInvokeMethod(true);
}
private string addLocalPicInvokeMethod(bool isMultiselect, int maxSize = 500)
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "图片文件|*.png;*.jpg;*.jpeg;*.gif";
ofd.ValidateNames = true;
ofd.CheckPathExists = true;
ofd.CheckFileExists = true;
ofd.Multiselect = isMultiselect;
if (ofd.ShowDialog() == DialogResult.OK)
{
var result = "";
foreach (var fName in ofd.FileNames)
{
FileInfo file = new FileInfo(fName);
var size = file.Length;
// 图片大小限制500k;
if (size <= 1024 * maxSize)
{
string strFileName = fName;
var base64 = "data:image/" + System.IO.Path.GetExtension(fName).Replace(".", "").Replace("jpeg", "jpg") +
";base64," + Convert.ToBase64String(System.IO.File.ReadAllBytes(strFileName));
result += updatePic(base64) + "|";
}
else
{
result += "图片过大|";
}
}
addResult = result.TrimEnd('|');
}
return addResult;
}
/// <summary>
/// 前端处理图片如果有跨域问题,将图片地址传到cs代码解决
/// </summary>
/// <param name="picUrl">跨域的图片地址</param>
/// <returns>图片的base64数据</returns>
public string getHttpPicBase64(string picUrl)
{
System.Drawing.Image image = System.Drawing.Image.FromStream(
System.Net.WebRequest.Create(picUrl).GetResponse().GetResponseStream());
System.IO.MemoryStream ms = new System.IO.MemoryStream();
image.Save(ms, image.RawFormat);
byte[] byteArray = ms.ToArray();
var str64 = "data:image/" + System.IO.Path.GetExtension(picUrl).Replace(".", "").Replace("jpeg", "jpg") +
";base64," + Convert.ToBase64String(byteArray);
ms.Close();
image.Dispose();
return str64;
}
/// <summary>
/// 使用美图秀秀软件修图
/// </summary>
/// <param name="src">图片网址</param>
/// <param name="bOpenMeitu">下载图片后是否打开美图</param>
public string OpenMeitu(string src, bool bOpenMeitu = true)
{
string imgName = System.IO.Path.GetFileNameWithoutExtension(src) +
System.IO.Path.GetExtension(src).Replace(".jpeg", ".jpg");
string savePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
string saveFilePath = System.IO.Path.Combine(savePath, imgName);
System.Net.WebRequest imgRequst = System.Net.WebRequest.Create(src);
System.Drawing.Image downImage = System.Drawing.Image.FromStream(imgRequst.GetResponse().GetResponseStream());
downImage.Save(saveFilePath);
downImage.Dispose();
if (!bOpenMeitu) return "success";
if (System.IO.File.Exists(saveFilePath))
{
if (!System.IO.File.Exists(Fission.GetInstance().MeituPath))
{
//MessageBox.Show("请指定美图秀秀启动文件。");
if (MeituMessageDialog.ShowMessageDialog("请指定美图秀秀启动文件。\r\n如未安装美图秀秀,请下载。", "下载美图秀秀,指定启动文件") == "指定启动文件")
{
// 单线程单元(STA)模式运行文件对话框,否则会报错。
System.Threading.Thread InvokeThread = new System.Threading.Thread(new System.Threading.ThreadStart(SetMeituPath));
InvokeThread.SetApartmentState(System.Threading.ApartmentState.STA);
InvokeThread.Start();
InvokeThread.Join();
}
}
if (System.IO.File.Exists(Fission.GetInstance().MeituPath))
{
try
{
int i = 0;
while (i < 2500)
{
System.Diagnostics.Process[] processList = System.Diagnostics.Process.GetProcesses();
if (processList.Any(p => p.ProcessName.ToLower() == "xiuxiu"))
{
System.Threading.Thread.Sleep(250);
i += 250;
continue;
}
break;
}
System.Diagnostics.Process.Start(Fission.GetInstance().MeituPath, saveFilePath);
return "success";
}
catch { }
}
}
return "failed";
}
private void SetMeituPath()
{
Fission.GetInstance().setMeituPath();
}
/// <summary>
/// 将美图修好的本地文件回传服务器
/// </summary>
public string PullBackPic(string src)
{
string imgName = Path.GetFileName(src);
string savePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
string filePath = Path.Combine(savePath, imgName);
filePath = GetMeituHandledFilePath(filePath);
if (!File.Exists(filePath))
{
BaseMsgForm.ShowInfo("未找到修图文件,请确认已使用[美图秀秀]\r\n进行修图且保存路径为[覆盖原图]!", "提示");
return "";
}
var fileByte = System.IO.File.ReadAllBytes(filePath);
//using (FileStream fs = new FileStream(filePath,FileMode.Open,FileAccess.Read))
//{
// System.Drawing.Image img = Image.FromStream(fs);
// var width = img.Width;
// img.Dispose();
// if (width < 480)
// {
// BaseMsgForm.ShowError("详情图宽度不得小于480", "错误");
// return "";
// }
//}
if (fileByte.Length > 1024 * 500)
{
BaseMsgForm.ShowError("本地图片大小不能超过500KB", "错误");
return "";
}
var base64 = "data:image/" + System.IO.Path.GetExtension(filePath).Replace(".", "").Replace("jpeg", "jpg") +
";base64," + Convert.ToBase64String(fileByte);
var uploadResult = updatePic(base64);
return uploadResult;
}
void SendCmd(string information)
{
if (InformationReceived != null)
InformationReceived(information);
}
/// <summary>
/// 显示大图
/// </summary>
/// <param name="imgSrc"></param>
/// <returns></returns>
public string ShowBigImg(string imgSrc)
{
var f = Fission.GetInstance();
if (f != null && !string.IsNullOrEmpty(imgSrc))
{
string[] str = imgSrc.Split('|');
imgSrc = str[0];
string imgId = "";
if (str.Length > 1)
imgId = str[1];
return f.ShowBigImg(imgSrc, imgId);
}
return "error";
}
/// <summary>
/// 编辑图片后加载
/// </summary>
/// <param name="id"></param>
/// <param name="src"></param>
/// <param name="text"></param>
/// <returns></returns>
public string OnloadImg(string id, string src)
{
//src = Fission.RemovePrefix(src);
//if (src.Contains("deifei.com"))
//{
// var jdImg = Fission.jdTransparentImgList.Find(x => x.id == id);
// if (jdImg != null)
// {
// jdImg.OriginalImgUrl = src;
// return JsonHelper.SerializeObject(new { code = 1, src = "http://" + jdImg.OriginalImgUrl, msg = "原" });
// }
//}
return JsonHelper.SerializeObject(new { code = 0, src = src, msg = "" });
}
/// <summary>
/// 获取美图秀秀处理过的图片路径
/// </summary>
/// <param name="filePath">初始图片路径</param>
/// <returns>处理后的图片路径</returns>
private string GetMeituHandledFilePath(string filePath)
{
string filePathWithoutExt = filePath.Substring(0, filePath.LastIndexOf('.'));
//jpg png bmp为美图秀秀指定的三种图片保存格式
if (File.Exists(filePathWithoutExt + ".jpg"))
{
return filePathWithoutExt + ".jpg";
}
if (File.Exists(filePathWithoutExt + ".png"))
{
return filePathWithoutExt + ".png";
}
if (File.Exists(filePathWithoutExt + ".bmp"))
{
return filePathWithoutExt + ".bmp";
}
return filePath;
}
/// <summary>
/// 裂变页面 js回调添加入库数据
/// </summary>
/// <param name="jsonStr"></param>
/// <returns></returns>
public string updateFessionDate(string jsonStr)
{
try
{
FissionDataModel fessionDataModel = Newtonsoft.Json.JsonConvert.DeserializeObject<FissionDataModel>(jsonStr);
fessionDataModel.prop_pic?.Clear();
var props = JsonHelper.DeserializeJsonToObject<List<PropBase>>(fessionDataModel.props);
foreach (var prop in props)
{
foreach (var value in prop.Values)
{
if (!string.IsNullOrEmpty(value.image))
{
var strImg = value.image;
if (!strImg.StartsWith("http"))
strImg = "http:" + strImg;
fessionDataModel.prop_pic.Add(strImg);
}
}
}
jsonStr = JsonHelper.SerializeObject(fessionDataModel);
// 调用php后台
string requestData = UserLogin.GetSignaturex() + "&act=add&text=" + GetHtml.UrlEncodeUtf8(jsonStr);
string url = BaseClass.BuildFissionObjString("fession_api");
string result = GetHtml.PostUtf8(url, requestData);
if (!result.Contains("\"code\":0"))
{
}
return result;
}
catch (Exception ex)
{
return "{\"code\":1}";
}
}
public string GetFissionPicCountPreLine()
{
var count = ""; // NaiBa.Util.Helper.ConfigHelper.LoadConfig<string>("fission_pic_count_pre_line");
try { count = NaiBa.Util.Helper.FileHelper.ReadAllText("data\\config\\fission_pic_count_pre_line")?.Trim('\"'); } catch { }
if (string.IsNullOrEmpty(count))
return "3";
else
return count;
}
public string SaveFissionPicCountPreLine(string count)
{
try
{
NaiBa.Util.Helper.ConfigHelper.SaveConfig<string>("fission_pic_count_pre_line", count);
return "success";
}
catch
{
}
return "failed";
}
}
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,183 @@
<?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="ColId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColOriginalTitle.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="SaleAmount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColCategory.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColFullCategory.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColCategory1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColCategory2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColCategory3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColTitleNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColUseCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColDel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColReEdit.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="ColSource.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColSourceFake.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColRkTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColUpdateTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColNeedUpdate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
@@ -0,0 +1,199 @@
using CefSharp;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class FissionShowBigImgForm : LRBaseForm
{
public string imgUrl = "";
public string imgId = "";
public FissionShowBigImgForm(string ImgUrl = "", string ImgId = "")
{
this.DoubleBuffered = true;//设置本窗体
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景.
SetStyle(ControlStyles.DoubleBuffer, true); // 双缓冲
SetStyle(ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
UpdateStyles();
InitializeComponent();
imgUrl = ImgUrl;
imgId = ImgId;
this.ShowMaximizeBox = true;
}
protected override void WndProc(ref Message m)
{
if (m.Msg == 0x0014) // 禁掉清除背景消息
return;
const int WM_HOTKEY = 0x0312;
//按快捷键
switch (m.Msg)
{
case WM_HOTKEY:
switch (m.WParam.ToInt32())
{
case 100: //按下的是100号快捷键
btnShowPrev_Click(null, null); //此处填写快捷键响应代码
break;
case 101: //按下的是101号快捷键
btnShowNext_Click(null, null); //此处填写快捷键响应代码
break;
case 102: //按下的是102号快捷键
this.Close(); //此处填写快捷键响应代码
break;
}
break;
}
base.WndProc(ref m);
}
private void ShowBigImgForm_Load(object sender, EventArgs e)
{
ShowImg();
}
public void ShowImg()
{
if (string.IsNullOrEmpty(imgId))
{
this.btnShowPrev.Visible = false;
this.btnShowNext.Visible = false;
}
if (!string.IsNullOrEmpty(imgUrl))
{
try
{
Task.Run(() =>
{
System.Threading.Thread.Sleep(10);
AllBase.WebClientx web = new AllBase.WebClientx();
var imgArr = web.DownloadData(imgUrl);
MemoryStream ms = new MemoryStream(imgArr);
Invoke(new Action(() =>
{
this.pnlImg.BackgroundImage = Image.FromStream(ms);
ms.Dispose();
}));
});
}
catch
{
}
}
}
private void ShowBigImgForm_SizeChanged(object sender, EventArgs e)
{
var deltaNumber = this.Height - 60;
if (this.Width - 28 < this.Height - 60)
deltaNumber = this.Width - 28;
this.pnlImg.Width = deltaNumber;
this.pnlImg.Height = deltaNumber;
this.pnlImg.Location = new Point((this.Width - 2) / 2 - this.pnlImg.Width / 2, (this.Height - 32 - 2) / 2 - this.pnlImg.Height / 2);
}
private void btnShowNext_Click(object sender, EventArgs e)
{
if (btnShowNext.Visible == false)
return;
var fiss = Fission.GetInstance();
if (fiss != null && fiss.browser != null && fiss.browser.IsBrowserInitialized)
{
var jsCode = @"ShowNextImg('" + this.imgId + "');";
Fission.GetInstance().browser.GetMainFrame().EvaluateScriptAsync(jsCode, null);
}
}
private void btnShowPrev_Click(object sender, EventArgs e)
{
if (btnShowPrev.Visible == false)
return;
var fiss = Fission.GetInstance();
if (fiss != null && fiss.browser != null && fiss.browser.IsBrowserInitialized)
{
var jsCode = @"ShowPrevImg('" + this.imgId + "');";
Fission.GetInstance().browser.GetMainFrame().EvaluateScriptAsync(jsCode, null);
}
}
/// <summary>
/// 窗体激活时注册快捷键
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void FissionShowBigImgForm_Activated(object sender, EventArgs e)
{
//注册热键Shift+S,Id号为100。HotKey.KeyModifiers.Shift也可以直接使用数字4来表示。
HotKey.RegisterHotKey(Handle, 100, HotKey.KeyModifiers.None, Keys.Left);
//注册热键Ctrl+B,Id号为101。HotKey.KeyModifiers.Ctrl也可以直接使用数字2来表示。
HotKey.RegisterHotKey(Handle, 101, HotKey.KeyModifiers.None, Keys.Right);
//注册热键Alt+D,Id号为102。HotKey.KeyModifiers.Alt也可以直接使用数字1来表示。
HotKey.RegisterHotKey(Handle, 102, HotKey.KeyModifiers.None, Keys.Escape);
}
/// <summary>
/// 窗体离开时注销快捷键
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void FissionShowBigImgForm_Leave(object sender, EventArgs e)
{
//注销Id号为100的热键设定
HotKey.UnregisterHotKey(Handle, 100);
//注销Id号为101的热键设定
HotKey.UnregisterHotKey(Handle, 101);
//注销Id号为102的热键设定
HotKey.UnregisterHotKey(Handle, 102);
}
}
class HotKey
{
//如果函数执行成功,返回值不为0。
//如果函数执行失败,返回值为0。要得到扩展错误信息,调用GetLastError。
[DllImport("user32.dll", SetLastError = true)]
public static extern bool RegisterHotKey(
IntPtr hWnd, //要定义热键的窗口的句柄
int id, //定义热键ID(不能与其它ID重复)
KeyModifiers fsModifiers, //标识热键是否在按Alt、Ctrl、Shift、Windows等键时才会生效
Keys vk //定义热键的内容
);
[DllImport("user32.dll", SetLastError = true)]
public static extern bool UnregisterHotKey(
IntPtr hWnd, //要取消热键的窗口的句柄
int id //要取消热键的ID
);
//定义了辅助键的名称(将数字转变为字符以便于记忆,也可去除此枚举而直接使用数值)
[Flags()]
public enum KeyModifiers
{
None = 0,
Alt = 1,
Ctrl = 2,
Shift = 4,
WindowsKey = 8
}
}
}
@@ -0,0 +1,142 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
partial class FissionShowBigImgForm
{
/// <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(FissionShowBigImgForm));
this.panel2 = new System.Windows.Forms.Panel();
this.btnShowPrev = new DevComponents.DotNetBar.PanelEx();
this.btnShowNext = new DevComponents.DotNetBar.PanelEx();
this.pnlImg = new System.Windows.Forms.Panel();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Controls.Add(this.btnShowPrev);
this.panel2.Controls.Add(this.btnShowNext);
this.panel2.Controls.Add(this.pnlImg);
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, 766);
this.panel2.TabIndex = 1;
//
// btnShowPrev
//
this.btnShowPrev.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.btnShowPrev.CanvasColor = System.Drawing.SystemColors.Control;
this.btnShowPrev.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnShowPrev.DisabledBackColor = System.Drawing.Color.Empty;
this.btnShowPrev.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnShowPrev.Location = new System.Drawing.Point(94, 358);
this.btnShowPrev.Name = "btnShowPrev";
this.btnShowPrev.Size = new System.Drawing.Size(50, 50);
this.btnShowPrev.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnShowPrev.Style.BackColor1.Color = System.Drawing.Color.White;
this.btnShowPrev.Style.BackColor2.Color = System.Drawing.Color.White;
this.btnShowPrev.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnShowPrev.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnShowPrev.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnShowPrev.Style.GradientAngle = 90;
this.btnShowPrev.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnShowPrev.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnShowPrev.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnShowPrev.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnShowPrev.TabIndex = 12;
this.btnShowPrev.Text = "<";
this.btnShowPrev.Click += new System.EventHandler(this.btnShowPrev_Click);
//
// btnShowNext
//
this.btnShowNext.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btnShowNext.CanvasColor = System.Drawing.SystemColors.Control;
this.btnShowNext.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnShowNext.DisabledBackColor = System.Drawing.Color.Empty;
this.btnShowNext.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnShowNext.Location = new System.Drawing.Point(1056, 358);
this.btnShowNext.Name = "btnShowNext";
this.btnShowNext.Size = new System.Drawing.Size(50, 50);
this.btnShowNext.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnShowNext.Style.BackColor1.Color = System.Drawing.Color.White;
this.btnShowNext.Style.BackColor2.Color = System.Drawing.Color.White;
this.btnShowNext.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnShowNext.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnShowNext.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnShowNext.Style.GradientAngle = 90;
this.btnShowNext.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnShowNext.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnShowNext.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnShowNext.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnShowNext.TabIndex = 5;
this.btnShowNext.Text = ">";
this.btnShowNext.Click += new System.EventHandler(this.btnShowNext_Click);
//
// pnlImg
//
this.pnlImg.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.pnlImg.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pnlImg.Location = new System.Drawing.Point(230, 13);
this.pnlImg.Name = "pnlImg";
this.pnlImg.Size = new System.Drawing.Size(740, 740);
this.pnlImg.TabIndex = 4;
//
// FissionShowBigImgForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(9)))), ((int)(((byte)(131)))), ((int)(((byte)(247)))));
this.ClientSize = new System.Drawing.Size(1200, 800);
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.ShowMaximizeBox = true;
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShowMinimizedBox = true;
this.Name = "FissionShowBigImgForm";
this.Text = "图片查看器";
this.TitleText = "图片查看器";
this.Activated += new System.EventHandler(this.FissionShowBigImgForm_Activated);
this.Load += new System.EventHandler(this.ShowBigImgForm_Load);
this.SizeChanged += new System.EventHandler(this.ShowBigImgForm_SizeChanged);
this.Leave += new System.EventHandler(this.FissionShowBigImgForm_Leave);
this.Controls.SetChildIndex(this.panel2, 0);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel pnlImg;
private DevComponents.DotNetBar.PanelEx btnShowNext;
private DevComponents.DotNetBar.PanelEx btnShowPrev;
}
}
@@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAgIAQXAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMz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MzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////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////////4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AAAAAAAAAAAAAAA////wAAAAA
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
@@ -0,0 +1,84 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms.FissionUserControl
{
partial class UcCategoryProp
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.ucGroupBoxEx1 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.txtPropValue = new DevComponents.DotNetBar.Controls.TextBoxX();
this.ucGroupBoxEx1.SuspendLayout();
this.SuspendLayout();
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.DodgerBlue;
this.ucGroupBoxEx1.BorderStyle = LittleRabbit.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.SQUARE;
this.ucGroupBoxEx1.Controls.Add(this.txtPropValue);
this.ucGroupBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucGroupBoxEx1.Location = new System.Drawing.Point(0, 0);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(200, 50);
this.ucGroupBoxEx1.TabIndex = 3;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "属性名称";
//
// txtPropValue
//
this.txtPropValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
this.txtPropValue.Border.Class = "TextBoxBorder";
this.txtPropValue.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtPropValue.Location = new System.Drawing.Point(6, 20);
this.txtPropValue.Name = "txtPropValue";
this.txtPropValue.PreventEnterBeep = true;
this.txtPropValue.Size = new System.Drawing.Size(188, 21);
this.txtPropValue.TabIndex = 69;
this.txtPropValue.TextChanged += new System.EventHandler(this.txtPropValue_TextChanged);
//
// UcCategoryProp
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.ucGroupBoxEx1);
this.Name = "UcCategoryProp";
this.Size = new System.Drawing.Size(200, 50);
this.Load += new System.EventHandler(this.UcCategoryProp_Load);
this.ucGroupBoxEx1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
public DevComponents.DotNetBar.Controls.TextBoxX txtPropValue;
}
}
@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AllBase.Helper;
using LittleRabbit.LittleRabbitForms.BaseForms;
namespace LittleRabbit.LittleRabbitForms.UploadForms.FissionUserControl
{
public partial class UcCategoryProp : UserControl
{
private string propName;
public string PropName
{
get { return propName; }
set
{
propName = value;
}
}
public string PropValue { get; set; }
/// <summary>
/// 如果是品牌,则记录品牌Id
/// </summary>
public string PropBrandId { get; set; }
public UcCategoryProp()
{
InitializeComponent();
}
private void UcCategoryProp_Load(object sender, EventArgs e)
{
if (propName != null)
{
this.ucGroupBoxEx1.Text = propName;
if (PropValue != null)
{
this.txtPropValue.Text = PropValue;
}
}
}
private void txtPropValue_TextChanged(object sender, EventArgs e)
{
this.PropValue = txtPropValue.Text;
}
}
}
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,173 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms.FissionUserControl
{
partial class UcQualifiaction
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.txtQualificationNumber = new DevComponents.DotNetBar.Controls.TextBoxX();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.ucGroupBoxEx1 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.label1 = new System.Windows.Forms.Label();
this.btnUploadImg = new DevComponents.DotNetBar.PanelEx();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// txtQualificationNumber
//
this.txtQualificationNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
this.txtQualificationNumber.Border.Class = "TextBoxBorder";
this.txtQualificationNumber.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtQualificationNumber.Location = new System.Drawing.Point(3, 23);
this.txtQualificationNumber.Name = "txtQualificationNumber";
this.txtQualificationNumber.PreventEnterBeep = true;
this.txtQualificationNumber.Size = new System.Drawing.Size(188, 21);
this.txtQualificationNumber.TabIndex = 0;
this.txtQualificationNumber.TextChanged += new System.EventHandler(this.txtQualificationNumber_TextChanged);
//
// pictureBox1
//
this.pictureBox1.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.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Location = new System.Drawing.Point(3, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(188, 162);
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.DodgerBlue;
this.ucGroupBoxEx1.BorderStyle = LittleRabbit.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.SQUARE;
this.ucGroupBoxEx1.Controls.Add(this.splitContainer1);
this.ucGroupBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucGroupBoxEx1.Location = new System.Drawing.Point(0, 0);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(200, 260);
this.ucGroupBoxEx1.TabIndex = 2;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "资质名称";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(65, 12);
this.label1.TabIndex = 68;
this.label1.Text = "资质编号:";
//
// btnUploadImg
//
this.btnUploadImg.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnUploadImg.CanvasColor = System.Drawing.SystemColors.Control;
this.btnUploadImg.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnUploadImg.DisabledBackColor = System.Drawing.Color.Empty;
this.btnUploadImg.Location = new System.Drawing.Point(3, 164);
this.btnUploadImg.Name = "btnUploadImg";
this.btnUploadImg.Size = new System.Drawing.Size(188, 23);
this.btnUploadImg.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnUploadImg.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnUploadImg.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnUploadImg.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnUploadImg.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnUploadImg.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.btnUploadImg.Style.GradientAngle = 90;
this.btnUploadImg.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.btnUploadImg.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnUploadImg.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnUploadImg.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnUploadImg.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnUploadImg.TabIndex = 66;
this.btnUploadImg.Text = "上传图片";
this.btnUploadImg.Click += new System.EventHandler(this.btnUploadImg_Click);
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(3, 17);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.label1);
this.splitContainer1.Panel1.Controls.Add(this.txtQualificationNumber);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.pictureBox1);
this.splitContainer1.Panel2.Controls.Add(this.btnUploadImg);
this.splitContainer1.Size = new System.Drawing.Size(194, 240);
this.splitContainer1.SplitterDistance = 46;
this.splitContainer1.TabIndex = 72;
//
// QualifiactionControl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.ucGroupBoxEx1);
this.Name = "QualifiactionControl";
this.Size = new System.Drawing.Size(200, 260);
this.Load += new System.EventHandler(this.QualifiactionControl_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ucGroupBoxEx1.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.ResumeLayout(false);
}
#endregion
private DevComponents.DotNetBar.Controls.TextBoxX txtQualificationNumber;
private System.Windows.Forms.PictureBox pictureBox1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private DevComponents.DotNetBar.PanelEx btnUploadImg;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.SplitContainer splitContainer1;
}
}
@@ -0,0 +1,116 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AllBase.Model.Param.ProductManage;
using AllBase;
using LittleRabbit.LittleRabbitForms.BaseForms;
using LittleRabbit.LittleRabbitForms.UploadForms;
namespace LittleRabbit.LittleRabbitForms.UploadForms.FissionUserControl
{
public partial class UcQualifiaction : UserControl
{
private QualificationConfig qualification;
public QualificationConfig Qualification
{
get { return qualification; }
set
{
qualification = value;
if (qualification.name == "包装标签图")
{
this.Height = 220; this.splitContainer1.Panel1Collapsed = true;
}
}
}
public quality_file QualificationFile { get; set; }
public UcQualifiaction()
{
InitializeComponent();
}
private void pictureBox1_Click(object sender, EventArgs e)
{
if (this.QualificationFile != null && this.QualificationFile.quality_attachments.Count > 0)
{
new FissionBrowserObject().ShowBigImg(this.QualificationFile.quality_attachments[0].url);
}
}
private void QualifiactionControl_Load(object sender, EventArgs e)
{
this.pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
ShowQualification();
}
public void ShowQualification()
{
if (Qualification != null)
{
this.ucGroupBoxEx1.Text = Qualification.name;
if (QualificationFile != null)
{
this.txtQualificationNumber.Text = QualificationFile.quality_number;
if (QualificationFile.quality_attachments.Count > 0)
this.pictureBox1.Load(QualificationFile.quality_attachments.FirstOrDefault().url);
}
}
}
private void btnUploadImg_Click(object sender, EventArgs e)
{
if (Qualification == null || string.IsNullOrEmpty(Qualification.name))
{
BaseMsgForm.ShowError("资质属性获取失败!请关闭窗口重试");
return;
}
var uploadResult = new FissionBrowserObject().addLocalPic(false);
if (uploadResult.Contains("\"msg\":\"success\""))
{
if (QualificationFile == null)
{
QualificationFile = new quality_file();
QualificationFile.quality_key = Qualification.key;
QualificationFile.quality_name = Qualification.name;
}
if (QualificationFile.quality_attachments == null)
QualificationFile.quality_attachments = new List<quality_attachment>();
var imageUrl = BaseRegex.GetStringJson(ref uploadResult, "src")?.Replace("\\/", "/");
if (!string.IsNullOrEmpty(imageUrl))
{
QualificationFile.quality_attachments.Clear();
QualificationFile.quality_attachments.Add(new quality_attachment { media_type = 1, url = imageUrl });
this.pictureBox1.Load(imageUrl);
}
}
}
private void txtQualificationNumber_TextChanged(object sender, EventArgs e)
{
if (Qualification == null || string.IsNullOrEmpty(Qualification.name))
{
BaseMsgForm.ShowError("资质属性获取失败!请关闭窗口重试");
return;
}
if (QualificationFile == null)
{
QualificationFile = new quality_file();
QualificationFile.quality_key = Qualification.key;
QualificationFile.quality_name = Qualification.name;
}
QualificationFile.quality_number = txtQualificationNumber.Text;
}
}
}
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
+240
View File
@@ -0,0 +1,240 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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::LittleRabbit.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;
}
}
@@ -0,0 +1,135 @@
using AllBase;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class GetUpProductForm : Form
{
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;
}
}
});
}
}
}
@@ -0,0 +1,132 @@
<?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
@@ -0,0 +1,897 @@
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 LittleRabbit.LittleRabbitForms.BaseForms;
namespace LittleRabbit.LittleRabbitForms
{
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;
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 };
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
@@ -0,0 +1,261 @@
namespace LittleRabbit.LittleRabbitForms
{
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 LittleRabbit.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 LittleRabbit.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.Font;
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;
}
}
+408
View File
@@ -0,0 +1,408 @@
<?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>
+608
View File
@@ -0,0 +1,608 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.UserControls.ButtonEx();
this.ucGroupBoxEx3 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnStop = new LittleRabbit.UserControls.ButtonEx();
this.btnDelOffSale = new LittleRabbit.UserControls.ButtonEx();
this.btnDelOnSale = new LittleRabbit.UserControls.ButtonEx();
this.btnOffline = new LittleRabbit.UserControls.ButtonEx();
this.btnOnline = new LittleRabbit.UserControls.ButtonEx();
this.ucGroupBoxEx1 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnGetProductCount = new LittleRabbit.UserControls.ButtonEx();
this.btnRefreshShop = new LittleRabbit.UserControls.ButtonEx();
this.ucGroupBoxEx2 = new LittleRabbit.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 LittleRabbit.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 LittleRabbit.UserControls.ButtonEx();
this.statusBar = new LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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.Font;
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
@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="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>
@@ -0,0 +1,474 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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 LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnRefresh = new LittleRabbit.UserControls.ButtonEx();
this.btnStop = new LittleRabbit.UserControls.ButtonEx();
this.btnStart = new LittleRabbit.UserControls.ButtonEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new LittleRabbit.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 LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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;
}
}
@@ -0,0 +1,557 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using CefSharp.WinForms;
using LittleRabbit.Extension;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class SpecialDelaySendForm : Form
{
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.DouShopLoginList.Count; i++)
{
var shop = GlobalConfig.DouShopLoginList[i];
var row = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value?.ToString() == shop.ShopAccountId);
if (row == null)
dgvShop.Rows.Add(false, shop.ShopAccountId, shop.ShopAccount, shop.LoginStatus == "登录成功" && shop.ApiAuthStatus == "授权成功" ? "可用" : "");
else
{
row.Cells["colLoginStatus"].Value = shop.LoginStatus;
}
}
}
public string GetShopProductListData(DouShopLoginInfo 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(DouShopLoginInfo shop, bool isShowResult = true)
{
DataGridViewRow row = null;
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopAccountId);
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.DouShopLoginList.Where(s => shopIds.Contains(s.ShopAccountId)).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<DouShopLoginInfo> 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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.DouShopLoginList.FirstOrDefault(s => s.ShopAccountId == 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.DouShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && s.LoginStatus == "登录成功").Select(ss => ss.ShopAccountId);
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();
}
}
}
@@ -0,0 +1,132 @@
<?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>
+457
View File
@@ -0,0 +1,457 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnStop = new LittleRabbit.UserControls.ButtonEx();
this.btnSetStock = new LittleRabbit.UserControls.ButtonEx();
this.ucGroupBoxEx1 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnGetProductCount = new LittleRabbit.UserControls.ButtonEx();
this.btnRefreshShop = new LittleRabbit.UserControls.ButtonEx();
this.ucGroupBoxEx2 = new LittleRabbit.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 LittleRabbit.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 LittleRabbit.UserControls.ButtonEx();
this.statusBar = new LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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;
}
}
@@ -0,0 +1,604 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using LittleRabbit.Extension;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class StockSyncForm : Form
{
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.DouShopLoginList.Any(s => s.ShopAccountId == id && s.LoginStatus == "已授权")).ToList();
// 获取被删除的店铺
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> !GlobalConfig.DouShopLoginList.Any(s => s.ShopAccountId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
// 更新被删除的店铺列表
foreach (var row in dgvRowList)
{
dgvShop.Rows.Remove(row);
}
// 绑定其他店铺(含新导入的店铺)
foreach (DouShopLoginInfo shopEntity in GlobalConfig.DouShopLoginList)
{
BindShop(shopEntity);
}
}
private void BindShop(DouShopLoginInfo shopEntity)
{
var row = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopAccountId);
if (row == null)
{
this.dgvShop.Rows.Add(
false,
shopEntity.ShopAccountId,
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.ShopAccountId);
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.DouShopLoginList.Where(s => s.ApiAuthStatus == "授权成功").Select(ss => ss.ShopAccountId);
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.DouShopLoginList.Where(s => s.ApiAuthStatus == "授权成功" && lstShopId.Contains(s.ShopAccountId));
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(DouShopLoginInfo shop, bool isShowResult = true)
{
DataGridViewRow row = null;
Invoke(new Action(() =>
{
row = this.dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colShopId"].Value.ToString() == shop.ShopAccountId);
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(DouShopLoginInfo 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.DouShopLoginList.FirstOrDefault(s => s.ShopAccountId == 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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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.ShopAccountId);
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(DouShopLoginInfo 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(DouShopLoginInfo 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.DouShopLoginList.FirstOrDefault(s => s.ShopAccountId == 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;
}
}
}
}
@@ -0,0 +1,147 @@
<?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>
@@ -0,0 +1,159 @@
using AllBase;
using LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms
{
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");
}
}
}
+298
View File
@@ -0,0 +1,298 @@
namespace LittleRabbit.LittleRabbitForms
{
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 = "复制Cookies成功后点我";
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 = "第三步:解除滑块之后,点击点我复制原滑块链接按钮,复制网址到浏览器中,按照下面指示复制cookies";
//
// 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.Font;
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;
}
}
@@ -0,0 +1,509 @@
<?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/giAIIup4fv7zeDm0wATpH0EQBBF1DJoUS4cWmCD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/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//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMz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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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>
+207
View File
@@ -0,0 +1,207 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
partial class UploadForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("商品发布");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("佣金设置");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("净化数据");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("产品数据库");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("商品上下架");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("清理无流量");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("库存管理");
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("特殊延迟发货");
System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("云违规排查");
System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("跳转上家");
System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("上传错误列表");
System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
treeNode4,
treeNode5,
treeNode6,
treeNode7,
treeNode8,
treeNode9,
treeNode10,
treeNode11});
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.lblName = new System.Windows.Forms.Label();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.tv = new LittleRabbit.UserComponent.UcTreeView();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.panel3);
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(793, 521);
this.panel1.TabIndex = 2;
//
// panel3
//
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 28);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(793, 493);
this.panel3.TabIndex = 1;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.panel2.Controls.Add(this.lblName);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(793, 28);
this.panel2.TabIndex = 0;
//
// lblName
//
this.lblName.AutoSize = true;
this.lblName.Location = new System.Drawing.Point(5, 6);
this.lblName.Name = "lblName";
this.lblName.Size = new System.Drawing.Size(57, 17);
this.lblName.TabIndex = 0;
this.lblName.Text = "lblName";
//
// splitContainer1
//
this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.tv);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Size = new System.Drawing.Size(934, 521);
this.splitContainer1.SplitterDistance = 140;
this.splitContainer1.SplitterWidth = 1;
this.splitContainer1.TabIndex = 3;
//
// tv
//
this.tv.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.tv.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.tv.ChildNodeSelectedBgColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.tv.Cursor = System.Windows.Forms.Cursors.Hand;
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
this.tv.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
this.tv.ExpandButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.tv.FullRowSelect = true;
this.tv.GroupBgColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
this.tv.GroupFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tv.GroupTitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.tv.HideCollapsedGroup = false;
this.tv.ItemHeight = 32;
this.tv.Location = new System.Drawing.Point(0, 0);
this.tv.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tv.Name = "tv";
treeNode1.Name = "商品发布";
treeNode1.Text = "商品发布";
treeNode2.Name = "佣金设置";
treeNode2.Text = "佣金设置";
treeNode3.Name = "净化数据";
treeNode3.Text = "净化数据";
treeNode4.Name = "产品数据库";
treeNode4.Text = "产品数据库";
treeNode5.Name = "商品上下架";
treeNode5.Text = "商品上下架";
treeNode6.Name = "清理无流量";
treeNode6.Text = "清理无流量";
treeNode7.Name = "库存管理";
treeNode7.Text = "库存管理";
treeNode8.Name = "特殊延迟发货";
treeNode8.Text = "特殊延迟发货";
treeNode9.Name = "云违规排查";
treeNode9.Text = "云违规排查";
treeNode10.Name = "跳转上家";
treeNode10.Tag = "bottom";
treeNode10.Text = "跳转上家";
treeNode11.Name = "上传错误列表";
treeNode11.Text = "上传错误列表";
treeNode12.Name = "商品管理";
treeNode12.Text = "商品管理";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode12});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.tv.Size = new System.Drawing.Size(140, 521);
this.tv.TabIndex = 1;
this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
//
// UploadForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(934, 521);
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 = "UploadForm";
this.Text = "UploadForms";
this.Load += new System.EventHandler(this.ShopForm_Load);
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private UserComponent.UcTreeView tv;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label lblName;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.SplitContainer splitContainer1;
}
}
+169
View File
@@ -0,0 +1,169 @@
using LittleRabbit.LittleRabbitForms.SalesCenterForms;
using LittleRabbit.LittleRabbitForms.ShopOptimizeForms;
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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class UploadForm : Form
{
public static UploadForm instance;
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 UploadForm()
{
InitializeComponent();
}
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
{
instance = this;
MainForm.sCurrentModule = e.Node.Name;
this.lblName.Text = e.Node.Text;
//如果是一级菜单,不做任何动作
if (e.Node.Parent == null) return;
new Thread(() =>
{
Thread.Sleep(200);
Invoke(new Action(() =>
{
switch (e.Node.Name)
{
case "商品发布":
SetForm(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();
}
public void SetTvSelect(string name)
{
var n = tv.Nodes[0].Nodes.Find(name, true);
if (n.Count() > 0)
tv.SelectedNode = n[0];
}
/// <summary>
/// 显示隐藏层
/// </summary>
/// <param name="f"></param>
private void SetForm(Form f)
{
if (f == null)
{
foreach (Control form in panel3.Controls)
{
form.Visible = false;
if (form is Form)
{
panel3.Controls.Remove(form);
}
}
return;
}
bool had = false;
string sCurrentFormName = f.Name;
for (int i = 0; i < panel3.Controls.Count; i++)
{
if (sCurrentFormName == panel3.Controls[i].Name)
{
had = true;
panel3.Controls[i].Visible = true;
}
else
{
panel3.Controls[i].Visible = false;
}
}
if (had)
{
f = null;
return;
}
f.TopLevel = false;
f.Left = 0;
f.Top = 0;
f.FormBorderStyle = FormBorderStyle.None;
panel3.Controls.Add(f);
f.AutoSize = true;
f.Dock = DockStyle.Fill;
f.Show();
}
private void ShopForm_Load(object sender, EventArgs e)
{
try
{
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
//List<string> hideName = new List<string>() { "特殊延迟发货", /*"清理无流量"*/ };
//if (AllBase.BaseClass.UserName != "18888888888")
// hideName.Add("上传错误列表");
List<string> hideName = new List<string>() { "佣金设置",
"净化数据","产品数据库","商品上下架","清理无流量","库存管理","特殊延迟发货","云违规排查","上传错误列表","跳转上家" };
foreach (var item in hideName)
{
var n = tv.Nodes[0].Nodes.Find(item, true);
if (n.Count() > 0)
n[0].Remove();
}
}
catch { }
}
}
}
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,463 @@
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 LittleRabbit.LittleRabbitForms.UploadForms
{
/// <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.DouShopLoginList.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";
}
}
@@ -0,0 +1,389 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.UserControls.ButtonEx();
this.btnSave = new LittleRabbit.UserControls.ButtonEx();
this.textBox1 = new System.Windows.Forms.TextBox();
this.buttonExportCsv = new LittleRabbit.UserControls.ButtonEx();
this.btnAddToUpload = new LittleRabbit.UserControls.ButtonEx();
this.dgvError = new LittleRabbit.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 LittleRabbit.UserControls.ButtonEx();
this.btnOnlineSearch = new LittleRabbit.UserControls.ButtonEx();
this.label2 = new System.Windows.Forms.Label();
this.btnGetProp材质 = new LittleRabbit.UserControls.ButtonEx();
this.btnGetDetail = new LittleRabbit.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;
}
}
@@ -0,0 +1,497 @@
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 LittleRabbit.LittleRabbitForms.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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class UploadProductErrorForm : Form
{
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.DouShopLoginList.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.DouShopLoginList.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);
}
}
}
@@ -0,0 +1,150 @@
<?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
@@ -0,0 +1,237 @@
<?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>
@@ -0,0 +1,166 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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;
}
}
@@ -0,0 +1,77 @@
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 LittleRabbit.LittleRabbitForms.UploadForms
{
public partial class UploadProductViolateSelectForm : LittleRabbit.LittleRabbitForms.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);
}
}
}
}
}
@@ -0,0 +1,298 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAgIAQcgAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAA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zO6IiIYAAAARmYiI/////////////////////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////////4cAAHiIh8zMzMzMzMzMzMz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A
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
</value>
</data>
</root>
+991
View File
@@ -0,0 +1,991 @@
namespace LittleRabbit.LittleRabbitForms.UploadForms
{
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 LittleRabbit.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 LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.panel1 = new System.Windows.Forms.Panel();
this.llClear = new LittleRabbit.UserComponent.LinkLabelLc();
this.llSelectSerious = new LittleRabbit.UserComponent.LinkLabelLc();
this.llSelectAllRule = new LittleRabbit.UserComponent.LinkLabelLc();
this.flpViolate = new System.Windows.Forms.FlowLayoutPanel();
this.ucGroupBoxEx1 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
this.btnRefreshShop = new LittleRabbit.UserControls.ButtonEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new LittleRabbit.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 LittleRabbit.UserComponent.UcTabControl();
this.tabPageCheckResult = new System.Windows.Forms.TabPage();
this.dgvCheck = new LittleRabbit.UserComponent.DataGridViewEx();
this.tabPageViolateFileList = new System.Windows.Forms.TabPage();
this.dgvViolateFileData = new LittleRabbit.UserComponent.DataGridViewEx();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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 = LittleRabbit.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
@@ -0,0 +1,195 @@
<?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>