temu客户端程序
This commit is contained in:
commit
4aaf264e89
694 files changed
+263780
No files matched your search
+105
@@ -0,0 +1,105 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class CefForm
|
||||
{
|
||||
/// <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(CefForm));
|
||||
this.btnChangeBuyer = new DevComponents.DotNetBar.PanelEx();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnChangeBuyer
|
||||
//
|
||||
this.btnChangeBuyer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnChangeBuyer.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnChangeBuyer.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnChangeBuyer.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnChangeBuyer.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnChangeBuyer.Location = new System.Drawing.Point(1195, 3);
|
||||
this.btnChangeBuyer.Name = "btnChangeBuyer";
|
||||
this.btnChangeBuyer.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnChangeBuyer.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeBuyer.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeBuyer.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeBuyer.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnChangeBuyer.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnChangeBuyer.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnChangeBuyer.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnChangeBuyer.Style.GradientAngle = 90;
|
||||
this.btnChangeBuyer.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeBuyer.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeBuyer.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeBuyer.TabIndex = 431;
|
||||
this.btnChangeBuyer.Text = "切换买手";
|
||||
this.btnChangeBuyer.Click += new System.EventHandler(this.btnChangeBuyer_Click);
|
||||
//
|
||||
// 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(1, 33);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnChangeBuyer);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1278, 686);
|
||||
this.splitContainer1.SplitterDistance = 26;
|
||||
this.splitContainer1.TabIndex = 432;
|
||||
//
|
||||
// CefForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1280, 720);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "CefForm";
|
||||
this.ShowMaximizeBox = true;
|
||||
this.Text = "CefForm";
|
||||
this.TitleText = "CefForm";
|
||||
this.Load += new System.EventHandler(this.CefForm_Load);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.PanelEx btnChangeBuyer;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using LittleRabbit.DashBoardForms;
|
||||
using LittleRabbit.Helper;
|
||||
using NaiBa.CefHelper;
|
||||
using NaiBa.CefHelper.Handler;
|
||||
using NaiBa.Util;
|
||||
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.ToolForms
|
||||
{
|
||||
public partial class CefForm : BaseForms.LRBaseForm
|
||||
{
|
||||
ChromiumWebBrowser cefWebBrowser = null;
|
||||
|
||||
string Url = "";
|
||||
string PddBuyerCookie = "";
|
||||
List<Cookie> Cookies = new List<Cookie>();
|
||||
public CefForm(string url = "", List<Cookie> cookies = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Url = url;
|
||||
if (cookies != null)
|
||||
Cookies = cookies;
|
||||
|
||||
if (url.Contains("yangkeduo.com/goods.html"))
|
||||
{
|
||||
this.Height = 720;
|
||||
this.Width = 400;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
}
|
||||
}
|
||||
|
||||
private void CefForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.splitContainer1.Panel1Collapsed = true;
|
||||
|
||||
if (string.IsNullOrEmpty(Url))
|
||||
{
|
||||
Url = "about:blank";
|
||||
this.TitleText = "空白页";
|
||||
}
|
||||
else
|
||||
{
|
||||
var id = AllBase.BaseRegex.GetMatchRegexString(ref Url, "(\\d{5,30})");
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
this.TitleText = id;
|
||||
else
|
||||
this.TitleText = Url;
|
||||
}
|
||||
|
||||
if (cefWebBrowser == null)
|
||||
{
|
||||
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
|
||||
var lifeHandler = new LifeSpanHandlerLocal(PopWindowType.NewTitleWindow);
|
||||
lifeHandler.OnPop += LifeHandler_OnPop;
|
||||
lifeHandler.parent = cefWebBrowser;
|
||||
cefWebBrowser.LifeSpanHandler = lifeHandler;
|
||||
cefWebBrowser.KeyboardHandler = new KeyboardHandler();
|
||||
cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
|
||||
cefWebBrowser.Dock = DockStyle.Fill;
|
||||
this.splitContainer1.Panel2.Controls.Add(cefWebBrowser);
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (cefWebBrowser.IsLoading)
|
||||
Thread.Sleep(50);
|
||||
|
||||
var newCookieList = new List<Cookie>();
|
||||
|
||||
foreach (var cook in Cookies)
|
||||
{
|
||||
var t1 = CEFBrowser.SetCookieAsync(cook.Domain.Trim('.'), cook.Name + "=" + cook.Value + ";", cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
t1.Wait(2500);
|
||||
}
|
||||
|
||||
if (Url.Contains("yangkeduo.com/goods.html"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.splitContainer1.Panel1Collapsed = false;
|
||||
}));
|
||||
|
||||
PddBuyerCookie = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<string>>("chat_buyer_cookies")?.FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(PddBuyerCookie))
|
||||
{
|
||||
var cookieArr = PddBuyerCookie.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (var cookie in cookieArr)
|
||||
{
|
||||
newCookieList.Add(new Cookie
|
||||
{
|
||||
Domain = "mobile.yangkeduo.com",
|
||||
Name = cookie.Split('=').FirstOrDefault(),
|
||||
Value = cookie.Split('=').LastOrDefault(),
|
||||
Expires = DateTime.Now.AddYears(1).AddHours(-8),
|
||||
Path = "/"
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
if (PddBuyerCookie != null)
|
||||
{
|
||||
var t2 = CEFBrowser.SetCookieAsync("mobile.yangkeduo.com", PddBuyerCookie, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
t2.Wait(2500);
|
||||
}
|
||||
Thread.Sleep(500);
|
||||
cefWebBrowser.Load(Url);
|
||||
});
|
||||
}
|
||||
|
||||
bool isOpenKefu = false;
|
||||
private void CefWebBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
|
||||
{
|
||||
if (e.Url.Contains("yangkeduo.com/goods.html"))
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
var task = cefWebBrowser.GetBrowser().MainFrame.GetSourceAsync();
|
||||
task.Wait();
|
||||
if (task.Result?.Contains("login-box") == true)
|
||||
return;
|
||||
|
||||
var cookies = CEFBrowser.GetCookie("yangkeduo.com", cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
if (cookies != PddBuyerCookie)
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("chat_buyer_cookies", new List<string>() { cookies });
|
||||
|
||||
// 找到上家商品后自动跳转到客服聊天
|
||||
if (!isOpenKefu)
|
||||
{
|
||||
isOpenKefu = true;
|
||||
var jsStrBase = "function clickProductAnalysis(txt) {\r\n"
|
||||
+ "var child = document.body.firstElementChild;\r\n"
|
||||
+ "var element1 = null;\r\n"
|
||||
+ " while (child) {\r\n"
|
||||
+ " if (child.innerHTML.indexOf(txt) >= 0) {\r\n"
|
||||
+ " element1 = child;\r\n"
|
||||
+ " if (child.firstElementChild) {\r\n"
|
||||
+ " child = child.firstElementChild; continue;\r\n"
|
||||
+ " } else break;\r\n"
|
||||
+ " }\r\n"
|
||||
+ " child = child.nextElementSibling;\r\n"
|
||||
+ " }\r\n"
|
||||
+ " if (element1) {\r\n"
|
||||
+ " element1.click(); return 'success';\r\n"
|
||||
+ " } else return 'no_element';\r\n"
|
||||
+ "}\r\n";
|
||||
var jsStr = jsStrBase + "clickProductAnalysis('客服</span>');\r\n";
|
||||
var t = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t.Wait();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void LifeHandler_OnPop(object sender, PopData e)
|
||||
{
|
||||
var targetUrl = e.Url;
|
||||
var lifeHandler = sender as LifeSpanHandlerLocal;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
if (lifeHandler.parent != null)
|
||||
{
|
||||
var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null));
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
CefForm cefForm = new CefForm(targetUrl, cookies);
|
||||
cefForm.Show();
|
||||
}));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void btnChangeBuyer_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (cefWebBrowser != null)
|
||||
{
|
||||
CEFBrowser.DeleteCookie(this.cefWebBrowser.RequestContext.GetCookieManager(default));
|
||||
this.cefWebBrowser.Reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
AAABAAEAgIAQVQAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
|
||||
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
|
||||
d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
|
||||
iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
|
||||
iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
|
||||
iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
|
||||
eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
|
||||
zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
|
||||
zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
|
||||
zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
|
||||
AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
|
||||
AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
|
||||
zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
|
||||
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
|
||||
iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
|
||||
EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
|
||||
/4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
|
||||
////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
|
||||
///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
|
||||
/////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
|
||||
////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
|
||||
//////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
|
||||
////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
|
||||
//////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
|
||||
hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
|
||||
zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
|
||||
zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
|
||||
zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
|
||||
zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
|
||||
aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
|
||||
/4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
|
||||
iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
|
||||
////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
|
||||
/////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
|
||||
mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
|
||||
mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
|
||||
//j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
|
||||
j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
|
||||
ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
|
||||
///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
|
||||
bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
|
||||
zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
|
||||
zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
|
||||
zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
|
||||
zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
|
||||
ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
|
||||
//+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
|
||||
BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
|
||||
/4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
|
||||
///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
|
||||
///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
|
||||
////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
|
||||
//////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
|
||||
////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
|
||||
iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
|
||||
//iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
|
||||
ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
|
||||
zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
|
||||
zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
|
||||
fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
|
||||
AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
|
||||
6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
|
||||
ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
|
||||
///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
|
||||
////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
|
||||
///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
|
||||
//////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
|
||||
///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
|
||||
////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
|
||||
EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
|
||||
ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
|
||||
//+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
|
||||
iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
|
||||
+IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
|
||||
EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
|
||||
7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
|
||||
kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
|
||||
j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
|
||||
iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
|
||||
///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
|
||||
EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
|
||||
zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
|
||||
zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
|
||||
zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
|
||||
zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
|
||||
h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
|
||||
iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
|
||||
j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
|
||||
iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
|
||||
j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
|
||||
7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
|
||||
zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
|
||||
iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
|
||||
/4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
|
||||
//////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
|
||||
///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
|
||||
Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
|
||||
zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
|
||||
zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
|
||||
zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
|
||||
zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
|
||||
iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
|
||||
gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
|
||||
/////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
|
||||
7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
|
||||
dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
|
||||
zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
|
||||
zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
|
||||
zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
|
||||
iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
|
||||
AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
|
||||
AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
|
||||
7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
|
||||
zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
|
||||
AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
|
||||
AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
|
||||
xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
|
||||
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
|
||||
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
|
||||
7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
|
||||
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
|
||||
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
|
||||
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
|
||||
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
|
||||
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
|
||||
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
|
||||
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
|
||||
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
|
||||
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
|
||||
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
|
||||
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
|
||||
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
|
||||
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
|
||||
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,172 @@
|
||||
using AllBase;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
public partial class ChangeIPForm : LRBaseForm
|
||||
{
|
||||
public ChangeIPForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
MaximizeBox = false;
|
||||
}
|
||||
private AdslHelper adsl = null;
|
||||
public static Thread spanTimethread;
|
||||
public AdslHelper GetAdsl()
|
||||
{
|
||||
string adslName = "宽带连接";//txtAdslName.Text.Trim();
|
||||
string account = txtAccount.Text.Trim();//055192515753
|
||||
string password = txtPassword.Text.Trim();//382443
|
||||
|
||||
adsl = new AdslHelper(adslName, account, password);
|
||||
return adsl;
|
||||
}
|
||||
|
||||
//拨号
|
||||
private void ConnectionButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtAccount.Text.Trim()) || string.IsNullOrEmpty(txtPassword.Text.Trim()))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请输入账号和密码");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
bool result= GetAdsl().Connect();
|
||||
if (result)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("ADSL拨号连接成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseMsgForm.ShowInfo("ADSL拨号连接失败!");
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
BaseMsgForm.ShowInfo("ADSL拨号连接失败!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
//断开
|
||||
private void DisConnectionButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
bool result= GetAdsl().Disconnect();
|
||||
if (result)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("ADSL断开连接成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseMsgForm.ShowInfo("ADSL断开连接失败!");
|
||||
}
|
||||
return;
|
||||
}
|
||||
catch
|
||||
{
|
||||
BaseMsgForm.ShowInfo("ADSL拨号断开连接失败!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
int spanTime = 0;
|
||||
bool startFlag = false;
|
||||
//定时
|
||||
private void spanTimeButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtAccount.Text.Trim()) || string.IsNullOrEmpty(txtPassword.Text.Trim()))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请输入账号和密码");
|
||||
return;
|
||||
}
|
||||
CheckInt(txtMinutes, out spanTime);
|
||||
if (spanTime == 0)
|
||||
return;
|
||||
bool ok = !startFlag;
|
||||
startFlag = ok;
|
||||
spanTimeButtonX.Text = "停止执行";
|
||||
if(!startFlag)
|
||||
{
|
||||
spanTimeButtonX.Text = "开始执行";
|
||||
spanTimethread.Abort();
|
||||
return;
|
||||
}
|
||||
spanTimethread = new Thread(new ThreadStart(workOn));//开始定时
|
||||
spanTimethread.Start();
|
||||
}
|
||||
public string FormName = "自动拨号";
|
||||
public void workOn()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
if (!startFlag)
|
||||
break;
|
||||
new Thread(OnSetShow).Start();
|
||||
GetAdsl().Disconnect();//断开
|
||||
Thread.Sleep(500);
|
||||
GetAdsl().Connect();//重连
|
||||
Thread.Sleep(spanTime*60*1000);
|
||||
}
|
||||
}
|
||||
public void OnSetShow()
|
||||
{
|
||||
try
|
||||
{
|
||||
int count = spanTime*60;
|
||||
while (true)
|
||||
{
|
||||
count--;
|
||||
if (count < 0|| !startFlag )
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (this.txtMinutes.InvokeRequired)
|
||||
{
|
||||
this.Invoke(new Action(() => { txtSurplus.Text = count.ToString(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
txtSurplus.Text = count.ToString();
|
||||
}
|
||||
Thread.Sleep(1 * 1000);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
public bool CheckInt(TextBox box, out int d)
|
||||
{
|
||||
if (int.TryParse(box.Text, out d))
|
||||
return true;
|
||||
BaseMsgForm.ShowInfo("请输入数字", "提示");
|
||||
box.Focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
private void ChangeIPForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
e.Cancel = true;
|
||||
Hide();
|
||||
}
|
||||
|
||||
private void ChangeIPForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Icon = BaseClass.Ico;
|
||||
}
|
||||
}
|
||||
}
|
||||
+286
@@ -0,0 +1,286 @@
|
||||
using LittleRabbit.UserControls;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class ChangeIPForm
|
||||
{
|
||||
/// <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(ChangeIPForm));
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.txtPassword = new System.Windows.Forms.TextBox();
|
||||
this.txtAccount = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.DisConnectionButtonX = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.ConnectionButtonX = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.txtMinutes = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.txtSurplus = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.spanTimeButtonX = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.txtPassword);
|
||||
this.groupBox1.Controls.Add(this.txtAccount);
|
||||
this.groupBox1.Controls.Add(this.label4);
|
||||
this.groupBox1.Controls.Add(this.label3);
|
||||
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox1.Location = new System.Drawing.Point(16, 10);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(246, 104);
|
||||
this.groupBox1.TabIndex = 14;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "宽带区";
|
||||
//
|
||||
// txtPassword
|
||||
//
|
||||
this.txtPassword.Location = new System.Drawing.Point(73, 66);
|
||||
this.txtPassword.Name = "txtPassword";
|
||||
this.txtPassword.PasswordChar = '*';
|
||||
this.txtPassword.Size = new System.Drawing.Size(152, 23);
|
||||
this.txtPassword.TabIndex = 3;
|
||||
//
|
||||
// txtAccount
|
||||
//
|
||||
this.txtAccount.Location = new System.Drawing.Point(73, 29);
|
||||
this.txtAccount.Name = "txtAccount";
|
||||
this.txtAccount.Size = new System.Drawing.Size(152, 23);
|
||||
this.txtAccount.TabIndex = 2;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(19, 70);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(44, 17);
|
||||
this.label4.TabIndex = 1;
|
||||
this.label4.Text = "密码:";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(19, 33);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(44, 17);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "账号:";
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.DisConnectionButtonX);
|
||||
this.groupBox2.Controls.Add(this.ConnectionButtonX);
|
||||
this.groupBox2.Controls.Add(this.label7);
|
||||
this.groupBox2.Controls.Add(this.label6);
|
||||
this.groupBox2.Controls.Add(this.txtMinutes);
|
||||
this.groupBox2.Controls.Add(this.label5);
|
||||
this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox2.Location = new System.Drawing.Point(16, 131);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(246, 135);
|
||||
this.groupBox2.TabIndex = 15;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "操作区";
|
||||
//
|
||||
// DisConnectionButtonX
|
||||
//
|
||||
this.DisConnectionButtonX.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.DisConnectionButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.DisConnectionButtonX.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.DisConnectionButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.DisConnectionButtonX.ForeColor = System.Drawing.Color.White;
|
||||
this.DisConnectionButtonX.Location = new System.Drawing.Point(138, 90);
|
||||
this.DisConnectionButtonX.Name = "DisConnectionButtonX";
|
||||
this.DisConnectionButtonX.Size = new System.Drawing.Size(87, 27);
|
||||
this.DisConnectionButtonX.TabIndex = 8;
|
||||
this.DisConnectionButtonX.Text = "断开";
|
||||
this.DisConnectionButtonX.UseVisualStyleBackColor = false;
|
||||
this.DisConnectionButtonX.Click += new System.EventHandler(this.DisConnectionButtonX_Click);
|
||||
//
|
||||
// ConnectionButtonX
|
||||
//
|
||||
this.ConnectionButtonX.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ConnectionButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.ConnectionButtonX.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.ConnectionButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.ConnectionButtonX.ForeColor = System.Drawing.Color.White;
|
||||
this.ConnectionButtonX.Location = new System.Drawing.Point(22, 90);
|
||||
this.ConnectionButtonX.Name = "ConnectionButtonX";
|
||||
this.ConnectionButtonX.Size = new System.Drawing.Size(87, 27);
|
||||
this.ConnectionButtonX.TabIndex = 7;
|
||||
this.ConnectionButtonX.Text = "拨号";
|
||||
this.ConnectionButtonX.UseVisualStyleBackColor = false;
|
||||
this.ConnectionButtonX.Click += new System.EventHandler(this.ConnectionButtonX_Click);
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(19, 61);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(43, 17);
|
||||
this.label7.TabIndex = 6;
|
||||
this.label7.Text = "当前IP";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(190, 30);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(32, 17);
|
||||
this.label6.TabIndex = 5;
|
||||
this.label6.Text = "分钟";
|
||||
//
|
||||
// txtMinutes
|
||||
//
|
||||
this.txtMinutes.Location = new System.Drawing.Point(96, 24);
|
||||
this.txtMinutes.Name = "txtMinutes";
|
||||
this.txtMinutes.Size = new System.Drawing.Size(81, 23);
|
||||
this.txtMinutes.TabIndex = 4;
|
||||
this.txtMinutes.Text = "5";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(19, 30);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(68, 17);
|
||||
this.label5.TabIndex = 2;
|
||||
this.label5.Text = "定时分钟:";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.Location = new System.Drawing.Point(35, 288);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(127, 17);
|
||||
this.label8.TabIndex = 16;
|
||||
this.label8.Text = "距离自动重拨更换IP:";
|
||||
//
|
||||
// txtSurplus
|
||||
//
|
||||
this.txtSurplus.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtSurplus.Location = new System.Drawing.Point(164, 285);
|
||||
this.txtSurplus.Name = "txtSurplus";
|
||||
this.txtSurplus.Size = new System.Drawing.Size(49, 23);
|
||||
this.txtSurplus.TabIndex = 17;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label9.Location = new System.Drawing.Point(218, 288);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(20, 17);
|
||||
this.label9.TabIndex = 18;
|
||||
this.label9.Text = "秒";
|
||||
//
|
||||
// spanTimeButtonX
|
||||
//
|
||||
this.spanTimeButtonX.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.spanTimeButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.spanTimeButtonX.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.spanTimeButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.spanTimeButtonX.ForeColor = System.Drawing.Color.White;
|
||||
this.spanTimeButtonX.Location = new System.Drawing.Point(154, 330);
|
||||
this.spanTimeButtonX.Name = "spanTimeButtonX";
|
||||
this.spanTimeButtonX.Size = new System.Drawing.Size(87, 27);
|
||||
this.spanTimeButtonX.TabIndex = 19;
|
||||
this.spanTimeButtonX.Text = "开始执行";
|
||||
this.spanTimeButtonX.UseVisualStyleBackColor = false;
|
||||
this.spanTimeButtonX.Click += new System.EventHandler(this.spanTimeButtonX_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
this.panel1.Controls.Add(this.spanTimeButtonX);
|
||||
this.panel1.Controls.Add(this.groupBox2);
|
||||
this.panel1.Controls.Add(this.label9);
|
||||
this.panel1.Controls.Add(this.label8);
|
||||
this.panel1.Controls.Add(this.txtSurplus);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(1, 33);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(281, 379);
|
||||
this.panel1.TabIndex = 9;
|
||||
//
|
||||
// ChangeIPForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(283, 413);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("华文宋体", 8.999999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "ChangeIPForm";
|
||||
this.Text = "自动拨号";
|
||||
this.TitleText = "自动拨号";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChangeIPForm_FormClosing);
|
||||
this.Load += new System.EventHandler(this.ChangeIPForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.TextBox txtPassword;
|
||||
private System.Windows.Forms.TextBox txtAccount;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private ButtonEx DisConnectionButtonX;
|
||||
private ButtonEx ConnectionButtonX;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtMinutes;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox txtSurplus;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private ButtonEx spanTimeButtonX;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class DouUserLoginForm
|
||||
{
|
||||
/// <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(DouUserLoginForm));
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.btnIsLogin = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.White;
|
||||
this.panel2.Controls.Add(this.splitContainer1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(1, 33);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1438, 866);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// 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.btnIsLogin);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.textBox1);
|
||||
this.splitContainer1.Panel1.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1438, 866);
|
||||
this.splitContainer1.SplitterDistance = 28;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox1.Location = new System.Drawing.Point(4, 4);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(1360, 23);
|
||||
this.textBox1.TabIndex = 0;
|
||||
//
|
||||
// btnIsLogin
|
||||
//
|
||||
this.btnIsLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnIsLogin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnIsLogin.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnIsLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnIsLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnIsLogin.ForeColor = System.Drawing.Color.White;
|
||||
this.btnIsLogin.Location = new System.Drawing.Point(1369, 3);
|
||||
this.btnIsLogin.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnIsLogin.Name = "btnIsLogin";
|
||||
this.btnIsLogin.Size = new System.Drawing.Size(66, 26);
|
||||
this.btnIsLogin.TabIndex = 374;
|
||||
this.btnIsLogin.Text = "已登录";
|
||||
this.btnIsLogin.UseVisualStyleBackColor = false;
|
||||
this.btnIsLogin.Click += new System.EventHandler(this.btnIsLogin_Click);
|
||||
//
|
||||
// DouUserLoginForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1440, 900);
|
||||
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.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.Name = "DouUserLoginForm";
|
||||
this.Text = "登录抖音";
|
||||
this.TitleText = "登录抖音";
|
||||
this.Load += new System.EventHandler(this.DouUserLogin_Load);
|
||||
this.Controls.SetChildIndex(this.panel2, 0);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private UserControls.ButtonEx btnIsLogin;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using CefSharp.WinForms;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using NaiBa.CefHelper;
|
||||
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.ToolForms
|
||||
{
|
||||
public partial class DouUserLoginForm : LRBaseForm
|
||||
{
|
||||
string url = "https://creator.douyin.com/";
|
||||
ChromiumWebBrowser cefWebBrowser = null;
|
||||
|
||||
public DouUserLoginForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public DouUserLoginForm(string _url)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.url = _url; //"https://buyin.jinritemai.com/mpa/account/login?log_out=1&type=24";
|
||||
}
|
||||
|
||||
private void DouUserLogin_Load(object sender, EventArgs e)
|
||||
{
|
||||
InitCef();
|
||||
}
|
||||
|
||||
private void InitCef()
|
||||
{
|
||||
this.cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(this.url, false);
|
||||
this.cefWebBrowser.FrameLoadEnd += ChromiumWebBrowser_FrameLoadEnd;
|
||||
this.cefWebBrowser.AddressChanged += CefWebBrowser_AddressChanged;
|
||||
this.splitContainer1.Panel2.Controls.Clear();
|
||||
this.splitContainer1.Panel2.Controls.Add(this.cefWebBrowser);
|
||||
this.cefWebBrowser.Dock = DockStyle.Fill;
|
||||
if (!string.IsNullOrEmpty(AllBase.Helper.GlobalConfig.DouUserCookies) && this.url.Contains("creator.douyin.com"))
|
||||
{
|
||||
var t = CEFBrowser.SetCookieAsync(AllBase.Helper.GlobalConfig.DouUserCookies, cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
t.Wait(5000);
|
||||
}
|
||||
|
||||
this.btnIsLogin.BringToFront();
|
||||
}
|
||||
|
||||
private void CefWebBrowser_AddressChanged(object sender, CefSharp.AddressChangedEventArgs e)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.textBox1.Text = e.Address;
|
||||
}));
|
||||
}
|
||||
|
||||
private void ChromiumWebBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btnIsLogin_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.url.Contains("creator.douyin.com"))
|
||||
{
|
||||
AllBase.Helper.GlobalConfig.DouUserCookies = CEFBrowser.GetCookie("", cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
StartUp.SaveDouUserCookies();
|
||||
}
|
||||
else if (this.url.Contains("buyin.jinritemai.com"))
|
||||
{
|
||||
AllBase.Helper.GlobalConfig.DouBuyinCookies = CEFBrowser.GetCookie("", cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
StartUp.SaveDouBuyinCookies();
|
||||
}
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,298 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAgIAQagAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
|
||||
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMx3d4iIiIiIiIh3fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
|
||||
zMzMzMzMzMzHeIiIiIj/////////iIiIiId8zMzMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
|
||||
zMzMzMzMzMzMzMeIiI/////////////////////4iIh8zMzMzMzMzMzMzMzMzMzMzMxgAAAAAAAATMzM
|
||||
zMzMzMzMzMzMzMzMzHiI////////////////////////////iIfMzMzMzMzMzMzMzMzMzMzMxAAAAAAA
|
||||
AGzMzMzMzMzMzMzMzMzMx3iP///////////////////////////////4iHzMzMzMzMzMzMzMzMzMzMYA
|
||||
AAAAAAbMzMzMzMzMzMzMzMzMx3iP//////////////////////////////////+IfMzMzMzMzMzMzMzM
|
||||
zMzMYAAAAABMzMzMzMzMzMzMzMzMx3iP/////////////////////////////////////4h8zMzMzMzM
|
||||
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzMzMzHiP////////////////////////////////////////h3zM
|
||||
zMzMzMzMzMzMzMzGAAAABMzMzMzMzMzMzMzMzHiP////////////////////////////////////////
|
||||
//iHzMzMzMzMzMzMzMzMzEAAAAbMzMzMzMzMzMzMzMeI////////////////////////////////////
|
||||
////////+IfMzMzMzMzMzMzMzMxgAABMzMzMzMzMzMzMzMx4////////////////////////////////
|
||||
//////////////+IfMzMzMzMzMzMzMzMxAAAbMzMzMzMzMzMzMzHj///////////////////////////
|
||||
/////////////////////4fMzMzMzMzMzMzMzMYAAMzMzMzMzMzMzMzMeP//////////////////////
|
||||
///////////////////////////4fMzMzMzMzMzMzMzMAAbMzMzMzMzMzMzMx4//////////////////
|
||||
/////////////////////////////////4fMzMzMzMzMzMzMzGAGzMzMzMzMzMzMzHj/////////////
|
||||
///////////////////////////////////////4fMzMzMzMzMzMzMxgDMzMzMzMzMzMzMyI////////
|
||||
/////////////////////////////////////////////4zMzMzMzMzMzMzMwEzMzMzMzMzMzMzHj///
|
||||
//////////////////////////////////////////////////+HzMzMzMzMzMzMzMRszMzMzMzMzMzM
|
||||
eP//////////////////////////////////////////////////////+HzMzMzMzMzMzMzGbMzMzMzM
|
||||
zMzMzHj///////////////////////////////////////////////////////+MzMzMzMzMzMzMxmzM
|
||||
zMzMzMzMzMyP////+IiP////////////////////////////////////////+I//////h8zMzMzMzMzM
|
||||
zMZszMzMzMzMzMzHj////4iIiI//////////////////////////////////////+IiIj/////jMzMzM
|
||||
zMzMzMzGbMzMzMzMzMzMyP////iIiIiI/////////////////////////////////////4iIiIj////4
|
||||
fMzMzMzMzMzMxszMzMzMzMzMzHj////4iIiIiP////////////////////////////////////+IiIiI
|
||||
j////4zMzMzMzMzMzMbMzMzMzMzMzMx4////iIiIiIj////////////////////////////////////4
|
||||
iIiIiI////+HzMzMzMzMzMzMzMzMzMzMzMzMj////4iIiIiI//////////////+IiP//iI//////////
|
||||
////+IiIiIiP////h8zMzMzMzMzMzMzMzMzMzMzMzI/////4iIiIiP/////////////4d3eIiIeIj///
|
||||
//////////+IiIiIj/////jMzMzMzMzMzMzMzMzMzMzMzMyP////+IiIiIj/////////////iIiId3eI
|
||||
iI//////////////iIiIiI/////4zMzMzMzMzMzMzMzMzMzMzMzHj/////+IiIiP/////////////4//
|
||||
/4d4j/+P//////////////iIiIj/////+MzMzMzMzMzMzMzMzMzMzMzMx4//////+IiP////////////
|
||||
///////4j///////////////////iIiP//////jMzMzMzMzMzMzMzMzMzMzMzMeP//////////+IiIj/
|
||||
///////////////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzH//////////+H
|
||||
fMx8eP//////////////////////////iId3iP//////////+HzMzMzMzMzMzMzMzMzMzMzMyP//////
|
||||
///4fMzHh8eP////////////////////////+MzMzMd4//////////h8zMzMzMzMzMzMzMzMzMzMzMf/
|
||||
////////+MzMePjMeP///////////////////////4zMzMeHx4/////////4fMzMzMzMzMzMzMzMzMzM
|
||||
zMzH/////////4fMd3eHzMeP//////////////////////iMzMzIiHx4////////+HzMzMzMzMzMzMzM
|
||||
zMzMzMzMx/////////+Hx4iIfMzMj//////////////////////4h3d8x4h8yP////////jMzMzMzMzM
|
||||
zMzMzMzMzMzMzMeP////////+HiP+IfMzI//////////////////////+HiIiHd3zHj////////4zMzM
|
||||
zMzMzMzMzMzMzMzMzMzHj/////////h4//+HzMeP//////////////////////h4//h8zMyP////////
|
||||
+MzMzMzMzMzMzMzMzMzMzMzMzI/////////4iP//h8x4///////////////////////4j//4fMzHj///
|
||||
//////jMzMzMzMzMzMzMzMzMzMzMzMyP///////4iIiP+IfHj///////////////////////+Ij/+HzM
|
||||
eP/////////4zMzMzMzMzMzMzMzMzMzMzMzMj///////iIiIiIh3eP////////////////////////+I
|
||||
j4h8x3iI////////h8zMzMzMzMzMzMzMzMzMzMzMzH//////+Hj///iIiI//////////////////////
|
||||
/////4iId4iIiIj//////4zMzMzMzMzMzMzMzMzMzMzMzMx4//////iP////iP//////////////////
|
||||
/////////////4iP//iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMyP//////////+I//////////////
|
||||
///////////////////4eP//iP//////jMzMzMzMzMzMzMzMzMzMzMzMzMj///////////iP////////
|
||||
/////////////////////////4j/////////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj///////////////
|
||||
//////////////////////////////+I//////////jMzMzMzMzMzMzMzMzMzMzMzMzMzI//////////
|
||||
//////////////////////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
|
||||
////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
eP///////////////////////////////////////////////////////4zMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMj///////////////////////////////////////////////////////h8zMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzHj//////////////////////////////////////////////////////4zMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzI//////////////////////////////////////////////////////h8zMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMx4////////////////////////////////////////////////////+HzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMyI////+I////////////////////////////////////////////
|
||||
//h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+Ij/////////////////////////////////////
|
||||
//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////+IiIiIj//////////////////////////4
|
||||
////iI/////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMiP/////4iIiP//////////////////////
|
||||
////+IiIiIj/////iHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////////////////
|
||||
///////////4iIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP////////////////////
|
||||
//////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiP//////////////
|
||||
//////////////////////////////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////
|
||||
///////////////////////////////////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP////
|
||||
////////////////////////////////////////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI
|
||||
j/////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMeP//////////////////////////////////////////////h8zMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMx4////////+I//////////////////////////////////////jMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMeP///////4iIj///////////////////////////iP///////4fMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMx4////////iIiIiP///////////////////////4iIiP///////4zMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIj///////+HzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIj////////////////////4iIiIiIj///////
|
||||
+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiI////////////////////+IiIiIiI//
|
||||
//////h8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiP////////////////////iIiI
|
||||
iIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMj///////+IiIiIiIj/////iIiIiIiIj/////
|
||||
/4iIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4////////iIiIiIiI/////4zMzMzMzM
|
||||
j/////+IiIiIiIiP//////+HzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP//////+IiIiIiIj/////+MzM
|
||||
zMzMzI//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iIiIiIiI////
|
||||
//jMzMzMzMyP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzMzMzMzMeP///////4iIiIiI
|
||||
iP/////4zMzMzMzMj//////4iIiIiIiI///////4fMzMzMzMzMzMzMzMzMzMzMzMzMzMzI////////iI
|
||||
iIiIiI//////+MzMzMzMzI//////+IiIiIiIiP///////4zMzMzMzMzMzMzMzMzMzMzMzMzMzMyP////
|
||||
///4iIiIiIiP//////fMzMzMzMyP//////+IiIiIiIj///////+MzMzMzMzMzMzMzMzMzMzMzMzMzMzH
|
||||
j///////+IiIiIiI//////+HzMzMzMzMeP//////iIiIiIiIj///////jMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMyP////////iIiIiIiP//////jMzMzMzMzHj///////iIiIiIiI///////4fMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMj///////+IiIiIiI///////4zMzMzMzMzI///////4iIiIiIiI///////3zMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzI////////iIiIiIiP//////+MzMzMzMzMyP//////+IiIiIiIiP//////+MzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMeP///////4iIiIiIj///////jMzMzMzMzMj///////+IiIiIiIj///////jM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiIiP//////+HzMzMzMzMzHj///////iIiIiIiI////
|
||||
///4zMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIiI////////jMzMzMzMzMzI///////4iIiIiI
|
||||
iI//////+MzMzMzMzMzMzMzMzMzMzMzMzMzMj////////4iIiIiP///////4zMzMzMzMzMyP///////4
|
||||
iIiIiIiP//////jMzMzMzMzMzMzMzMzMzMzMzMzMzI////////+IiIiI////////h8zMzMzMzMzMeP//
|
||||
/////4iIiIiIj//////4fMzMzMzMzMzMzMzMzMzMzMzMzMyP////////iIiIj////////4fMzMzMzMzM
|
||||
zHj///////+IiIiIiI//////+HzMzMzMzMzMzMzMzMzMzMzMzMzHj/////////iIiP////////+MzMzM
|
||||
zMzMzMzI////////+IiIiIiP//////h8zMzMzMzMzMzMxmzMzMzMzMzMx4/////////4iP/////////4
|
||||
fMzMzMzMzMzMx4////////+IiIiIj//////4fMzMzMzMzMzMzMZszMzMzMzMzMeP////////////////
|
||||
////+MzMzMzMzMzMzMyP////////iIiIiP//////+HzMzMzMzMzMzMzGbMzMzMzMzMzH////////////
|
||||
//////////fMzMzMzMzMzMzMeP////////iIiIj///////98zMzMzMzMzMzMxmzMzMzMzMzMyP//////
|
||||
//////////////+HzMzMzMzMzMzMzHj/////////+IiP////////jMzMzMzMzMzMzMZszMzMzMzMzMj/
|
||||
////////////////////jMzMzMzMzMzMzMzIj////////////////////4zMzMzMzMzMzMzGTMzMzMzM
|
||||
zMzH////////////////////+HzMzMzMzMzMzMzMx4////////////////////+MzMzMzMzMzMzMxAzM
|
||||
zMzMzMzMx/////////////////////jMzMzMzMzMzMzMzMyI///////////////////4fMzMzMzMzMzM
|
||||
zMAGzMzMzMzMzMeP//////////////////+HzMzMzMzMzMzMzMzMeP//////////////////+HzMzMzM
|
||||
zMzMzMxgBszMzMzMzMzHj//////////////////4fMzMzMzMzMzMzMzMzMeP//////////////////h8
|
||||
zMzMzMzMzMzMYADMzMzMzMzMzI//////////////////+HzMzMzMzMzMzMzMzMzHj///////////////
|
||||
///4zMzMzMzMzMzMzAAAbMzMzMzMzMyP/////////////////4fMzMzMzMzMzMzMzMzMzHj/////////
|
||||
////////+MzMzMzMzMzMzMYAAEzMzMzMzMzMj/////////////////+MzMzMzMzMzMzMzMzMzMzIj///
|
||||
/////////////4fMzMzMzMzMzMzEAAAGzMzMzMzMzHj////////////////4fMzMzMzMzMzMzMzMzMzM
|
||||
x4////////////////+MzMzMzMzMzMzMYAAABMzMzMzMzMx4////////////////h8zMzMzMzMzMzMzM
|
||||
zMzMzMx4///////////////4fMzMzMzMzMzMzEAAAABszMzMzMzMx4//////////////+HzMzMzMzMzM
|
||||
zMzMzMzMzMzMx4//////////////+MzMzMzMzMzMzMYAAAAATMzMzMzMzMyP/////////////4fMzMzM
|
||||
zMzMzMzMzMzMzMzMzMeI/////////////4fMzMzMzMzMzMzEAAAAAAbMzMzMzMzMeP////////////h8
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMeI////////////h8zMzMzMzMzMzMYAAAAAAAbMzMzMzMzMeP////////
|
||||
//iHzMzMzMzMzMzMzMzMzMzMzMzMzMyI//////////+HzMzMzMzMzMzMxgAAAAAAAEzMzMzMzMzMeP//
|
||||
//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMx4/////////4fMzMzMzMzMzMzMQAAAAAAAAGzMzMzMzM
|
||||
zMeI//////iHfMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx4j//////4h8zMzMzMzMzMzMxgAAAAAAAAAGzM
|
||||
zMzMzMzMx4iIiIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzHiIj/+Ih3zMzMzMzMzMzMzGAAAAAAAA
|
||||
AAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMx3iId8zMzMzMzMzMzMzMYAAA
|
||||
AAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
xgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
|
||||
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
|
||||
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
|
||||
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
|
||||
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
|
||||
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
|
||||
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
|
||||
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
|
||||
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
|
||||
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
|
||||
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
|
||||
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
|
||||
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
|
||||
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
|
||||
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using DevComponents.DotNetBar;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using NaiBa.CefHelper;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
public partial class IeForm : LRBaseForm
|
||||
{
|
||||
public string Url { get; set; }
|
||||
public ChromiumWebBrowser cefWebBrowser;
|
||||
public static IeForm ieFormInstance = null;
|
||||
|
||||
public IeForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
if (ieFormInstance != null && ieFormInstance.Created)
|
||||
{
|
||||
ieFormInstance.Close();
|
||||
ieFormInstance.Dispose();
|
||||
}
|
||||
ieFormInstance = this;
|
||||
}
|
||||
|
||||
public IeForm(string _url)
|
||||
{
|
||||
Url = _url;
|
||||
InitializeComponent();
|
||||
|
||||
if (ieFormInstance != null && ieFormInstance.Created)
|
||||
{
|
||||
ieFormInstance.Close();
|
||||
ieFormInstance.Dispose();
|
||||
}
|
||||
ieFormInstance = this;
|
||||
}
|
||||
|
||||
private void IeForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Iconx = Icon = BaseClass.Ico;
|
||||
if (string.IsNullOrEmpty(Url))
|
||||
{
|
||||
Url = "https://login.taobao.com/member/login.jhtml?style=mini&newMini2=true&redirectURL=https://i.taobao.com/my_taobao.htm";
|
||||
this.Width = 401;
|
||||
this.Height = 428;
|
||||
}
|
||||
else
|
||||
{
|
||||
Location = new Point(330, 220);
|
||||
TitleText = Text = "账号登录";
|
||||
this.Width = 1250;
|
||||
this.Height = 686;
|
||||
}
|
||||
|
||||
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(Url);
|
||||
cefWebBrowser.AutoSize = true;
|
||||
cefWebBrowser.Dock = DockStyle.Fill;
|
||||
//cefWebBrowser.RequestContext = new RequestContext(requestContextSettings);
|
||||
cefWebBrowser.KeyboardHandler = new CefKeyboardHandler();
|
||||
cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
|
||||
panel2.Controls.Add(cefWebBrowser);
|
||||
|
||||
TitleText = BaseClass.ToolName;
|
||||
|
||||
cefWebBrowser.AddressChanged += CefWebBrowser_AddressChanged;
|
||||
}
|
||||
|
||||
private void CefWebBrowser_AddressChanged(object sender, AddressChangedEventArgs e)
|
||||
{
|
||||
var url = e.Address;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
txtUrl.Text = url;
|
||||
}));
|
||||
}
|
||||
|
||||
private void CefWebBrowser_FrameLoadEnd(object sender, FrameLoadEndEventArgs e)
|
||||
{
|
||||
if (!cefWebBrowser.IsBrowserInitialized) return;
|
||||
|
||||
ChromeCookiesTaoBao = GetCookies();
|
||||
ChromeCookies1688 = GetCookies("1688.com");
|
||||
}
|
||||
|
||||
public string GetCookies(string domain = "taobao.com")
|
||||
{
|
||||
if (cefWebBrowser != null)
|
||||
{
|
||||
var cookie = CEFBrowser.GetCookie(domain);
|
||||
return cookie;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
private void btnGoTo_Click(object sender, EventArgs e)
|
||||
{
|
||||
var cookies = this.GetCookies();
|
||||
}
|
||||
|
||||
public static string ChromeCookiesTaoBao { get; set; }
|
||||
public static string ChromeCookies1688 { get; set; }
|
||||
}
|
||||
|
||||
internal class CefKeyboardHandler : IKeyboardHandler
|
||||
{
|
||||
public bool OnKeyEvent(IWebBrowser browserControl, IBrowser browser, KeyType type, int windowsKeyCode, int nativeKeyCode, CefEventFlags modifiers, bool isSystemKey)
|
||||
{
|
||||
if (type == KeyType.KeyUp && Enum.IsDefined(typeof(Keys), windowsKeyCode))
|
||||
{
|
||||
var key = (Keys)windowsKeyCode;
|
||||
switch (key)
|
||||
{
|
||||
case Keys.F12:
|
||||
browser.ShowDevTools();
|
||||
break;
|
||||
|
||||
case Keys.F5:
|
||||
|
||||
if (modifiers == CefEventFlags.ControlDown)
|
||||
{
|
||||
//MessageBox.Show("ctrl+f5");
|
||||
browser.Reload(true); //强制忽略缓存
|
||||
}
|
||||
else
|
||||
{
|
||||
//MessageBox.Show("f5");
|
||||
browser.Reload();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool OnPreKeyEvent(IWebBrowser browserControl, IBrowser browser, KeyType type, int windowsKeyCode, int nativeKeyCode, CefEventFlags modifiers, bool isSystemKey, ref bool isKeyboardShortcut)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
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.panel2 = new System.Windows.Forms.Panel();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnGoTo = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.txtUrl = new System.Windows.Forms.TextBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.White;
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1228, 700);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// 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(1, 33);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnGoTo);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txtUrl);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.panel2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1228, 731);
|
||||
this.splitContainer1.SplitterDistance = 27;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// btnGoTo
|
||||
//
|
||||
this.btnGoTo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnGoTo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnGoTo.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnGoTo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnGoTo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnGoTo.ForeColor = System.Drawing.Color.White;
|
||||
this.btnGoTo.Location = new System.Drawing.Point(1165, 2);
|
||||
this.btnGoTo.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnGoTo.Name = "btnGoTo";
|
||||
this.btnGoTo.Size = new System.Drawing.Size(61, 25);
|
||||
this.btnGoTo.TabIndex = 375;
|
||||
this.btnGoTo.Text = "跳转";
|
||||
this.btnGoTo.UseVisualStyleBackColor = false;
|
||||
this.btnGoTo.Click += new System.EventHandler(this.btnGoTo_Click);
|
||||
//
|
||||
// txtUrl
|
||||
//
|
||||
this.txtUrl.Location = new System.Drawing.Point(3, 4);
|
||||
this.txtUrl.Name = "txtUrl";
|
||||
this.txtUrl.Size = new System.Drawing.Size(1161, 21);
|
||||
this.txtUrl.TabIndex = 0;
|
||||
//
|
||||
// IeForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1230, 765);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.DoubleBuffered = true;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "IeForm";
|
||||
this.Text = "浏览器";
|
||||
this.TitleText = "浏览器";
|
||||
this.Load += new System.EventHandler(this.IeForm_Load);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
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 System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.TextBox txtUrl;
|
||||
private UserControls.ButtonEx btnGoTo;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,103 @@
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms.JDVerify
|
||||
{
|
||||
public partial class CollectVerifyForm : LRBaseForm
|
||||
{
|
||||
ChromiumWebBrowser cefWebBrowser1 = null;
|
||||
public string url = "";
|
||||
public CollectVerifyForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
cefWebBrowser1 = new ChromiumWebBrowser(url);
|
||||
cefWebBrowser1.BrowserSettings = new BrowserSettings { Plugins = CefState.Disabled };
|
||||
cefWebBrowser1.Dock = DockStyle.Fill;
|
||||
panel1.Controls.Add(cefWebBrowser1);
|
||||
cefWebBrowser1.FrameLoadEnd += CefWebBrowser1_FrameLoadEnd;
|
||||
}
|
||||
|
||||
private void CefWebBrowser1_FrameLoadEnd(object sender, FrameLoadEndEventArgs e)
|
||||
{
|
||||
if (e.Url.Contains("item.m.jd.com/product"))
|
||||
{
|
||||
GetCookies();
|
||||
|
||||
Action action = new Action(() =>
|
||||
{
|
||||
Thread.Sleep(2000);
|
||||
Work.CollectClass.JingXiCollect.VerifyCodeUrl = "";//验证之后,该值清空
|
||||
this.Close();
|
||||
});
|
||||
|
||||
Task.Factory.StartNew(() =>
|
||||
{
|
||||
if (this.InvokeRequired)
|
||||
this.Invoke(action);
|
||||
else
|
||||
action();
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取cookies
|
||||
/// </summary>
|
||||
private void GetCookies()
|
||||
{
|
||||
cookies.Clear();
|
||||
var cookieManager = Cef.GetGlobalCookieManager();
|
||||
CookieVisitor visitor = new CookieVisitor();
|
||||
visitor.SendCookie += visitor_SendCookie;
|
||||
cookieManager.VisitAllCookies(visitor);
|
||||
}
|
||||
|
||||
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);
|
||||
Console.WriteLine(obj.Name + "=" + obj.Value);
|
||||
}
|
||||
|
||||
}
|
||||
public class CookieVisitor : CefSharp.ICookieVisitor
|
||||
{
|
||||
public event Action<CefSharp.Cookie> SendCookie;
|
||||
public bool Visit(CefSharp.Cookie cookie, int count, int total, ref bool deleteCookie)
|
||||
{
|
||||
deleteCookie = false;
|
||||
if (SendCookie != null)
|
||||
{
|
||||
SendCookie(cookie);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
public void Dispose()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms.JDVerify
|
||||
{
|
||||
partial class CollectVerifyForm
|
||||
{
|
||||
/// <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 Windows 窗体设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(545, 500);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// CollectVerifyForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(545, 500);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.ShowMaximizeBox = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.Name = "CollectVerifyForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "京喜验证";
|
||||
this.TitleText = "京喜验证";
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,799 @@
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms.KeywordsForms
|
||||
{
|
||||
partial class KeywordsCatchFrom
|
||||
{
|
||||
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KeywordsCatchFrom));
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnChangeFissionTitle = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnPicToContent = new DevComponents.DotNetBar.PanelEx();
|
||||
this.exportButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnPicToMain = new DevComponents.DotNetBar.PanelEx();
|
||||
this.newWordTextBox = new System.Windows.Forms.TextBox();
|
||||
this.wordReplaceButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.oldWordTextBox = new System.Windows.Forms.TextBox();
|
||||
this.participleButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.toSpecialButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.remDataButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.keyWordShortButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.toRepeatButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.removeEnglishButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.IrregularitiesButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.keyWordLengthButtonX = new DevComponents.DotNetBar.PanelEx();
|
||||
this.ucGroupBoxEx1 = new LittleRabbit.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.endPriceTextBox = new System.Windows.Forms.TextBox();
|
||||
this.startPriceTextBox = new System.Windows.Forms.TextBox();
|
||||
this.priceCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.titleLengthTextBox = new System.Windows.Forms.TextBox();
|
||||
this.titleLengthCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.btnCaptureTitleZc = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnCollectZc = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txbSearchWord = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.descriptionTextBox = new DevComponents.DotNetBar.Controls.RichTextBoxEx();
|
||||
this.dataGridViewX1 = new LittleRabbit.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colKeywords = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colFrequency = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDel = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel2.SuspendLayout();
|
||||
((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.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.White;
|
||||
this.panel2.Controls.Add(this.splitContainer1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 32);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1280, 768);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1280, 768);
|
||||
this.splitContainer1.SplitterDistance = 120;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// 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.btnChangeFissionTitle);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnPicToContent);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.exportButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnPicToMain);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.newWordTextBox);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.wordReplaceButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.oldWordTextBox);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.participleButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.toSpecialButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.remDataButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.keyWordShortButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.toRepeatButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.removeEnglishButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.IrregularitiesButtonX);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.keyWordLengthButtonX);
|
||||
this.ucGroupBoxEx2.Location = new System.Drawing.Point(377, 1);
|
||||
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(900, 117);
|
||||
this.ucGroupBoxEx2.TabIndex = 632;
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "采集参数";
|
||||
//
|
||||
// btnChangeFissionTitle
|
||||
//
|
||||
this.btnChangeFissionTitle.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnChangeFissionTitle.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnChangeFissionTitle.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnChangeFissionTitle.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnChangeFissionTitle.Location = new System.Drawing.Point(583, 33);
|
||||
this.btnChangeFissionTitle.Name = "btnChangeFissionTitle";
|
||||
this.btnChangeFissionTitle.Size = new System.Drawing.Size(60, 23);
|
||||
this.btnChangeFissionTitle.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeFissionTitle.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeFissionTitle.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeFissionTitle.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnChangeFissionTitle.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnChangeFissionTitle.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnChangeFissionTitle.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnChangeFissionTitle.Style.GradientAngle = 90;
|
||||
this.btnChangeFissionTitle.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnChangeFissionTitle.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeFissionTitle.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnChangeFissionTitle.TabIndex = 720;
|
||||
this.btnChangeFissionTitle.Text = "标题替换";
|
||||
this.btnChangeFissionTitle.Click += new System.EventHandler(this.btnChangeFissionTitle_Click);
|
||||
//
|
||||
// btnPicToContent
|
||||
//
|
||||
this.btnPicToContent.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnPicToContent.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnPicToContent.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnPicToContent.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPicToContent.Location = new System.Drawing.Point(715, 33);
|
||||
this.btnPicToContent.Name = "btnPicToContent";
|
||||
this.btnPicToContent.Size = new System.Drawing.Size(60, 23);
|
||||
this.btnPicToContent.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnPicToContent.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToContent.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToContent.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnPicToContent.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnPicToContent.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnPicToContent.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnPicToContent.Style.GradientAngle = 90;
|
||||
this.btnPicToContent.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnPicToContent.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToContent.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToContent.TabIndex = 669;
|
||||
this.btnPicToContent.Text = "转内容图";
|
||||
this.btnPicToContent.Click += new System.EventHandler(this.btnPicToContent_Click);
|
||||
//
|
||||
// exportButtonX
|
||||
//
|
||||
this.exportButtonX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.exportButtonX.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.exportButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.exportButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.exportButtonX.Location = new System.Drawing.Point(805, 66);
|
||||
this.exportButtonX.Name = "exportButtonX";
|
||||
this.exportButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.exportButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.exportButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.exportButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.exportButtonX.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.exportButtonX.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.exportButtonX.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.exportButtonX.Style.GradientAngle = 90;
|
||||
this.exportButtonX.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.exportButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.exportButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.exportButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.exportButtonX.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.exportButtonX.TabIndex = 686;
|
||||
this.exportButtonX.Text = "导出CSV";
|
||||
this.exportButtonX.Click += new System.EventHandler(this.exportButtonX_Click);
|
||||
//
|
||||
// btnPicToMain
|
||||
//
|
||||
this.btnPicToMain.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnPicToMain.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnPicToMain.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnPicToMain.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPicToMain.Location = new System.Drawing.Point(649, 33);
|
||||
this.btnPicToMain.Name = "btnPicToMain";
|
||||
this.btnPicToMain.Size = new System.Drawing.Size(60, 23);
|
||||
this.btnPicToMain.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnPicToMain.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToMain.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToMain.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnPicToMain.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnPicToMain.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnPicToMain.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnPicToMain.Style.GradientAngle = 90;
|
||||
this.btnPicToMain.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnPicToMain.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToMain.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnPicToMain.TabIndex = 656;
|
||||
this.btnPicToMain.Text = "图片转主";
|
||||
this.btnPicToMain.Click += new System.EventHandler(this.btnPicToMain_Click);
|
||||
//
|
||||
// newWordTextBox
|
||||
//
|
||||
this.newWordTextBox.Location = new System.Drawing.Point(470, 33);
|
||||
this.newWordTextBox.Name = "newWordTextBox";
|
||||
this.newWordTextBox.Size = new System.Drawing.Size(60, 23);
|
||||
this.newWordTextBox.TabIndex = 682;
|
||||
//
|
||||
// wordReplaceButtonX
|
||||
//
|
||||
this.wordReplaceButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.wordReplaceButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.wordReplaceButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.wordReplaceButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.wordReplaceButtonX.Location = new System.Drawing.Point(404, 33);
|
||||
this.wordReplaceButtonX.Name = "wordReplaceButtonX";
|
||||
this.wordReplaceButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.wordReplaceButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.wordReplaceButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.wordReplaceButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.wordReplaceButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.wordReplaceButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.wordReplaceButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.wordReplaceButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.wordReplaceButtonX.Style.GradientAngle = 90;
|
||||
this.wordReplaceButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.wordReplaceButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.wordReplaceButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.wordReplaceButtonX.TabIndex = 681;
|
||||
this.wordReplaceButtonX.Text = "替换成";
|
||||
this.wordReplaceButtonX.Click += new System.EventHandler(this.wordReplaceButtonX_Click);
|
||||
//
|
||||
// oldWordTextBox
|
||||
//
|
||||
this.oldWordTextBox.Location = new System.Drawing.Point(338, 33);
|
||||
this.oldWordTextBox.Name = "oldWordTextBox";
|
||||
this.oldWordTextBox.Size = new System.Drawing.Size(60, 23);
|
||||
this.oldWordTextBox.TabIndex = 677;
|
||||
//
|
||||
// participleButtonX
|
||||
//
|
||||
this.participleButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.participleButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.participleButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.participleButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.participleButtonX.Location = new System.Drawing.Point(262, 66);
|
||||
this.participleButtonX.Name = "participleButtonX";
|
||||
this.participleButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.participleButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.participleButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.participleButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.participleButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.participleButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.participleButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.participleButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.participleButtonX.Style.GradientAngle = 90;
|
||||
this.participleButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.participleButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.participleButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.participleButtonX.TabIndex = 676;
|
||||
this.participleButtonX.Text = "一键分词";
|
||||
this.participleButtonX.Click += new System.EventHandler(this.participleButtonX_Click);
|
||||
//
|
||||
// toSpecialButtonX
|
||||
//
|
||||
this.toSpecialButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.toSpecialButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.toSpecialButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.toSpecialButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.toSpecialButtonX.Location = new System.Drawing.Point(110, 66);
|
||||
this.toSpecialButtonX.Name = "toSpecialButtonX";
|
||||
this.toSpecialButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.toSpecialButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.toSpecialButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.toSpecialButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.toSpecialButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.toSpecialButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.toSpecialButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.toSpecialButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.toSpecialButtonX.Style.GradientAngle = 90;
|
||||
this.toSpecialButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.toSpecialButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.toSpecialButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.toSpecialButtonX.TabIndex = 674;
|
||||
this.toSpecialButtonX.Text = "去符号";
|
||||
this.toSpecialButtonX.Click += new System.EventHandler(this.toSpecialButtonX_Click);
|
||||
//
|
||||
// remDataButtonX
|
||||
//
|
||||
this.remDataButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.remDataButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.remDataButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.remDataButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.remDataButtonX.Location = new System.Drawing.Point(186, 66);
|
||||
this.remDataButtonX.Name = "remDataButtonX";
|
||||
this.remDataButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.remDataButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.remDataButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.remDataButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.remDataButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.remDataButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.remDataButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.remDataButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.remDataButtonX.Style.GradientAngle = 90;
|
||||
this.remDataButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.remDataButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.remDataButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.remDataButtonX.TabIndex = 675;
|
||||
this.remDataButtonX.Text = "去数字";
|
||||
this.remDataButtonX.Click += new System.EventHandler(this.remDataButtonX_Click);
|
||||
//
|
||||
// keyWordShortButtonX
|
||||
//
|
||||
this.keyWordShortButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.keyWordShortButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.keyWordShortButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.keyWordShortButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.keyWordShortButtonX.Location = new System.Drawing.Point(34, 66);
|
||||
this.keyWordShortButtonX.Name = "keyWordShortButtonX";
|
||||
this.keyWordShortButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.keyWordShortButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.keyWordShortButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.keyWordShortButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.keyWordShortButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.keyWordShortButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.keyWordShortButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.keyWordShortButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.keyWordShortButtonX.Style.GradientAngle = 90;
|
||||
this.keyWordShortButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.keyWordShortButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.keyWordShortButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.keyWordShortButtonX.TabIndex = 673;
|
||||
this.keyWordShortButtonX.Text = "短词排前";
|
||||
this.keyWordShortButtonX.Click += new System.EventHandler(this.keyWordShortButtonX_Click);
|
||||
//
|
||||
// toRepeatButtonX
|
||||
//
|
||||
this.toRepeatButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.toRepeatButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.toRepeatButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.toRepeatButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.toRepeatButtonX.Location = new System.Drawing.Point(262, 33);
|
||||
this.toRepeatButtonX.Name = "toRepeatButtonX";
|
||||
this.toRepeatButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.toRepeatButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.toRepeatButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.toRepeatButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.toRepeatButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.toRepeatButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.toRepeatButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.toRepeatButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.toRepeatButtonX.Style.GradientAngle = 90;
|
||||
this.toRepeatButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.toRepeatButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.toRepeatButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.toRepeatButtonX.TabIndex = 660;
|
||||
this.toRepeatButtonX.Text = "去重复";
|
||||
this.toRepeatButtonX.Click += new System.EventHandler(this.toRepeatButtonX_Click);
|
||||
//
|
||||
// removeEnglishButtonX
|
||||
//
|
||||
this.removeEnglishButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.removeEnglishButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.removeEnglishButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.removeEnglishButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.removeEnglishButtonX.Location = new System.Drawing.Point(110, 33);
|
||||
this.removeEnglishButtonX.Name = "removeEnglishButtonX";
|
||||
this.removeEnglishButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.removeEnglishButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.removeEnglishButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.removeEnglishButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.removeEnglishButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.removeEnglishButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.removeEnglishButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.removeEnglishButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.removeEnglishButtonX.Style.GradientAngle = 90;
|
||||
this.removeEnglishButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.removeEnglishButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.removeEnglishButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.removeEnglishButtonX.TabIndex = 639;
|
||||
this.removeEnglishButtonX.Text = "去英文";
|
||||
this.removeEnglishButtonX.Click += new System.EventHandler(this.removeEnglishButtonX_Click);
|
||||
//
|
||||
// IrregularitiesButtonX
|
||||
//
|
||||
this.IrregularitiesButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.IrregularitiesButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.IrregularitiesButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.IrregularitiesButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.IrregularitiesButtonX.Location = new System.Drawing.Point(186, 33);
|
||||
this.IrregularitiesButtonX.Name = "IrregularitiesButtonX";
|
||||
this.IrregularitiesButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.IrregularitiesButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.IrregularitiesButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.IrregularitiesButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.IrregularitiesButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.IrregularitiesButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.IrregularitiesButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.IrregularitiesButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.IrregularitiesButtonX.Style.GradientAngle = 90;
|
||||
this.IrregularitiesButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.IrregularitiesButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.IrregularitiesButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.IrregularitiesButtonX.TabIndex = 659;
|
||||
this.IrregularitiesButtonX.Text = "去违规词";
|
||||
this.IrregularitiesButtonX.Click += new System.EventHandler(this.IrregularitiesButtonX_Click);
|
||||
//
|
||||
// keyWordLengthButtonX
|
||||
//
|
||||
this.keyWordLengthButtonX.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.keyWordLengthButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.keyWordLengthButtonX.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.keyWordLengthButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.keyWordLengthButtonX.Location = new System.Drawing.Point(34, 33);
|
||||
this.keyWordLengthButtonX.Name = "keyWordLengthButtonX";
|
||||
this.keyWordLengthButtonX.Size = new System.Drawing.Size(60, 23);
|
||||
this.keyWordLengthButtonX.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.keyWordLengthButtonX.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.keyWordLengthButtonX.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.keyWordLengthButtonX.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.keyWordLengthButtonX.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.keyWordLengthButtonX.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.keyWordLengthButtonX.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.keyWordLengthButtonX.Style.GradientAngle = 90;
|
||||
this.keyWordLengthButtonX.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.keyWordLengthButtonX.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.keyWordLengthButtonX.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.keyWordLengthButtonX.TabIndex = 635;
|
||||
this.keyWordLengthButtonX.Text = "长词排前";
|
||||
this.keyWordLengthButtonX.Click += new System.EventHandler(this.keyWordLengthButtonX_Click);
|
||||
//
|
||||
// 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.checkBox1);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label14);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.endPriceTextBox);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.startPriceTextBox);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.priceCheckBox);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.titleLengthTextBox);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.titleLengthCheckBox);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnCaptureTitleZc);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnCollectZc);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.txbSearchWord);
|
||||
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 1);
|
||||
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
|
||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(374, 117);
|
||||
this.ucGroupBoxEx1.TabIndex = 631;
|
||||
this.ucGroupBoxEx1.TabStop = false;
|
||||
this.ucGroupBoxEx1.Text = "采集参数";
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(154, 53);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(87, 21);
|
||||
this.checkBox1.TabIndex = 646;
|
||||
this.checkBox1.Text = "采集有销量";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(133, 83);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(18, 17);
|
||||
this.label14.TabIndex = 645;
|
||||
this.label14.Text = "--";
|
||||
//
|
||||
// endPriceTextBox
|
||||
//
|
||||
this.endPriceTextBox.Location = new System.Drawing.Point(154, 80);
|
||||
this.endPriceTextBox.Name = "endPriceTextBox";
|
||||
this.endPriceTextBox.Size = new System.Drawing.Size(31, 23);
|
||||
this.endPriceTextBox.TabIndex = 644;
|
||||
//
|
||||
// startPriceTextBox
|
||||
//
|
||||
this.startPriceTextBox.Location = new System.Drawing.Point(99, 80);
|
||||
this.startPriceTextBox.Name = "startPriceTextBox";
|
||||
this.startPriceTextBox.Size = new System.Drawing.Size(31, 23);
|
||||
this.startPriceTextBox.TabIndex = 643;
|
||||
//
|
||||
// priceCheckBox
|
||||
//
|
||||
this.priceCheckBox.AutoSize = true;
|
||||
this.priceCheckBox.Location = new System.Drawing.Point(16, 81);
|
||||
this.priceCheckBox.Name = "priceCheckBox";
|
||||
this.priceCheckBox.Size = new System.Drawing.Size(75, 21);
|
||||
this.priceCheckBox.TabIndex = 642;
|
||||
this.priceCheckBox.Text = "价格区间";
|
||||
this.priceCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// titleLengthTextBox
|
||||
//
|
||||
this.titleLengthTextBox.Location = new System.Drawing.Point(99, 51);
|
||||
this.titleLengthTextBox.Name = "titleLengthTextBox";
|
||||
this.titleLengthTextBox.Size = new System.Drawing.Size(31, 23);
|
||||
this.titleLengthTextBox.TabIndex = 641;
|
||||
//
|
||||
// titleLengthCheckBox
|
||||
//
|
||||
this.titleLengthCheckBox.AutoSize = true;
|
||||
this.titleLengthCheckBox.Location = new System.Drawing.Point(16, 53);
|
||||
this.titleLengthCheckBox.Name = "titleLengthCheckBox";
|
||||
this.titleLengthCheckBox.Size = new System.Drawing.Size(88, 21);
|
||||
this.titleLengthCheckBox.TabIndex = 640;
|
||||
this.titleLengthCheckBox.Text = "删除长度 <";
|
||||
this.titleLengthCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnCaptureTitleZc
|
||||
//
|
||||
this.btnCaptureTitleZc.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCaptureTitleZc.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCaptureTitleZc.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnCaptureTitleZc.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCaptureTitleZc.Location = new System.Drawing.Point(303, 22);
|
||||
this.btnCaptureTitleZc.Name = "btnCaptureTitleZc";
|
||||
this.btnCaptureTitleZc.Size = new System.Drawing.Size(60, 23);
|
||||
this.btnCaptureTitleZc.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCaptureTitleZc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCaptureTitleZc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCaptureTitleZc.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnCaptureTitleZc.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnCaptureTitleZc.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnCaptureTitleZc.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnCaptureTitleZc.Style.GradientAngle = 90;
|
||||
this.btnCaptureTitleZc.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCaptureTitleZc.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCaptureTitleZc.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCaptureTitleZc.TabIndex = 639;
|
||||
this.btnCaptureTitleZc.Text = "抓取标题";
|
||||
this.btnCaptureTitleZc.Click += new System.EventHandler(this.btnCaptureTitleZc_Click);
|
||||
//
|
||||
// btnCollectZc
|
||||
//
|
||||
this.btnCollectZc.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCollectZc.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCollectZc.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnCollectZc.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCollectZc.Location = new System.Drawing.Point(230, 22);
|
||||
this.btnCollectZc.Name = "btnCollectZc";
|
||||
this.btnCollectZc.Size = new System.Drawing.Size(60, 23);
|
||||
this.btnCollectZc.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCollectZc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCollectZc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnCollectZc.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnCollectZc.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnCollectZc.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnCollectZc.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnCollectZc.Style.GradientAngle = 90;
|
||||
this.btnCollectZc.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnCollectZc.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCollectZc.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnCollectZc.TabIndex = 635;
|
||||
this.btnCollectZc.Text = "开始采集";
|
||||
this.btnCollectZc.Click += new System.EventHandler(this.btnCollectZc_Click);
|
||||
//
|
||||
// txbSearchWord
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txbSearchWord.Border.Class = "TextBoxBorder";
|
||||
this.txbSearchWord.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txbSearchWord.Location = new System.Drawing.Point(16, 22);
|
||||
this.txbSearchWord.Name = "txbSearchWord";
|
||||
this.txbSearchWord.PreventEnterBeep = true;
|
||||
this.txbSearchWord.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.txbSearchWord.Size = new System.Drawing.Size(208, 23);
|
||||
this.txbSearchWord.TabIndex = 630;
|
||||
this.txbSearchWord.WatermarkText = "输入关键词/URL";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.Controls.Add(this.descriptionTextBox);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 4);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.dataGridViewX1);
|
||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 4);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1280, 644);
|
||||
this.splitContainer2.SplitterDistance = 635;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// descriptionTextBox
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.descriptionTextBox.BackgroundStyle.Class = "RichTextBoxBorder";
|
||||
this.descriptionTextBox.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.descriptionTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.descriptionTextBox.Location = new System.Drawing.Point(4, 0);
|
||||
this.descriptionTextBox.Name = "descriptionTextBox";
|
||||
this.descriptionTextBox.Rtf = "{\\rtf1\\ansi\\deff0\\nouicompat{\\fonttbl{\\f0\\fnil\\fcharset134 \\\'ce\\\'a2\\\'c8\\\'ed\\\'d1\\\'" +
|
||||
"c5\\\'ba\\\'da;}}\r\n{\\*\\generator Riched20 10.0.19041}\\viewkind4\\uc1 \r\n\\pard\\f0\\fs18\\" +
|
||||
"lang2052 .\\par\r\n}\r\n";
|
||||
this.descriptionTextBox.Size = new System.Drawing.Size(631, 640);
|
||||
this.descriptionTextBox.TabIndex = 1;
|
||||
this.descriptionTextBox.Text = ".";
|
||||
//
|
||||
// dataGridViewX1
|
||||
//
|
||||
this.dataGridViewX1.AllowUserToAddRows = false;
|
||||
this.dataGridViewX1.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dataGridViewX1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridViewX1.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dataGridViewX1.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.dataGridViewX1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
this.colId,
|
||||
this.colKeywords,
|
||||
this.colFrequency,
|
||||
this.colDel});
|
||||
this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridViewX1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridViewX1.Name = "dataGridViewX1";
|
||||
this.dataGridViewX1.ReadOnly = true;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewX1.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridViewX1.RowTemplate.Height = 23;
|
||||
this.dataGridViewX1.Size = new System.Drawing.Size(637, 640);
|
||||
this.dataGridViewX1.TabIndex = 7;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 50F;
|
||||
this.colSelect.HeaderText = "选";
|
||||
this.colSelect.Name = "colSelect";
|
||||
this.colSelect.ReadOnly = true;
|
||||
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSelect.Width = 41;
|
||||
//
|
||||
// colId
|
||||
//
|
||||
this.colId.HeaderText = "序号";
|
||||
this.colId.Name = "colId";
|
||||
this.colId.ReadOnly = true;
|
||||
this.colId.Width = 150;
|
||||
//
|
||||
// colKeywords
|
||||
//
|
||||
this.colKeywords.HeaderText = "关键词";
|
||||
this.colKeywords.Name = "colKeywords";
|
||||
this.colKeywords.ReadOnly = true;
|
||||
this.colKeywords.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colKeywords.Width = 350;
|
||||
//
|
||||
// colFrequency
|
||||
//
|
||||
this.colFrequency.HeaderText = "出现频率";
|
||||
this.colFrequency.Name = "colFrequency";
|
||||
this.colFrequency.ReadOnly = true;
|
||||
this.colFrequency.Width = 60;
|
||||
//
|
||||
// colDel
|
||||
//
|
||||
this.colDel.HeaderText = "删除";
|
||||
this.colDel.Name = "colDel";
|
||||
this.colDel.ReadOnly = true;
|
||||
this.colDel.Width = 60;
|
||||
//
|
||||
// KeywordsCatchFrom
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1280, 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.Name = "KeywordsCatchFrom";
|
||||
this.Padding = new System.Windows.Forms.Padding(0);
|
||||
this.ShowMaximizeBox = true;
|
||||
this.Text = "抓词工具";
|
||||
this.TitleText = "抓词工具";
|
||||
this.Load += new System.EventHandler(this.KeywordsCatchFrom_Load);
|
||||
this.Controls.SetChildIndex(this.panel2, 0);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ucGroupBoxEx2.ResumeLayout(false);
|
||||
this.ucGroupBoxEx2.PerformLayout();
|
||||
this.ucGroupBoxEx1.ResumeLayout(false);
|
||||
this.ucGroupBoxEx1.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.dataGridViewX1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txbSearchWord;
|
||||
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
|
||||
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
|
||||
private System.Windows.Forms.TextBox newWordTextBox;
|
||||
private DevComponents.DotNetBar.PanelEx wordReplaceButtonX;
|
||||
private System.Windows.Forms.TextBox oldWordTextBox;
|
||||
private DevComponents.DotNetBar.PanelEx participleButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx toSpecialButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx remDataButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx keyWordShortButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx toRepeatButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx removeEnglishButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx IrregularitiesButtonX;
|
||||
private DevComponents.DotNetBar.PanelEx keyWordLengthButtonX;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.TextBox endPriceTextBox;
|
||||
private System.Windows.Forms.TextBox startPriceTextBox;
|
||||
private System.Windows.Forms.CheckBox priceCheckBox;
|
||||
private System.Windows.Forms.TextBox titleLengthTextBox;
|
||||
private System.Windows.Forms.CheckBox titleLengthCheckBox;
|
||||
private DevComponents.DotNetBar.PanelEx btnCaptureTitleZc;
|
||||
private DevComponents.DotNetBar.PanelEx btnCollectZc;
|
||||
private DevComponents.DotNetBar.PanelEx exportButtonX;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private DevComponents.DotNetBar.Controls.RichTextBoxEx descriptionTextBox;
|
||||
private UserComponent.DataGridViewEx dataGridViewX1;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colKeywords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFrequency;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDel;
|
||||
private DevComponents.DotNetBar.PanelEx btnPicToMain;
|
||||
private DevComponents.DotNetBar.PanelEx btnPicToContent;
|
||||
private DevComponents.DotNetBar.PanelEx btnChangeFissionTitle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,639 @@
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
using LittleRabbit.Helper;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using LittleRabbit.LittleRabbitForms.UploadForms;
|
||||
using NaiBa.CefHelper.Handler;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work.BLL.Upload;
|
||||
using Work.CollectClass;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms.KeywordsForms
|
||||
{
|
||||
public partial class KeywordsCatchFrom : LRBaseForm
|
||||
{
|
||||
public Fission fission = null;
|
||||
|
||||
private bool IsCf = false;
|
||||
private string tempUrl = "";
|
||||
public delegate void delegateView();
|
||||
private List<string> titleList = new List<string>(); // 用于存储标题集合
|
||||
public ChromiumWebBrowser cwbSearchTitle; // 用于根据关键词采集标题
|
||||
private List<string> TemptitleList = new List<string>();//用于存储标题的临时集合
|
||||
|
||||
public KeywordsCatchFrom()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void KeywordsCatchFrom_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnCollectZc_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (txbSearchWord.Text.Trim().Length == 0)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请输入关键词!", "提示");
|
||||
return;
|
||||
}
|
||||
titleList.Clear();
|
||||
DisabledCaptureTitleZc();
|
||||
//TemptitleList.Clear();
|
||||
string targetUrl;
|
||||
//根据文本框内容判断是网址还是关键词
|
||||
if (txbSearchWord.Text.Trim().Contains("/"))
|
||||
{
|
||||
targetUrl = txbSearchWord.Text.Trim();
|
||||
}
|
||||
else
|
||||
{
|
||||
targetUrl = "https://s.taobao.com/search?initiative_id=tbindexz_20170306&ie=utf8&spm=a21bo.2017.201856-taobao-item.2&sourceId=tb.index&search_type=item&ssid=s5-e&commend=all&imgfile=&q=" + txbSearchWord.Text.Trim() + "&suggest=history_1&_input_charset=utf-8&wq=&suggest_query=&source=suggest";
|
||||
if (priceCheckBox.Checked)
|
||||
{
|
||||
string minPrice = startPriceTextBox.Text;
|
||||
string maxPrice = endPriceTextBox.Text;
|
||||
targetUrl += "&filter=reserve_price%5B" + minPrice + "%2C" + maxPrice + "%5D";
|
||||
}
|
||||
}
|
||||
|
||||
if (cwbSearchTitle != null)
|
||||
{
|
||||
cwbSearchTitle.Load(targetUrl);
|
||||
cwbSearchTitle.Visible = true;
|
||||
return;
|
||||
}
|
||||
cwbSearchTitle = new ChromiumWebBrowser(targetUrl) { Dock = DockStyle.Fill, Visible = true };
|
||||
splitContainer1.Panel2.Controls.Add(cwbSearchTitle);
|
||||
cwbSearchTitle.BringToFront();
|
||||
cwbSearchTitle.AddressChanged += CwbSearchTitle_AddressChanged; //url 地址有变化 则触发 add by tl 20190227
|
||||
cwbSearchTitle.FrameLoadEnd += cwbSearchTitle_FrameLoadEnd;
|
||||
cwbSearchTitle.LifeSpanHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
|
||||
cwbSearchTitle.KeyboardHandler = new KeyboardHandler();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// url 有变化时 则触发 add by tl 20190228
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void CwbSearchTitle_AddressChanged(object sender, AddressChangedEventArgs e)
|
||||
{
|
||||
Invoke(new delegateView(DisabledCaptureTitleZc));
|
||||
if (!IsCf)
|
||||
{
|
||||
if (e.Address.Contains("https://s.taobao.com/search/_____tmd_____/verify/?nc_token="))
|
||||
{
|
||||
IsCf = true;
|
||||
cwbSearchTitle.Load(tempUrl);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
//判断url是否有变化 有变化则需要load一下,这样获取网页源码才能有变化 add by tl 20190228
|
||||
if (tempUrl != e.Address)
|
||||
{
|
||||
tempUrl = e.Address; //临时存储url
|
||||
cwbSearchTitle.Load(e.Address);
|
||||
}
|
||||
//点击页面排序时 清空集合 add by tl 20190228
|
||||
if (e.Address.Contains("default") || e.Address.Contains("sale-desc") || e.Address.Contains("credit-desc"))
|
||||
{
|
||||
|
||||
if (e.Address.Contains("default&") || e.Address.Contains("sale-desc&") || e.Address.Contains("credit-desc&"))
|
||||
{
|
||||
//TempSort = "default&";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
titleList.Clear();
|
||||
TemptitleList.Clear();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 禁用抓取标题 add by tl 20190304
|
||||
/// </summary>
|
||||
public void DisabledCaptureTitleZc()
|
||||
{
|
||||
btnCaptureTitleZc.Enabled = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 界面加载完成时 add by tl 20190228
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void cwbSearchTitle_FrameLoadEnd(object sender, FrameLoadEndEventArgs e)
|
||||
{
|
||||
//界面加载完成则获取标题 add by tl 20190228
|
||||
new Thread(GetData).Start();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取标题 add by tl 20190228
|
||||
/// </summary>
|
||||
private void GetData()
|
||||
{
|
||||
var task = cwbSearchTitle.GetSourceAsync();
|
||||
task.Wait();
|
||||
string html = task.Result;
|
||||
|
||||
string sContent = task.Result;
|
||||
if (sContent.Length == 0) return;
|
||||
string strReg = "g_page_config = [^<]+";
|
||||
var titleCon = BaseRegex.GetMatchRegex(ref sContent, strReg);
|
||||
if (titleCon.Count == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int titleLength = titleLengthTextBox.Text == "" ? 0 : Convert.ToInt32(titleLengthTextBox.Text);//去除标题小于这个长度的
|
||||
string content = titleCon[0].Groups[0].Value;
|
||||
string regTitle = "\"raw_title\":\"([\\s\\S]+?)\"";
|
||||
string regPrice = "\"view_price\":\"([\\s\\S]+?)\"";
|
||||
string regSales = "\"view_sales\":\"(\\d*)人付款\"";
|
||||
var priceArr = BaseRegex.GetMatchRegex(ref content, regPrice);
|
||||
var titleArr = BaseRegex.GetMatchRegex(ref content, regTitle);
|
||||
var salesArr = BaseRegex.GetMatchRegex(ref content, regSales);
|
||||
if (titleArr.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < titleArr.Count; i++)
|
||||
{
|
||||
string titleItem = titleArr[i].Value;
|
||||
if (titleLengthCheckBox.Checked)//判断标题长度够不够
|
||||
{
|
||||
int titleItemLength = titleItem.Length;
|
||||
if (titleItemLength <= titleLength)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (checkBox1.Checked && salesArr.Count == titleArr.Count)
|
||||
{
|
||||
string sales = salesArr[i].Value;
|
||||
if (BaseRegex.GetStringJson(ref sales, "view_sales") == "0人付款")
|
||||
continue;
|
||||
}
|
||||
string title = BaseRegex.GetStringJson(ref titleItem, "raw_title");
|
||||
titleList.Add(title.Replace("\"", ""));
|
||||
}
|
||||
|
||||
};
|
||||
if (titleList.Count > 0)
|
||||
{
|
||||
Invoke(new delegateView(EnabledCaptureTitleZc));
|
||||
}
|
||||
//Invoke(new delegateView(ShowView));
|
||||
//cwbSearchTitle.Visible = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 显示抓取标题 add by tl 20190304
|
||||
/// </summary>
|
||||
public void EnabledCaptureTitleZc()
|
||||
{
|
||||
btnCaptureTitleZc.Enabled = true;
|
||||
}
|
||||
|
||||
private void btnCaptureTitleZc_Click(object sender, EventArgs e)
|
||||
{
|
||||
//titleList.Clear();
|
||||
descriptionTextBox.Text = "";
|
||||
|
||||
if (cwbSearchTitle == null) return;
|
||||
|
||||
//将数据显示到文本框中 add by tl 20190228
|
||||
Invoke(new delegateView(ShowView));
|
||||
cwbSearchTitle.Visible = false;//显示控件 add by tl 20190228
|
||||
}
|
||||
|
||||
public void ShowView()
|
||||
{
|
||||
descriptionTextBox.Clear();
|
||||
//if (TemptitleList.Count <= 0) return;
|
||||
//获取标题临时变量赋值,同时去重 add by tl 20190228
|
||||
titleList = titleList.Distinct().ToList();
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
descriptionTextBox.AppendText(titleList[i] + "\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
private void keyWordLengthButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
titleList = titleList.OrderByDescending(s => s.Length).ToList();
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
private void Reload()
|
||||
{
|
||||
titleList.Clear();
|
||||
string[] l = descriptionTextBox.Text.Split('\n');
|
||||
for (int i = 0; i < l.Length; i++)
|
||||
{
|
||||
if (string.IsNullOrEmpty(l[i]))
|
||||
continue;
|
||||
l[i] = l[i].Trim();
|
||||
titleList.Add(l[i]);
|
||||
}
|
||||
}
|
||||
|
||||
private void keyWordShortButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
titleList = titleList.OrderBy(s => s.Length).ToList();
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
private void removeEnglishButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
new Thread(RemoveEnglish).Start();
|
||||
}
|
||||
|
||||
public void RemoveEnglish()
|
||||
{
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
string pattern = @"[A-Za-z]{3,}";
|
||||
var viewMatch = BaseRegex.GetMatchRegex(titleList[i], pattern);
|
||||
if (viewMatch != null && viewMatch.Count > 0)
|
||||
{
|
||||
for (int j = 0; j < viewMatch.Count; j++)
|
||||
{
|
||||
string englishstr = viewMatch[j].Groups[0].Value;
|
||||
titleList[i] = titleList[i].Replace(englishstr, "").Replace(" ", "");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
private void toSpecialButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
titleList[i] = ReplaceStr(titleList[i]);
|
||||
}
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
public static string ReplaceStr(string str)
|
||||
{
|
||||
str = str.Replace(",", "");
|
||||
str = str.Replace("'", "");
|
||||
str = str.Replace(";", "");
|
||||
str = str.Replace(":", "");
|
||||
str = str.Replace("/", "");
|
||||
str = str.Replace("?", "");
|
||||
str = str.Replace("<", "");
|
||||
str = str.Replace(">", "");
|
||||
str = str.Replace(".", "");
|
||||
str = str.Replace("#", "");
|
||||
str = str.Replace("%", "");
|
||||
str = str.Replace("%", "");
|
||||
str = str.Replace("^", "");
|
||||
str = str.Replace("//", "");
|
||||
str = str.Replace("@", "");
|
||||
str = str.Replace("(", "");
|
||||
str = str.Replace(")", "");
|
||||
str = str.Replace("*", "");
|
||||
str = str.Replace("~", "");
|
||||
str = str.Replace("`", "");
|
||||
str = str.Replace("$", "");
|
||||
str = str.Replace(" ", "");
|
||||
return str;
|
||||
}
|
||||
|
||||
private void IrregularitiesButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
for (int j = 0; j < UploadProductBLL.FilterTitleWordList.Count; j++)
|
||||
{
|
||||
if (titleList[i].Contains(UploadProductBLL.FilterTitleWordList[j]))
|
||||
titleList[i] = titleList[i].Replace(UploadProductBLL.FilterTitleWordList[j], "");
|
||||
}
|
||||
for (int j = 0; j < UploadProductBLL.FilterRemoveTitleWordList.Count; j++)
|
||||
{
|
||||
if (titleList[i].Contains(UploadProductBLL.FilterRemoveTitleWordList[j]))
|
||||
titleList[i] = titleList[i].Replace(UploadProductBLL.FilterRemoveTitleWordList[j], "");
|
||||
}
|
||||
for (int j = 0; j < UploadProductBLL.FilterBrandWordList.Count; j++)
|
||||
{
|
||||
if (titleList[i].Contains(UploadProductBLL.FilterBrandWordList[j]))
|
||||
titleList[i] = titleList[i].Replace(UploadProductBLL.FilterBrandWordList[j], "");
|
||||
}
|
||||
}
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
private void remDataButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
string pattern = @"[\d]+";
|
||||
var viewMatch = BaseRegex.GetMatchRegex(titleList[i], pattern);
|
||||
|
||||
if (viewMatch != null && viewMatch.Count > 0)
|
||||
{
|
||||
for (int j = 0; j < viewMatch.Count; j++)
|
||||
{
|
||||
string englishstr = viewMatch[j].Groups[0].Value;
|
||||
titleList[i] = titleList[i].Replace(englishstr, "").Replace(" ", "");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
private void toRepeatButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
titleList = titleList.Distinct().ToList();
|
||||
Invoke(new delegateView(ShowView));
|
||||
}
|
||||
|
||||
Dictionary<string, int> keys = new Dictionary<string, int>();
|
||||
private void participleButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
Reload();
|
||||
keys.Clear();
|
||||
dataGridViewX1.Rows.Clear();
|
||||
for (int i = 0; i < titleList.Count; i++)
|
||||
{
|
||||
GetFenCi(titleList[i]);
|
||||
}
|
||||
var keylist = keys.ToList();
|
||||
keylist = keylist.OrderByDescending(u => u.Value).ToList();
|
||||
for (int i = 0; i < keylist.Count; i++)
|
||||
{
|
||||
dataGridViewX1.Rows.Add(dataGridViewX1.Rows.Count + 1, keylist[i].Key, keylist[i].Value, "删除");
|
||||
}
|
||||
}
|
||||
|
||||
public static Dictionary<string, int> Keywords = new Dictionary<string, int>();
|
||||
public void GetFenCi(string title)
|
||||
{
|
||||
for (int i = 2; i < title.Length; i++)
|
||||
{
|
||||
for (int j = 0; j < title.Length - i; j++)
|
||||
{
|
||||
string key = title.Substring(j, i).Trim();
|
||||
if (string.IsNullOrEmpty(key))
|
||||
continue;
|
||||
if (Keywords.ContainsKey(key))
|
||||
{
|
||||
if (!keys.ContainsKey(key))
|
||||
{
|
||||
keys.Add(key, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
keys[key] = keys[key] + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void wordReplaceButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
string oldWord = this.oldWordTextBox.Text;
|
||||
string newWord = this.newWordTextBox.Text;
|
||||
if (string.IsNullOrEmpty(oldWord)) // 替换的字符不能为空 否则程序报错 add by tl20190301
|
||||
{
|
||||
BaseMsgForm.ShowInfo("需要替换的字符不能为空!");
|
||||
return;
|
||||
}
|
||||
|
||||
descriptionTextBox.Text = descriptionTextBox.Text.Replace(oldWord, newWord);
|
||||
}
|
||||
|
||||
private void exportButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog dialog = new SaveFileDialog();
|
||||
dialog.Title = "Save file as...";
|
||||
dialog.Filter = "Excel files (*.csv)|*.csv|All files (*.*)|*.*";
|
||||
dialog.RestoreDirectory = true;
|
||||
|
||||
dialog.FileName = "淘宝关键词:" + DateTime.Now.ToString("yyyy-MM-dd") + ".csv";
|
||||
if (dialog.ShowDialog() != DialogResult.OK)
|
||||
return;
|
||||
OutExcel.SaveFile(dialog.FileName, dataGridViewX1);
|
||||
}
|
||||
|
||||
private void btnPicToMain_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (cwbSearchTitle == null || !cwbSearchTitle.IsBrowserInitialized)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("网页加载失败!");
|
||||
return;
|
||||
}
|
||||
|
||||
// 详情页转主图
|
||||
if (cwbSearchTitle.Address.Contains("tmall.com/item.htm?") || cwbSearchTitle.Address.Contains("taobao.com/item.htm?"))
|
||||
{
|
||||
//9787030687623
|
||||
var jsStr = "function getImgUrl() {" +
|
||||
" var imgStr = '';" +
|
||||
" var mainPicControls = document.getElementsByClassName('tb-thumb tb-clearfix');" +
|
||||
" if (mainPicControls.length === 0) {" +
|
||||
" var uls = document.getElementsByTagName('ul');" +
|
||||
" for (i = 0; i < uls.length; i++) {" +
|
||||
" if (uls[i].className.indexOf('PicGallery--thumbnails') >= 0) {" +
|
||||
" imgStr = uls[i].innerHTML;" +
|
||||
" break;" +
|
||||
" }" +
|
||||
" }" +
|
||||
" }" +
|
||||
" else {" +
|
||||
" imgStr = mainPicControls[0].innerHTML;" +
|
||||
" }" +
|
||||
" return imgStr;" +
|
||||
"} " +
|
||||
"getImgUrl();";
|
||||
|
||||
var t1 = cwbSearchTitle.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t1.Wait();
|
||||
var html = t1.Result?.Result?.ToString();
|
||||
if (!string.IsNullOrEmpty(html))
|
||||
{
|
||||
var res = BaseRegex.GetMatchRegex(ref html, " src=\"([\\s\\S]+?)\"");
|
||||
|
||||
var htmlTempArr = res.Cast<Match>().Select(m => m.ToString()).ToArray();
|
||||
htmlTempArr = htmlTempArr.Where(s => !s.EndsWith("/s.gif")).ToArray();
|
||||
var htmlList = new List<string>();
|
||||
foreach (var str in htmlTempArr)
|
||||
{
|
||||
var strTemp = str.Trim().Replace("src=", "").Trim('\"').Replace(".jpg_230x230", "").Replace("_.webp", "");
|
||||
if (strTemp.Contains(".jpg_"))
|
||||
strTemp = strTemp.Substring(0, strTemp.IndexOf(".jpg_")) + ".jpg";
|
||||
if (!strTemp.StartsWith("http"))
|
||||
strTemp = "https://" + strTemp.Trim('/');
|
||||
htmlList.Add(strTemp);
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
if (fission != null)
|
||||
fission.MulitAddMainImageWithCatchWords(htmlList);
|
||||
Invoke(new Action(() => { BaseMsgForm.ShowInfo("图片转主完成!"); }));
|
||||
});
|
||||
}
|
||||
else
|
||||
BaseMsgForm.ShowInfo("图片转主失败!");
|
||||
|
||||
|
||||
return;
|
||||
//var address = cwbSearchTitle.Address;
|
||||
//var id = BaseRegex.GetMatchRegexString(ref address, "id=(\\d{5,15})");
|
||||
|
||||
//if (!string.IsNullOrEmpty(id))
|
||||
//{
|
||||
// Task.Run(() =>
|
||||
// {
|
||||
// ProductCollectBase pcb = new ProductCollectBase
|
||||
// {
|
||||
// from_url = "https://item.taobao.com/item.htm?id=" + id,
|
||||
// from_id = Convert.ToInt64(id),
|
||||
// };
|
||||
// TaobaoMobileCollect tm = new TaobaoMobileCollect(pcb);
|
||||
// tm.Get();
|
||||
// if (tm.Product != null && tm.Product.Images?.Count > 0 == true)
|
||||
// {
|
||||
// var htmlList = new List<string>();
|
||||
// foreach (var str in tm.Product.Images)
|
||||
// {
|
||||
// htmlList.Add(str.Replace(".jpg_230x230", "").Replace("_.webp", ""));
|
||||
// }
|
||||
|
||||
// if (fission != null)
|
||||
// {
|
||||
// fission.MulitAddMainImageWithCatchWords(htmlList);
|
||||
// Invoke(new Action(() => { BaseMsgForm.ShowInfo("图片转主完成!"); }));
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
//}
|
||||
}
|
||||
// 搜索页转主图
|
||||
else
|
||||
{
|
||||
var jsStr = "function getImgUrl() {" +
|
||||
" var imgs = document.getElementsByClassName('J_ItemPic img'); " +
|
||||
" var result = '';" +
|
||||
" for(i = 0; i < imgs.length; i++) {" +
|
||||
" result += imgs[i].src + ';';" +
|
||||
" }" +
|
||||
" return result;" +
|
||||
"} getImgUrl();";
|
||||
|
||||
var t1 = cwbSearchTitle.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t1.Wait();
|
||||
var html = t1.Result?.Result?.ToString();
|
||||
if (!string.IsNullOrEmpty(html))
|
||||
{
|
||||
var htmlTempArr = html.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
htmlTempArr = htmlTempArr.Where(s => !s.EndsWith("/s.gif")).ToArray();
|
||||
var htmlList = new List<string>();
|
||||
foreach (var str in htmlTempArr)
|
||||
{
|
||||
htmlList.Add(str.Replace(".jpg_230x230", "").Replace("_.webp", ""));
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
if (fission != null)
|
||||
fission.MulitAddMainImageWithCatchWords(htmlList);
|
||||
BaseMsgForm.ShowInfo("图片转主完成!");
|
||||
});
|
||||
}
|
||||
else
|
||||
BaseMsgForm.ShowInfo("图片转主失败!");
|
||||
}
|
||||
}
|
||||
|
||||
private void btnPicToContent_Click(object sender, EventArgs e)
|
||||
{
|
||||
//descV8-singleImage-image lazyload
|
||||
|
||||
var jsStr = "function getImgUrl() {" +
|
||||
" var imgs = document.getElementsByClassName('lazyload'); " +
|
||||
" var result = '';" +
|
||||
" for(i = 0; i < imgs.length; i++) {" +
|
||||
" result += imgs[i].src + ';';" +
|
||||
" }" +
|
||||
" return result;" +
|
||||
"} getImgUrl();";
|
||||
var t1 = cwbSearchTitle.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t1.Wait();
|
||||
var html = t1.Result?.Result?.ToString();
|
||||
|
||||
if (string.IsNullOrEmpty(html))
|
||||
{
|
||||
jsStr = "function getDescription() {" +
|
||||
" var descriptions = document.getElementById('description'); " +
|
||||
" var imgs = descriptions.getElementsByTagName('img'); " +
|
||||
" var result = '';" +
|
||||
" for(i = 0; i < imgs.length; i++) {" +
|
||||
" result += imgs[i].src + ';';" +
|
||||
" }" +
|
||||
" return result;" +
|
||||
"} getDescription();";
|
||||
}
|
||||
t1 = cwbSearchTitle.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t1.Wait();
|
||||
html = t1.Result?.Result?.ToString();
|
||||
|
||||
if (!string.IsNullOrEmpty(html))
|
||||
{
|
||||
var htmlTempArr = html.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
htmlTempArr = htmlTempArr.Where(s => !s.EndsWith("spaceball.gif") && !s.EndsWith("790-300.png")).ToArray();
|
||||
var htmlList = new List<string>();
|
||||
foreach (var str in htmlTempArr)
|
||||
{
|
||||
htmlList.Add(str.Replace(".jpg_230x230", "").Replace("_.webp", ""));
|
||||
}
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
if (fission != null)
|
||||
fission.MulitAddContentImageWithCatchWords(htmlList);
|
||||
BaseMsgForm.ShowInfo("转内容图完成!");
|
||||
});
|
||||
}
|
||||
else
|
||||
BaseMsgForm.ShowInfo("转内容图失败!");
|
||||
}
|
||||
|
||||
private void btnChangeFissionTitle_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (fission != null)
|
||||
fission.ChangeFissionTitle(descriptionTextBox.Text.Trim().Replace("\r\n", ";").Replace("\n", ";"));
|
||||
BaseMsgForm.ShowInfo("替换完成!");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
<?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="colKeywords.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colFrequency.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>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAgIAQAAAAAABoKAAAFgAAACgAAACAAAAAAAEAAAEABAAAAAAAACgAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
|
||||
AAD///8AAAAAAAAAAAAAAAAABEZmbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZkQAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAZszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMxmAAAAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMxkAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzGQAAAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMd3d3d3d3d3
|
||||
d3d3fMzMzMzMzMzMzMzMzMzMzMzMzMYAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMd3d3iIiIiI
|
||||
iIiIiIiIiIh3d3d8zMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAABszMzMzMzMzMzMzMzMzMx3eIiIiI
|
||||
iIiIiIiIiIiIiIiIiIiIiHd8zMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAAGzMzMzMzMzMzMzMzMzMd4iI
|
||||
iIiIiIiIiIiIiIiIiIiIiIiIiIiIiHfMzMzMzMzMzMzMzMzMxgAAAAAAAAAAAAbMzMzMzMzMzMzMzMzH
|
||||
eIiIiIiIiIiHZmZmZmZmZmZmZ3eIiIiIiIiIiHzMzMzMzMzMzMzMzMxgAAAAAAAAAABszMzMzMzMzMzM
|
||||
zMzHiIiIiIiHZmZmZmZmZmZmZmZmZmZmZmZmeIiIiIiIfMzMzMzMzMzMzMzMxgAAAAAAAAAGzMzMzMzM
|
||||
zMzMzMzHiIiIiIdmZmZmZgAAAAAAAAAAAAZmZmZmZmZmeIiIiIh8zMzMzMzMzMzMzMxgAAAAAAAATMzM
|
||||
zMzMzMzMzMzHiIiIiHZmZgAAAAAAAAAAAAEAAAAAAAAAAGZmZmZniIiIiHzMzMzMzMzMzMzMxAAAAAAA
|
||||
AGzMzMzMzMzMzMzMeIiIiGZmAAAAAAERERmZmZmZmZmZkRERERAAAGZmZmZ4iIiIfMzMzMzMzMzMzMYA
|
||||
AAAAAAbMzMzMzMzMzMzMeIiIiGZgAAAAERmZmZmZmZmZmZmZmZmZmZmZkREAAGZmZniIiIfMzMzMzMzM
|
||||
zMzMYAAAAABMzMzMzMzMzMzMzIiIiHYAAAARGZmZiIiIj///////+IiIiIeZmZmZkREAZmZmiIiIfMzM
|
||||
zMzMzMzMzMQAAAAAbMzMzMzMzMzMzO6IiIYAAAARmYiI/////////////////////4iHmZmZEQBmZmeI
|
||||
iIh8zMzMzMzMzMzGAAAABMzMzMzMzMzMzMeIiIdgAAAZmI////////////////////////////iJmZmR
|
||||
EGZmZ4iIh8zMzMzMzMzMzEAAAAbMzMzMzMzMzMzoiIhwAAAZeP//////////////////////////////
|
||||
/4iZmZEAZmZ4iIh8zMzMzMzMzMxgAABMzMzMzMzMzMzOiIiGAAABiP//////////////////////////
|
||||
////////+JmZkQZmZ4iIh8zMzMzMzMzMxAAAbMzMzMzMzMzM7oiIYAABeP//////////////////////
|
||||
///////////////4mZkQZmZ4iIjMzMzMzMzMzMYAAMzMzMzMzMzMzu6IhwAAGP//////////////////
|
||||
/////////////////////4iZmRZmZ4iIfMzMzMzMzMzMAAbMzMzMzMzMzM7oiHAAB4//////////////
|
||||
////////////////////////////iZmRBmZ4iIfMzMzMzMzMzGAGzMzMzMzMzMzuiIcAAHj/////////
|
||||
//////////////////////////////////iZmRZmZ4iIzMzMzMzMzMxgDMzMzMzMzMzM7ohwAAf/////
|
||||
////////////////////////////////////////95mRZmaIiHzMzMzMzMzMwEzMzMzMzMzMzuiIEABo
|
||||
//////////////////////////////////////////////95mRZmaIiMzMzMzMzMzMRszMzMzMzMzM7o
|
||||
hwAGj///////////////////////////////////////////////95kQZmeIh8zMzMzMzMzGbMzMzMzM
|
||||
zMzu6HEAB/////////////////////////////////////////////////+ZkQZmiIjMzMzMzMzMxmzM
|
||||
zMzMzMzM7ohwAGj/////////////////////////////////////////////////iZkWZniIfMzMzMzM
|
||||
zMZszMzMzMzMxu6HEAbv/4iI/////////////////////////////////////////4iP//iZEGZoiHzM
|
||||
zMzMzMzGbMzMzMzMzM7uhxAGj/iIiIj//////////////////////////////////////4iIiI//mZFm
|
||||
aIiMzMzMzMzMxszMzMzMzMzO6IEAbv+IiIiIj/////////////////////////////////////iIiIiP
|
||||
/4mRBmeIh8zMzMzMzMbMzMzMzMzMbuhxAG7/iIiIiI////////////////iIj///j//////////////4
|
||||
iIiIiP/5mQZmiIfMzMzMzMzMzMzMzMzMzO7ocQDo+IiIiIiP///////////////u7u7u7u7o////////
|
||||
////iIiIiIj/+JkWZoiHzMzMzMzMzMzMzMzMzMzu6BEG7/iIiIiIj/////////////+Hd3ju5maO7v//
|
||||
/////////4iIiIiI//iZEGaIh8zMzMzMzMzMzMzMzMzM7ugRBu//iIiIiI//////////////kZmZdmAZ
|
||||
mP/////////////4iIiIiP//mRBmeIjMzMzMzMzMzMzMzMzMzO7nEAbv/4iIiIiP////////////+HiI
|
||||
mZEBd5n/////////////+IiIiIj//4mQZniIzMzMzMzMzMzMzMzMzMzu5xAO7//4iIiI//ju7o//////
|
||||
//j//4mZeP/4//////////////iIiIiP//+JkGZ4iHzMzMzMzMzMzMzMzMzG7ocQDu///4iI//ju7u7u
|
||||
j//////////4mP//////////////7u7uiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzu6HEG7v//////+G
|
||||
ZmZ47u7//////////4//////////////7u7u7u6P/////4mQBmiIfMzMzMzMzMzMzMzMzM7uhRBu7///
|
||||
///3AAAAF37u7///////////////////////h2AABm7u7v/////5kAZ4iHzMzMzMzMzMzMzMzMzO7oUQ
|
||||
bu//////gQAAZgEG7u//////////////////////+BAAAAAFfu6P////+ZAGeIjMzMzMzMzMzMzMzMzM
|
||||
zu6FEG7v////+JEAAXhwAG7o/////////////////////4gAABEGARbu7/////kQBoiIzMzMzMzMzMzM
|
||||
zMzMzM7uhRBu7/////iZABmZkQBm6P////////////////////+JABGZF2AAbo////+JEGaIiMzMzMzM
|
||||
zMzMzMzMzMzO7ucRbu/////4mRZ4iZkQBu//////////////////////mQB5mZdgAG7/////iRBmiIfM
|
||||
zMzMzMzMzMzMzMzMxu7nEQ7v////+Bl+j/iZEAaP/////////////////////5l2/4mRAABu/////4kQ
|
||||
ZoiHzMzMzMzMzMzMzMzMzMzu5xEO6P//+Phgbu/4kQAI//////////////////////+Zfo/4kQAAeIiP
|
||||
//+JEGaIh8zMzMzMzMzMzMzMzMzM7ucRBu7///iOYHiI+HAAf///////////////////////mYjv+BAA
|
||||
BuiIj///iQBniIfMzMzMzMzMzMzMzMzMzO7nEQbu///3EAAG6IcRF4iP/////////////////////4GP
|
||||
/4cQAAZnbv///5EAaIiMzMzMzMzMzMzMzMzMzMzu5xEW7v//iRF3dmZgAXjmj///////////////////
|
||||
///3ePiBEQAHdm7///iRAGiIfMzMzMzMzMzMzMzMzMzM7u5xFu6P/5EZmXZmZmbmaP//////////////
|
||||
///////4/4d2cRAAFwbuj//4kQZoiHzMzMzMzMzMzMzMzMzMzG7ucRDu7/iXiZkQAAZmAH//////////
|
||||
////////////+IiIdmYABmAX//j/+BAGeIh8zMzMzMzMzMzMzMzMzMzO7nEQbu/4iP+BERkREZf/////
|
||||
//////////////////+JmXdxEBEAB3////kQBoiIzMzMzMzMzMzMzMzMzMzMzu5xEW7o+P//gZmZmZmP
|
||||
////////////////////////+JmZmZmZl453//+JAGaIh8zMzMzMzMzMzMzMzMzMzM7u5xEO7vj/+IeP
|
||||
iIj////////////////////////////4iZmZmZiPiP//cQBoiIfMzMzMzMzMzMzMzMzMzMzM7ucRFu6P
|
||||
//iP//////////////////////////////////////+Jn/j/+JAAaIiMzMzMzMzMzMzMzMzMzMzMzO7n
|
||||
ERbu7//4/////////////////////////////////////////4j///gQBoiIfMzMzMzMzMzMzMzMzMzM
|
||||
zMzu7nERbuj////////////////////////////////////////////4//+BAAaIiMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzu5xEW7u////////////////////////////////////////////////cQBoiIfMzMzMzMzM
|
||||
zMzMzMzMzMzMzM7u5xEW7u//////////////////////////////////////////////+BAAaIiMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzO7uYREO7o//7v//////////////////////////////////////////cABoiI
|
||||
fMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7oj/7o////////////////////////////////////////9x
|
||||
AAeIiMzMzMzMzMzMzMzMzMzMzMzMzMzO7ucRFu7nePju7u7v////////////////////////////////
|
||||
6P/4EAB4iIfMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERBu7nmIiO7oj///////////////////////////
|
||||
ju7u7o//hwAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzu7nERbu7nmZl5eP//////////////////////
|
||||
///4iPiO5nj/+HAAaIiIzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7nERbu7oiZeI//////////////////
|
||||
////////+ImXd5mP/4cAAHiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERbu7v////////////////
|
||||
///////////////4iZl4//hgAAeIiHzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u53ERBu7v//////////
|
||||
//////////////////////////+GAAB4iI7MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7uiHEADujv////
|
||||
///////////////////////////////3AAAGiIh8zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7ohwABmP
|
||||
////////////////////////////////////iREAZniIjMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzuiI
|
||||
EAB4f///////////////////////////////////+JmZkWZoiIfMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zO6IhwBo//////////////////////////////////////iImZl2ZoiIzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzuiHAA7////////////////////////////////////////4iZFmZ4iHzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzO6IgQBo/////4j///////////////////////////////////mZFmaIiMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzuiHAA7/////iIiP//////7o//////////////////iI/////4mRZmeIh8zMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiI/////+7u7u7uiIiI7u7v////iIiI/////5mRZmiIjM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzuiHAA7////4iIiIiIj//3d2bu7u7u7u7u7u7//4iIiIiP////+JkW
|
||||
ZniIfMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI//+ZkAAGZmZmZmZmbv//iIiIiIiP//
|
||||
//+ZkWZoiIzMzMzMzMzMzMzMzMzMzMzMzMzMzuiFAG7////4iIiIiIj///iZABEREREREBAG7//4iIiI
|
||||
iIj/////iZFmaIiMzMzMzMzMzMzMzMzMzMzMzMzMzO6IcQBo////+IiIiIiI///4kQARERERERERDo//
|
||||
+IiIiIiIj/////mZBmeIh8zMzMzMzMzMzMzMzMzMzMzMzMzuiHAG7////4iIiIiIiP//+JFmeHd3d3dx
|
||||
EW6P//iIiIiIiI/////4mRZmiIfMzMzMzMzMzMzMzMzMzMzMzMzO7ocQBo////+IiIiIiIj///iQZoiO
|
||||
7u7u5xFu7//4iIiIiIiI////+JkWZniIzMzMzMzMzMzMzMzMzMzMzMzMzuiHEA7////4iIiIiIiP///5
|
||||
kGaIju7u7ucRbu///4iIiIiIiP////95kGZ4iHzMzMzMzMzMzMzMzMzMzMzMzM7ogQBu////+IiIiIiI
|
||||
j///+RBmiI7u7u7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzMzMzMzMzMzu6HEAaP////iI
|
||||
iIiIiI////kQZoiHzMzu5xEO6P//iIiIiIiIj////4mRZmiIjMzMzMzMzMzMzMzMzMzMzMzM7ugRBu//
|
||||
///4iIiIiIj///+JEGaIh8zM7ucRBu7//4iIiIiIiI/////5kQZniIzMzMzMzMzMzMzMzMzMzMzMzO6I
|
||||
EAbv////iIiIiIiI////iQBniIzMzO7oERbu///4iIiIiIiP////+JkGZ4iHzMzMzMzMzMzMzMzMzMzM
|
||||
zMbuhxAGj////4iIiIiIj////3kAaIiMzMzu7nEW7v//+IiIiIiIiP////iZFmaIh8zMzMzMzMzMzMzM
|
||||
zMzMzMzO7oUQbv////+IiIiIiI////+RBmiIfMzMzu5xFu6P//+IiIiIiIj////4mRZmiIfMzMzMzMzM
|
||||
zMzMzMzMzMzMzu6BAG7////4iIiIiIj////4kQZoiHzMzM7ucRDu7///iIiIiIiIj////5kQZoiHzMzM
|
||||
zMzMzMzMzMzMzMzMzM7ocQBu////+IiIiIiI////+JAGeIh8zMzO7nERbu///4iIiIiIiI////95EGaI
|
||||
h8zMzMzMzMzMzMzMzMzMzMxu6HEA7v////iIiIiIiP////cQBoiIzMzMzu7lEW7v///4iIiIiIiP////
|
||||
iRBmeIjMzMzMzMzMzMzMzMzMzMzM7uhxBuj////4iIiIiI/////5EAaIiMzMzMbu5xEO7v//+IiIiIiI
|
||||
j////4kQZniIzMzMzMzMzMzMzMzMzMzMzO7oEQbv////+IiIiIj/////iQBmiIfMzMzM7ucRBu7///iI
|
||||
iIiIiIj///+JkGZ4iMzMzMzMzMzMzMzMzMzMzMzu6BEG7/////iIiIiI/////4EAaIiHzMzMzO7nERbu
|
||||
j///iIiIiIiI////iZBmaIh8zMzMzMzMzMzMzMzMzMzM7ucRBu/////4iIiIj/////+RAGiIjMzMzMzu
|
||||
7nEQ7u////iIiIiIiP///4mQBmiIfMzMzMzMzMzMzMzMzMzMzO7nEAbv////+IiIiP/////4EAZ4iHzM
|
||||
zMzMzu5xEG7v///4iIiIiIj///+JkAZoiHzMzMzMzMzMxmzMzMzMzMzu5xAO7/////+IiI//////+RAG
|
||||
iIjMzMzMzM7ucRFu7v///4iIiIiI////+ZAGaIh8zMzMzMzMzMZszMzMzMzG7ocQDu//////+I//////
|
||||
/4EAZoiIzMzMzMzO7ucRBu7////4iIiIiP////mQBmiIfMzMzMzMzMzGbMzMzMzMzu6HEA7v////////
|
||||
//////9xAGiIh8zMzMzMzO7nERbu7///+IiIiI/////5kAZoiHzMzMzMzMzMxmzMzMzMzM7uhxAO7///
|
||||
///////////4EABoiIzMzMzMzMzu7nEQbu////+IiIiP////+ZAGaIh8zMzMzMzMzMZszMzMzMzO7oUQ
|
||||
Du//////////////9xAGiIh8zMzMzMzM7u5xEW7u/////4iI//////mQBmiIfMzMzMzMzMzGTMzMzMzM
|
||||
zu6HEA7v/////////////4EABoiIzMzMzMzMzM7u5xEG7v/////////////5kAZoiHzMzMzMzMzMxAzM
|
||||
zMzMzM7uhxEO7/////////////9wAGiIh8zMzMzMzMzO7ucRFu7v////////////+RAGeIh8zMzMzMzM
|
||||
zMAGzMzMzMzO7ucRDuj////////////4EAB4iIzMzMzMzMzMzO7ucRBu6P///////////4kQBoiIzMzM
|
||||
zMzMzMxgBszMzMzMxu7nEQbo////////////gQAGiIh8zMzMzMzMzMzu7nERDu7///////////+JEAaI
|
||||
iMzMzMzMzMzMYADMzMzMzMzu5xEG7v///////////3EAZ4iIzMzMzMzMzMzMzu7nERbu7///////////
|
||||
gQBmiIfMzMzMzMzMzAAAbMzMzMzM7ucRBu7///////////gQAGiIh8zMzMzMzMzMzM7u5xEQbu7/////
|
||||
/////5EAZ4iHzMzMzMzMzMYAAEzMzMzMzO7nERDu7/////////+HAAaIiIzMzMzMzMzMzMzM7u5xEQ7u
|
||||
7/////////gQAGiIjMzMzMzMzMzEAAAGzMzMzMzu7nEQbuj////////4cAAHiIh8zMzMzMzMzMzMzO7u
|
||||
dxEW7uj////////3AAZoiHzMzMzMzMzMYAAABMzMzMzM7u5xEG7u////////hgAAeIiHzMzMzMzMzMzM
|
||||
zMzO7ucREW7u7///////gQAGiIh8zMzMzMzMzEAAAABszMzMzM7ucREG7uj/////hmAAB4iI7MzMzMzM
|
||||
zMzMzMzMzu7ucREG7u6P////+AAAB4iIzMzMzMzMzMYAAAAATMzMzMzO7ucREG7u7oiO7mAAAHiIiMzM
|
||||
zMzMzMzMzMzMzMzu7ucREG7u7o//+HYAAHiIh8zMzMzMzMzEAAAAAAbMzMzMzu7nEREG7u7u5mAAAAeI
|
||||
iIfMzMzMzMzMzMzMzMzMzu7ucREQbu7u7uYAAAeIiHzMzMzMzMzMYAAAAAAAbMzMzMzu7nEREAZmZgAA
|
||||
AAF4iI58zMzMzMzMzMzMzMzMzMzu7ncREQZm7mZgAAB4iI7MzMzMzMzMxgAAAAAAAEzMzMzM7u7nEREQ
|
||||
AAAAABF4iI7uzMzMzMzMzMzMzMzMzMzM7u7ucRERAAAAAAAHiIiMzMzMzMzMzMQAAAAAAAAGzMzMzM7u
|
||||
7nERERERERF3iIju7MzMzMzMzMzMzMzMzMzMzM7u7udREREQAAAReIiIfMzMzMzMzMxgAAAAAAAAAGzM
|
||||
zMzM7u7udRERERV4iI7u7MzMzMzMzMzMzMzMzMzMzMzM7u7u5xEREREReIiO7MzMzMzMzMzGAAAAAAAA
|
||||
AAAGzMzMzM7u7u53d3eIiO7u7szMzMzMzMzMzMzMzMzMzMzMzM7u7u7nd1F3eIiO7uzMzMzMzMzMYAAA
|
||||
AAAAAAAAAGzMzMzM7u7u7u7u7u7u7szMzMzMzMzMzMzMzMzMzMzMzMzMzu7u7u6IiI7u7uzMzMzMzMzM
|
||||
xgAAAAAAAAAAAAAGzMzMzMzu7u7u7u7u5szMzMzMzMzMzMzMzMzMzMzMzMzMzMzO7u7u7u7u7u7MzMzM
|
||||
zMzMzGAAAAAAAAAAAAAAAEbMzMzMzG7u7u7ubMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM7u7u7u7uzM
|
||||
zMzMzMzMzGQAAAAAAAAAAAAAAAAAbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzG7u
|
||||
7szMzMzMzMzMzMYAAAAAAAAAAAAAAAAAAARszMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAABGzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAEbMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMZAAAAAAAAAAAAAAAAAAAAAAAAAAABmzMzMzMzMzMzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGZmzMzMzMzMzMzMzM
|
||||
zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMZmZEAAAAAAAAAAAAAAAAD////+AAAAAAAAAAD/////////AAAA
|
||||
AAAAAAAAAP//////+AAAAAAAAAAAAAAf/////+AAAAAAAAAAAAAAB/////+AAAAAAAAAAAAAAAH////+
|
||||
AAAAAAAAAAAAAAAAf////AAAAAAAAAAAAAAAAD////AAAAAAAAAAAAAAAAAP///gAAAAAAAAAAAAAAAA
|
||||
B///wAAAAAAAAAAAAAAAAAP//4AAAAAAAAAAAAAAAAAB//8AAAAAAAAAAAAAAAAAAP/+AAAAAAAAAAAA
|
||||
AAAAAAB//gAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAf+AAAAAAA
|
||||
AAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAA/wAAAAAAAAAAAAAAAAAAAP4AAAAAAAAAAAAAAAAAAAB+AA
|
||||
AAAAAAAAAAAAAAAAAAfAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAA8AAAAAAAAAAAAAAAAAA
|
||||
AAOAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAABAAAAAAAA
|
||||
AAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAA
|
||||
AAGAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAA
|
||||
AAAAAAABgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAADwAAAAAAA
|
||||
AAAAAAAAAAAAA+AAAAAAAAAAAAAAAAAAAAfgAAAAAAAAAAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAD/AA
|
||||
AAAAAAAAAAAAAAAAAA/4AAAAAAAAAAAAAAAAAAAf+AAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAAAAAAA
|
||||
AD/+AAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAf/8AAAAAAAAAAAAAAAAAAP//gAAAAAAAAAAA
|
||||
AAAAAAH//8AAAAAAAAAAAAAAAAAD///gAAAAAAAAAAAAAAAAB///8AAAAAAAAAAAAAAAAA////wAAAAA
|
||||
AAAAAAAAAAA////+AAAAAAAAAAAAAAAAf////4AAAAAAAAAAAAAAAf/////gAAAAAAAAAAAAAAf/////
|
||||
+AAAAAAAAAAAAAAf//////8AAAAAAAAAAAAA/////////gAAAAAAAAAAf////w==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,285 @@
|
||||
using AllBase;
|
||||
using DevComponents.DotNetBar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
public partial class MeituMessageDialog : Form
|
||||
{
|
||||
public MeituMessageDialog()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.Text = "提示";
|
||||
this.ShowIcon = false;
|
||||
this.FormClosing += MessageDialog_FormClosing;
|
||||
this.Activated += MessageDialog_Activated;
|
||||
this.Load += MeituMessageDialog_Load;
|
||||
}
|
||||
|
||||
private void MeituMessageDialog_Load(object sender, EventArgs e)
|
||||
{
|
||||
tableLayoutPanel2.Controls[tableLayoutPanel2.Controls.Count - 1].Focus();
|
||||
foreach (var c in tableLayoutPanel2.Controls)
|
||||
{
|
||||
if (c is ButtonX)
|
||||
{
|
||||
var btn = c as ButtonX;
|
||||
|
||||
btn.Click += Btn_Click;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void MessageDialog_Activated(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void Btn_Click(object sender, EventArgs e)
|
||||
{
|
||||
var btn = sender as ButtonX;
|
||||
if (btn != null)
|
||||
clickBtnText = btn.Text;
|
||||
|
||||
if (btn.Text == "指定启动文件")
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
else if (btn.Text == "下载美图秀秀")
|
||||
{
|
||||
if (isDownload == true)
|
||||
{
|
||||
MessageBox.Show("下载中,请稍候!");
|
||||
return;
|
||||
}
|
||||
|
||||
// 单线程单元(STA)模式运行文件对话框,否则会报错。
|
||||
System.Threading.Thread InvokeThread = new System.Threading.Thread(new System.Threading.ThreadStart(setDownloadPath));
|
||||
InvokeThread.SetApartmentState(System.Threading.ApartmentState.STA);
|
||||
InvokeThread.Start();
|
||||
InvokeThread.Join();
|
||||
}
|
||||
else if (btn.Text == "安装美图秀秀")
|
||||
{
|
||||
System.Diagnostics.Process.Start(desFile);
|
||||
//this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
private void setDownloadPath()
|
||||
{
|
||||
FolderBrowserDialog dialog = new FolderBrowserDialog();
|
||||
dialog.Description = "请选择文件路径";
|
||||
|
||||
if (dialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
desFile = dialog.SelectedPath;
|
||||
|
||||
new Thread(DownloadFileNoReturn).Start();
|
||||
}
|
||||
}
|
||||
|
||||
private void MessageDialog_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
isClick = true;
|
||||
}
|
||||
|
||||
static bool isClick = false;
|
||||
static string clickBtnText = "";
|
||||
|
||||
static MeituMessageDialog msg;
|
||||
public static string ShowMessageDialog(string text = "", string btnsStr = "")
|
||||
{
|
||||
msg = new MeituMessageDialog();
|
||||
string[] btnStrArr = btnsStr.Split(',');
|
||||
msg.tableLayoutPanel2.Refresh();
|
||||
msg.tableLayoutPanel2.ColumnCount = btnStrArr.Length + 2;
|
||||
|
||||
msg.tableLayoutPanel2.ColumnStyles.Clear();
|
||||
msg.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(SizeType.Percent, 50F));
|
||||
msg.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
msg.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
msg.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(SizeType.Percent, 50F));
|
||||
|
||||
msg.labelX1.Text = text;
|
||||
|
||||
for (int i = 0; i < btnStrArr.Length; i++)
|
||||
{
|
||||
ButtonX btnX = new ButtonX();
|
||||
msg.tableLayoutPanel2.Controls.Add(btnX, i + 1, 0);
|
||||
btnX.Text = btnStrArr[i];
|
||||
btnX.Dock = DockStyle.Fill;
|
||||
|
||||
btnX.AccessibleRole = AccessibleRole.PushButton;
|
||||
btnX.ColorTable = eButtonColor.OrangeWithBackground;
|
||||
btnX.Size = new Size(btnX.Text.Length * 16, 23);
|
||||
btnX.Style = eDotNetBarStyle.StyleManagerControlled;
|
||||
}
|
||||
msg.StartPosition = FormStartPosition.CenterScreen;
|
||||
//msg.TopMost = true;
|
||||
msg.ShowDialog();
|
||||
|
||||
return clickBtnText;
|
||||
}
|
||||
|
||||
private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static string sourceFile = "http://xiuxiu.dl.meitu.com/xiuxiu_setup.exe";
|
||||
static string desFile = "";
|
||||
public static void DownloadFileNoReturn()
|
||||
{
|
||||
if (DownloadFile())
|
||||
{
|
||||
msg.Invoke(new Action(() =>
|
||||
{
|
||||
var btn = msg.tableLayoutPanel2.Controls[0] as ButtonX;
|
||||
btn.Text = "安装美图秀秀";
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
static bool isDownload = false;
|
||||
/// 下载文件方法
|
||||
/// 文件保存路径和文件名
|
||||
/// 返回服务器文件名
|
||||
public static bool DownloadFile()
|
||||
{
|
||||
isDownload = true;
|
||||
|
||||
if (sourceFile == "" || desFile == "")
|
||||
{
|
||||
isDownload = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool flag = false;
|
||||
long SPosition = 0;
|
||||
FileStream FStream = null;
|
||||
Stream myStream = null;
|
||||
string fileName = sourceFile.Substring(sourceFile.LastIndexOf(@"/") + 1);
|
||||
if (desFile.EndsWith("\\"))
|
||||
{
|
||||
desFile = desFile + fileName;
|
||||
}
|
||||
else
|
||||
{
|
||||
desFile = desFile + "\\" + fileName;
|
||||
}
|
||||
try
|
||||
{
|
||||
long serverFileLength = GetHttpLength(sourceFile);
|
||||
msg.Invoke(new Action(() =>
|
||||
{
|
||||
msg.progressBarX1.Maximum = 100;
|
||||
msg.progressBarX1.Visible = true;
|
||||
}));
|
||||
|
||||
//判断要下载的文件夹是否存在
|
||||
if (File.Exists(desFile))
|
||||
{
|
||||
//打开上次下载的文件
|
||||
FStream = File.OpenWrite(desFile);
|
||||
//获取已经下载的长度
|
||||
SPosition = FStream.Length;
|
||||
if (SPosition == serverFileLength)
|
||||
{
|
||||
//文件是完整的,直接结束下载任务
|
||||
msg.Invoke(new Action(() =>
|
||||
{
|
||||
msg.progressBarX1.Value = 100;
|
||||
}));
|
||||
isDownload = false;
|
||||
return true;
|
||||
}
|
||||
FStream.Seek(SPosition, SeekOrigin.Current);
|
||||
}
|
||||
else
|
||||
{
|
||||
//文件不保存创建一个文件
|
||||
FStream = new FileStream(desFile, FileMode.Create);
|
||||
SPosition = 0;
|
||||
}
|
||||
//打开网络连接
|
||||
HttpWebRequest myRequest = (HttpWebRequest)HttpWebRequest.Create(sourceFile);
|
||||
if (SPosition > 0)
|
||||
{
|
||||
myRequest.AddRange(SPosition); //设置Range值
|
||||
}
|
||||
//向服务器请求,获得服务器的回应数据流
|
||||
myStream = myRequest.GetResponse().GetResponseStream();
|
||||
//定义一个字节数据
|
||||
byte[] btContent = new byte[512];
|
||||
int intSize = 0;
|
||||
intSize = myStream.Read(btContent, 0, 512);
|
||||
while (intSize > 0)
|
||||
{
|
||||
FStream.Write(btContent, 0, intSize);
|
||||
intSize = myStream.Read(btContent, 0, 512);
|
||||
|
||||
var currentPosition = FStream.Length;
|
||||
msg.Invoke(new Action(() =>
|
||||
{
|
||||
msg.progressBarX1.Value = (int)(1.0 * currentPosition / serverFileLength * 100);
|
||||
}));
|
||||
}
|
||||
flag = true; //返回true下载成功
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//SysLog.WriteTxtLog("下载文件时异常:" + ex.Message);
|
||||
LogSave.Add("MeituMessageDialog - 下载文件时异常:" + ex.Message);
|
||||
}
|
||||
finally
|
||||
{
|
||||
//关闭流
|
||||
if (myStream != null)
|
||||
{
|
||||
myStream.Close();
|
||||
myStream.Dispose();
|
||||
}
|
||||
if (FStream != null)
|
||||
{
|
||||
FStream.Close();
|
||||
FStream.Dispose();
|
||||
}
|
||||
}
|
||||
isDownload = false;
|
||||
return flag;
|
||||
}
|
||||
static long GetHttpLength(string url)
|
||||
{
|
||||
long length = 0;
|
||||
try
|
||||
{
|
||||
var req = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
|
||||
req.Method = "HEAD";
|
||||
req.Timeout = 5000;
|
||||
var res = (HttpWebResponse)req.GetResponse();
|
||||
if (res.StatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
length = res.ContentLength;
|
||||
}
|
||||
res.Close();
|
||||
return length;
|
||||
}
|
||||
catch (WebException wex)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class MeituMessageDialog
|
||||
{
|
||||
/// <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.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.progressBarX1 = new DevComponents.DotNetBar.Controls.ProgressBarX();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelX1
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.labelX1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.labelX1.Location = new System.Drawing.Point(3, 3);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(278, 96);
|
||||
this.labelX1.TabIndex = 0;
|
||||
this.labelX1.Text = "labelX1";
|
||||
this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 1;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelX1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.progressBarX1, 0, 1);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 6;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(284, 202);
|
||||
this.tableLayoutPanel1.TabIndex = 1;
|
||||
this.tableLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.tableLayoutPanel2);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(3, 145);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(278, 34);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
this.tableLayoutPanel2.ColumnCount = 1;
|
||||
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||||
this.tableLayoutPanel2.RowCount = 1;
|
||||
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel2.Size = new System.Drawing.Size(278, 34);
|
||||
this.tableLayoutPanel2.TabIndex = 0;
|
||||
//
|
||||
// progressBarX1
|
||||
//
|
||||
this.progressBarX1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.progressBarX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.progressBarX1.Location = new System.Drawing.Point(50, 105);
|
||||
this.progressBarX1.Margin = new System.Windows.Forms.Padding(50, 3, 50, 3);
|
||||
this.progressBarX1.Name = "progressBarX1";
|
||||
this.progressBarX1.Size = new System.Drawing.Size(184, 14);
|
||||
this.progressBarX1.TabIndex = 3;
|
||||
this.progressBarX1.Text = "progressBarX1";
|
||||
this.progressBarX1.Visible = false;
|
||||
//
|
||||
// MeituMessageDialog
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(284, 202);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "MeituMessageDialog";
|
||||
this.Text = "MessageDialog";
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.LabelX labelX1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||
private DevComponents.DotNetBar.Controls.ProgressBarX progressBarX1;
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,147 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class PinDuoDuoCaptchaForm
|
||||
{
|
||||
/// <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.scPinDuoDuo = new System.Windows.Forms.SplitContainer();
|
||||
this.btnDeleteToken = new System.Windows.Forms.Button();
|
||||
this.btnSaveToken = new System.Windows.Forms.Button();
|
||||
this.btnValidateProductDetailStatus = new System.Windows.Forms.Button();
|
||||
this.btnValidateLogin = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.scPinDuoDuo)).BeginInit();
|
||||
this.scPinDuoDuo.Panel2.SuspendLayout();
|
||||
this.scPinDuoDuo.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// scPinDuoDuo
|
||||
//
|
||||
this.scPinDuoDuo.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.scPinDuoDuo.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.scPinDuoDuo.Location = new System.Drawing.Point(1, 33);
|
||||
this.scPinDuoDuo.Name = "scPinDuoDuo";
|
||||
//
|
||||
// scPinDuoDuo.Panel1
|
||||
//
|
||||
this.scPinDuoDuo.Panel1.BackColor = System.Drawing.Color.White;
|
||||
//
|
||||
// scPinDuoDuo.Panel2
|
||||
//
|
||||
this.scPinDuoDuo.Panel2.BackColor = System.Drawing.Color.White;
|
||||
this.scPinDuoDuo.Panel2.Controls.Add(this.btnDeleteToken);
|
||||
this.scPinDuoDuo.Panel2.Controls.Add(this.btnSaveToken);
|
||||
this.scPinDuoDuo.Panel2.Controls.Add(this.btnValidateProductDetailStatus);
|
||||
this.scPinDuoDuo.Panel2.Controls.Add(this.btnValidateLogin);
|
||||
this.scPinDuoDuo.Size = new System.Drawing.Size(560, 600);
|
||||
this.scPinDuoDuo.SplitterDistance = 400;
|
||||
this.scPinDuoDuo.SplitterWidth = 1;
|
||||
this.scPinDuoDuo.TabIndex = 0;
|
||||
//
|
||||
// btnDeleteToken
|
||||
//
|
||||
this.btnDeleteToken.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnDeleteToken.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnDeleteToken.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnDeleteToken.ForeColor = System.Drawing.Color.White;
|
||||
this.btnDeleteToken.Location = new System.Drawing.Point(11, 209);
|
||||
this.btnDeleteToken.Name = "btnDeleteToken";
|
||||
this.btnDeleteToken.Size = new System.Drawing.Size(136, 27);
|
||||
this.btnDeleteToken.TabIndex = 5;
|
||||
this.btnDeleteToken.Text = "删除此买手Token";
|
||||
this.btnDeleteToken.UseVisualStyleBackColor = false;
|
||||
this.btnDeleteToken.Click += new System.EventHandler(this.btnDeleteToken_Click);
|
||||
//
|
||||
// btnSaveToken
|
||||
//
|
||||
this.btnSaveToken.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSaveToken.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSaveToken.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSaveToken.ForeColor = System.Drawing.Color.White;
|
||||
this.btnSaveToken.Location = new System.Drawing.Point(11, 158);
|
||||
this.btnSaveToken.Name = "btnSaveToken";
|
||||
this.btnSaveToken.Size = new System.Drawing.Size(136, 27);
|
||||
this.btnSaveToken.TabIndex = 4;
|
||||
this.btnSaveToken.Text = "保留此买手Token";
|
||||
this.btnSaveToken.UseVisualStyleBackColor = false;
|
||||
this.btnSaveToken.Click += new System.EventHandler(this.btnSaveToken_Click);
|
||||
//
|
||||
// btnValidateProductDetailStatus
|
||||
//
|
||||
this.btnValidateProductDetailStatus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnValidateProductDetailStatus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnValidateProductDetailStatus.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnValidateProductDetailStatus.ForeColor = System.Drawing.Color.White;
|
||||
this.btnValidateProductDetailStatus.Location = new System.Drawing.Point(11, 107);
|
||||
this.btnValidateProductDetailStatus.Name = "btnValidateProductDetailStatus";
|
||||
this.btnValidateProductDetailStatus.Size = new System.Drawing.Size(136, 27);
|
||||
this.btnValidateProductDetailStatus.TabIndex = 2;
|
||||
this.btnValidateProductDetailStatus.Text = "验证详情采集状态";
|
||||
this.btnValidateProductDetailStatus.UseVisualStyleBackColor = false;
|
||||
this.btnValidateProductDetailStatus.Click += new System.EventHandler(this.btnValidateProductDetailStatus_Click);
|
||||
//
|
||||
// btnValidateLogin
|
||||
//
|
||||
this.btnValidateLogin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnValidateLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnValidateLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnValidateLogin.ForeColor = System.Drawing.Color.White;
|
||||
this.btnValidateLogin.Location = new System.Drawing.Point(11, 56);
|
||||
this.btnValidateLogin.Name = "btnValidateLogin";
|
||||
this.btnValidateLogin.Size = new System.Drawing.Size(136, 27);
|
||||
this.btnValidateLogin.TabIndex = 0;
|
||||
this.btnValidateLogin.Text = "验证登录状态";
|
||||
this.btnValidateLogin.UseVisualStyleBackColor = false;
|
||||
this.btnValidateLogin.Click += new System.EventHandler(this.btnValidateLogin_Click);
|
||||
//
|
||||
// PinDuoDuoCaptchaForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(562, 634);
|
||||
this.Controls.Add(this.scPinDuoDuo);
|
||||
this.Font = new System.Drawing.Font("华文宋体", 8.25F);
|
||||
this.Name = "PinDuoDuoCaptchaForm";
|
||||
this.Text = "拼多多买手Token验证";
|
||||
this.TitleText = "拼多多买手Token验证";
|
||||
this.Load += new System.EventHandler(this.PinDuoDuoCaptchaForm_Load);
|
||||
this.Controls.SetChildIndex(this.scPinDuoDuo, 0);
|
||||
this.scPinDuoDuo.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.scPinDuoDuo)).EndInit();
|
||||
this.scPinDuoDuo.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer scPinDuoDuo;
|
||||
private System.Windows.Forms.Button btnDeleteToken;
|
||||
private System.Windows.Forms.Button btnSaveToken;
|
||||
private System.Windows.Forms.Button btnValidateProductDetailStatus;
|
||||
private System.Windows.Forms.Button btnValidateLogin;
|
||||
}
|
||||
}
|
||||
@@ -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,190 @@
|
||||
using AllBase;
|
||||
using CefSharp;
|
||||
using CefSharp.WinForms;
|
||||
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.ToolForms
|
||||
{
|
||||
public partial class PinDuoDuoLoginForm : LRBaseForm
|
||||
{
|
||||
private ChromiumWebBrowser cefWebBrowser = null;
|
||||
public static string LoginUrl = "http://yangkeduo.com/login.html";
|
||||
public static string MobileLoginUrl = BaseClass.NewUrl+"/login.html";
|
||||
public delegate void OnSaveComplete(string msg);
|
||||
public event OnSaveComplete onSaveComplete;
|
||||
public PinDuoDuoLoginForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void PinDuoDuoLoginForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Icon = BaseClass.Ico;
|
||||
cefWebBrowser = CreateChromiumWebBrowser(MobileLoginUrl,false);
|
||||
cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
|
||||
cefWebBrowser.Dock = DockStyle.Fill;
|
||||
panel1.Controls.Add(cefWebBrowser);
|
||||
}
|
||||
|
||||
private void RequestHandler_ResourceLoadComplete(string url, string postData, string responseData)
|
||||
{
|
||||
}
|
||||
public static RequestContextSettings GetRequestContextIsolateSettings()
|
||||
{
|
||||
RequestContextSettings requestContextSettings = new RequestContextSettings();
|
||||
requestContextSettings.PersistSessionCookies = false;
|
||||
requestContextSettings.PersistUserPreferences = false;
|
||||
return requestContextSettings;
|
||||
}
|
||||
|
||||
public static ChromiumWebBrowser CreateChromiumWebBrowser(string url, bool isGlobal = true)
|
||||
{
|
||||
ChromiumWebBrowser cefBrowser = new ChromiumWebBrowser(url);
|
||||
if (!isGlobal)
|
||||
{
|
||||
cefBrowser.RequestContext = new RequestContext(GetRequestContextIsolateSettings());
|
||||
}
|
||||
cefBrowser.BrowserSettings = new BrowserSettings
|
||||
{
|
||||
Plugins = CefState.Disabled
|
||||
};
|
||||
return cefBrowser;
|
||||
}
|
||||
public static List<Cookie> cookieList = new List<Cookie>();
|
||||
private async void CefWebBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
|
||||
{
|
||||
if (e.Frame.IsMain)
|
||||
{
|
||||
string url = e.Frame.Url;
|
||||
string html = await e.Frame.GetSourceAsync();
|
||||
|
||||
List<Cookie> cookieList = GetCookieList("yangkeduo.com", cefWebBrowser.RequestContext.GetCookieManager(null));
|
||||
string token = cookieList.Where(p => p.Name == "PDDAccessToken").Select(p => p.Value).FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(token))
|
||||
{
|
||||
this.BeginInvoke(new Action(() =>
|
||||
{
|
||||
this.onSaveComplete(token);
|
||||
this.Close();
|
||||
}));
|
||||
}
|
||||
}
|
||||
//string url = cefWebBrowser.Address;
|
||||
|
||||
//if (url.Contains(BaseClass.NewUrl+"/index.html"))
|
||||
//{
|
||||
// List<Cookie> cookieList = GetCookieList("yangkeduo.com", null);
|
||||
// string token = cookieList.Where(p => p.Name == "PDDAccessToken").Select(p => p.Value).FirstOrDefault();
|
||||
// if (!string.IsNullOrEmpty(token))
|
||||
// {
|
||||
// this.BeginInvoke(new Action(() =>
|
||||
// {
|
||||
// this.onSaveComplete(token);
|
||||
// this.Close();
|
||||
// }));
|
||||
// }
|
||||
//}
|
||||
|
||||
}
|
||||
public static List<Cookie> GetCookieList(string domains = "", ICookieManager cookieManager = null)
|
||||
{
|
||||
if (cookieManager == null)
|
||||
{
|
||||
cookieManager = Cef.GetGlobalCookieManager();
|
||||
}
|
||||
CookieVisitorx visitor = new CookieVisitorx();
|
||||
if (cookieManager.VisitAllCookies(visitor))
|
||||
{
|
||||
visitor.WaitForAllCookie();
|
||||
}
|
||||
if (string.IsNullOrEmpty(domains))
|
||||
{
|
||||
return visitor.CookieList;
|
||||
}
|
||||
else
|
||||
{
|
||||
List<Cookie> list = new List<Cookie>();
|
||||
foreach (string domain in domains.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
|
||||
{
|
||||
list.AddRange(visitor.CookieList.Where(p => p.Domain.Contains(domain.Trim())).ToList());
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public class CookieVisitorx : ICookieVisitor
|
||||
{
|
||||
public List<Cookie> CookieList;
|
||||
public ManualResetEvent gotAllCookie = new ManualResetEvent(false);
|
||||
|
||||
public CookieVisitorx()
|
||||
{
|
||||
CookieList = new List<Cookie>();
|
||||
}
|
||||
|
||||
public bool Visit(Cookie cookie, int count, int total, ref bool deleteCookie)
|
||||
{
|
||||
CookieList.Add(cookie);
|
||||
if (count == total - 1)
|
||||
{
|
||||
gotAllCookie.Set();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public void WaitForAllCookie()
|
||||
{
|
||||
gotAllCookie.WaitOne();
|
||||
}
|
||||
|
||||
#region IDisposable Support
|
||||
private bool disposedValue = false; // To detect redundant calls
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposedValue)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
// TODO: dispose managed state (managed objects).
|
||||
}
|
||||
|
||||
// TODO: free unmanaged resources (unmanaged objects) and override a finalizer below.
|
||||
// TODO: set large fields to null.
|
||||
|
||||
disposedValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: override a finalizer only if Dispose(bool disposing) above has code to free unmanaged resources.
|
||||
// ~CookieVisitor()
|
||||
// {
|
||||
// // Do not change this code. Put cleanup code in Dispose(bool disposing) above.
|
||||
// Dispose(false);
|
||||
// }
|
||||
|
||||
// This code added to correctly implement the disposable pattern.
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
|
||||
Dispose(true);
|
||||
// TODO: uncomment the following line if the finalizer is overridden above.
|
||||
// GC.SuppressFinalize(this);
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class PinDuoDuoLoginForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.panel1.Location = new System.Drawing.Point(0, 32);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(360, 543);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// PinDuoDuoLoginForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(360, 575);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "PinDuoDuoLoginForm";
|
||||
this.Text = "获取Token";
|
||||
this.TitleText = "获取Token";
|
||||
this.Load += new System.EventHandler(this.PinDuoDuoLoginForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel1, 0);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -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,109 @@
|
||||
using AllBase;
|
||||
using AllBase.Helper;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.Api;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
public partial class ProxyForm : LRBaseForm
|
||||
{
|
||||
|
||||
public ProxyForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
MaximizeBox = false;
|
||||
}
|
||||
|
||||
private void proxyButtonX_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtProxy.Text))
|
||||
return;
|
||||
string sAgentIpKey = this.txtProxy.Text.ParseToString().Trim();
|
||||
InitProxyIp(sAgentIpKey);
|
||||
try
|
||||
{
|
||||
FileBase.WriteAllText("temp/proxy.txt", sAgentIpKey, Encoding.UTF8);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
if (!string.IsNullOrEmpty(GetProxyHtml.txtUrl))
|
||||
{
|
||||
BaseMsgForm.ShowInfo("设置成功", "", FormLevel.SMALL);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private void ProxyForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Icon = BaseClass.Ico;
|
||||
if (FileBase.Exists("temp/proxy.txt"))
|
||||
{
|
||||
string sAgentIpKey = FileBase.ReadAllText("temp/proxy.txt").Trim();
|
||||
InitProxyIp(sAgentIpKey);
|
||||
txtProxy.Text = sAgentIpKey;
|
||||
}
|
||||
}
|
||||
|
||||
public static void InitProxyIp(string sAgentIpKey, bool isShowErrorWindow = true)
|
||||
{
|
||||
string sOrderId = DESDecode(sAgentIpKey, GlobalConfig.cAgentIpCode);
|
||||
if (string.IsNullOrEmpty(sOrderId))
|
||||
{
|
||||
if (isShowErrorWindow)
|
||||
BaseMsgForm.ShowError("代理秘钥验证不通过,请检查秘钥!");
|
||||
return;
|
||||
}
|
||||
string sProxyUrl = "http://bjn.66daili.cn/API/bjn/get/?orderid=" + sOrderId + "&token=5AF433ED506FA475";
|
||||
GetProxyHtml.txtUrl = sProxyUrl;
|
||||
GetProxyHtml.orderId = sOrderId;
|
||||
}
|
||||
|
||||
private static byte[] Keys = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF };
|
||||
public static string DESDecode(string source, string sKey)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] inputByteArray = System.Convert.FromBase64String(source);//Encoding.UTF8.GetBytes(source);
|
||||
using (DESCryptoServiceProvider des = new DESCryptoServiceProvider())
|
||||
{
|
||||
des.Key = ASCIIEncoding.ASCII.GetBytes(sKey);
|
||||
des.IV = Keys;
|
||||
System.IO.MemoryStream ms = new System.IO.MemoryStream();
|
||||
using (CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(), CryptoStreamMode.Write))
|
||||
{
|
||||
cs.Write(inputByteArray, 0, inputByteArray.Length);
|
||||
cs.FlushFinalBlock();
|
||||
cs.Close();
|
||||
}
|
||||
string str = Encoding.UTF8.GetString(ms.ToArray());
|
||||
ms.Close();
|
||||
return str;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
private void btnAgentIPUrl_Click(object sender, EventArgs e)
|
||||
{
|
||||
GetHtml.OpenUrl("http://guangsu.deifei.com.cn/");
|
||||
}
|
||||
}
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class ProxyForm
|
||||
{
|
||||
/// <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.txtProxy = new System.Windows.Forms.TextBox();
|
||||
this.proxyButtonX = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.btnAgentIPUrl = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txtProxy
|
||||
//
|
||||
this.txtProxy.Location = new System.Drawing.Point(13, 28);
|
||||
this.txtProxy.Name = "txtProxy";
|
||||
this.txtProxy.Size = new System.Drawing.Size(304, 23);
|
||||
this.txtProxy.TabIndex = 335;
|
||||
//
|
||||
// proxyButtonX
|
||||
//
|
||||
this.proxyButtonX.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.proxyButtonX.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.proxyButtonX.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.proxyButtonX.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.proxyButtonX.ForeColor = System.Drawing.Color.White;
|
||||
this.proxyButtonX.Location = new System.Drawing.Point(328, 27);
|
||||
this.proxyButtonX.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.proxyButtonX.Name = "proxyButtonX";
|
||||
this.proxyButtonX.Size = new System.Drawing.Size(81, 26);
|
||||
this.proxyButtonX.TabIndex = 369;
|
||||
this.proxyButtonX.Text = "设置代理IP";
|
||||
this.proxyButtonX.UseVisualStyleBackColor = false;
|
||||
this.proxyButtonX.Click += new System.EventHandler(this.proxyButtonX_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.White;
|
||||
this.panel2.Controls.Add(this.btnAgentIPUrl);
|
||||
this.panel2.Controls.Add(this.label8);
|
||||
this.panel2.Controls.Add(this.txtProxy);
|
||||
this.panel2.Controls.Add(this.proxyButtonX);
|
||||
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(503, 81);
|
||||
this.panel2.TabIndex = 371;
|
||||
//
|
||||
// btnAgentIPUrl
|
||||
//
|
||||
this.btnAgentIPUrl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAgentIPUrl.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAgentIPUrl.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnAgentIPUrl.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAgentIPUrl.ForeColor = System.Drawing.Color.White;
|
||||
this.btnAgentIPUrl.Location = new System.Drawing.Point(411, 27);
|
||||
this.btnAgentIPUrl.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnAgentIPUrl.Name = "btnAgentIPUrl";
|
||||
this.btnAgentIPUrl.Size = new System.Drawing.Size(81, 26);
|
||||
this.btnAgentIPUrl.TabIndex = 371;
|
||||
this.btnAgentIPUrl.Text = "购买代理IP";
|
||||
this.btnAgentIPUrl.UseVisualStyleBackColor = false;
|
||||
this.btnAgentIPUrl.Click += new System.EventHandler(this.btnAgentIPUrl_Click);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Font = new System.Drawing.Font("微软雅黑", 11.5F);
|
||||
this.label8.ForeColor = System.Drawing.Color.Red;
|
||||
this.label8.Location = new System.Drawing.Point(10, 4);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(265, 21);
|
||||
this.label8.TabIndex = 370;
|
||||
this.label8.Text = "请填入购买光速IP后生成的代理秘钥";
|
||||
//
|
||||
// ProxyForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(505, 115);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Name = "ProxyForm";
|
||||
this.Text = "代理IP";
|
||||
this.TitleText = "代理IP";
|
||||
this.Load += new System.EventHandler(this.ProxyForm_Load);
|
||||
this.Controls.SetChildIndex(this.panel2, 0);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox txtProxy;
|
||||
private UserControls.ButtonEx proxyButtonX;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private UserControls.ButtonEx btnAgentIPUrl;
|
||||
}
|
||||
}
|
||||
@@ -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,54 @@
|
||||
using AllBase;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
public partial class TextForm : LRBaseForm
|
||||
{
|
||||
public string Info { get; set; }
|
||||
public delegate void OnSaveComplete(string msg);
|
||||
public event OnSaveComplete onSaveComplete;
|
||||
public TextForm()
|
||||
{
|
||||
Info = string.Empty;
|
||||
InitializeComponent();
|
||||
}
|
||||
public TextForm(string info)
|
||||
{
|
||||
Info = info;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
onSaveComplete(this.txtInfo.Text.Trim());
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void TextForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Icon = BaseClass.Ico;
|
||||
this.txtInfo.Text = Info.ParseToString().Trim();
|
||||
}
|
||||
|
||||
private void txtInfo_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.Control && e.KeyCode == Keys.A)
|
||||
{
|
||||
((TextBox)sender).SelectAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
|
||||
using LittleRabbit.UserControls;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class TextForm
|
||||
{
|
||||
/// <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.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.txtInfo = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new LittleRabbit.UserControls.ButtonEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(98)))), ((int)(((byte)(200)))));
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(1, 33);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txtInfo);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Panel2.Controls.Add(this.button1);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(491, 326);
|
||||
this.splitContainer1.SplitterDistance = 278;
|
||||
this.splitContainer1.SplitterWidth = 1;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// txtInfo
|
||||
//
|
||||
this.txtInfo.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.txtInfo.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtInfo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtInfo.Location = new System.Drawing.Point(0, 0);
|
||||
this.txtInfo.Multiline = true;
|
||||
this.txtInfo.Name = "txtInfo";
|
||||
this.txtInfo.Size = new System.Drawing.Size(491, 278);
|
||||
this.txtInfo.TabIndex = 34;
|
||||
this.txtInfo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtInfo_KeyDown);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.button1.ForeColor = System.Drawing.Color.White;
|
||||
this.button1.Location = new System.Drawing.Point(200, 8);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(97, 27);
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Text = "保存token";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// TextForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(493, 360);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Name = "TextForm";
|
||||
this.Text = "输入token";
|
||||
this.TitleText = "输入token";
|
||||
this.Load += new System.EventHandler(this.TextForm_Load);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
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 System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.TextBox txtInfo;
|
||||
private ButtonEx button1;
|
||||
}
|
||||
}
|
||||
@@ -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,833 @@
|
||||
using AllBase;
|
||||
using LittleRabbit.LittleRabbitForms.BaseForms;
|
||||
using NaiBa.Util.Extension;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Work;
|
||||
using Work.Api;
|
||||
using Work.CollectClass;
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
public partial class TokenNewForm : LRBaseForm
|
||||
{
|
||||
public TokenNewForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.splitContainer2.SplitterWidth = 1;
|
||||
}
|
||||
|
||||
private void dataGridView3_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
string name = dataGridView3.Columns[e.ColumnIndex].HeaderText;
|
||||
string token = dataGridView3.Rows[e.RowIndex].Cells["TokenColumn"].Value.ParseToString();
|
||||
switch (name)
|
||||
{
|
||||
case "选择":
|
||||
bool ok = !bool.Parse(dataGridView3.Rows[e.RowIndex].Cells["onSelectColumn"].Value.ToString());
|
||||
dataGridView3.Rows[e.RowIndex].Cells["onSelectColumn"].Value = ok;
|
||||
break;
|
||||
case "激活":
|
||||
CaptchaToken(token);
|
||||
break;
|
||||
case "检测":
|
||||
CheckToken(new string[] { token });
|
||||
break;
|
||||
case "删除":
|
||||
DeleteToken(e.RowIndex);
|
||||
SaveConfig();
|
||||
break;
|
||||
default:
|
||||
dataGridView3.Rows[e.RowIndex].Cells["onSelectColumn"].Value = !(bool)dataGridView3.Rows[e.RowIndex].Cells["onSelectColumn"].Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void DeleteToken(string token)
|
||||
{
|
||||
DataGridViewRow dgvr = dataGridView3.Rows.Cast<DataGridViewRow>().Where(p => p.Cells["TokenColumn"].Value.ParseToString() == token).FirstOrDefault();
|
||||
if (dgvr != null)
|
||||
{
|
||||
DeleteToken(dgvr.Index);
|
||||
}
|
||||
}
|
||||
private void CaptchaToken(string token)
|
||||
{
|
||||
PinDuoDuoCaptchaForm pinDuoDuoCaptchaForm = new PinDuoDuoCaptchaForm(token);
|
||||
pinDuoDuoCaptchaForm.onSaveComplete += PinDuoDuoCaptchaForm_SaveComplete;
|
||||
pinDuoDuoCaptchaForm.ShowDialog();
|
||||
SaveConfig();
|
||||
}
|
||||
private void PinDuoDuoCaptchaForm_SaveComplete(object param)
|
||||
{
|
||||
TData<string> obj = param as TData<string>;
|
||||
if (obj.Tag == 1)
|
||||
{
|
||||
CheckToken(new string[] { obj.Result });
|
||||
}
|
||||
else
|
||||
{
|
||||
DeleteToken(obj.Result);
|
||||
SaveConfig();
|
||||
}
|
||||
}
|
||||
private void dataGridView3_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.RowBounds.Location.Y, dataGridView3.RowHeadersWidth - 4, e.RowBounds.Height);
|
||||
TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(), dataGridView3.RowHeadersDefaultCellStyle.Font, rectangle,
|
||||
dataGridView3.RowHeadersDefaultCellStyle.ForeColor, TextFormatFlags.VerticalCenter | TextFormatFlags.Right);
|
||||
}
|
||||
private List<string> GetCheckedTokenList()
|
||||
{
|
||||
List<string> tokenList = new List<string>();
|
||||
for (int i = 0; i < dataGridView3.Rows.Count; i++)
|
||||
{
|
||||
bool onSelect = bool.Parse(dataGridView3.Rows[i].Cells["onSelectColumn"].Value.ToString());
|
||||
if (onSelect)
|
||||
{
|
||||
string token = dataGridView3.Rows[i].Cells["TokenColumn"].Value.ToString();
|
||||
tokenList.Add(token);
|
||||
}
|
||||
}
|
||||
return tokenList;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.button1.Text == "检测Token")
|
||||
{
|
||||
List<string> tokenList = GetCheckedTokenList();
|
||||
if (tokenList.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请选择需要检测的Token码");
|
||||
return;
|
||||
}
|
||||
CheckToken(tokenList.ToArray(), isSaveToServer);
|
||||
this.button1.Text = "停止检测";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.button1.Text = "检测Token";
|
||||
this.statusBar.lblTaskStatus.Text = "用户取消";
|
||||
this.statusBar.pgbTaskProgress.Value = this.statusBar.pgbTaskProgress.Maximum;
|
||||
cancellationTokenSource.Cancel();
|
||||
}
|
||||
}
|
||||
private bool isSaveToServer = true;
|
||||
private CancellationTokenSource cancellationTokenSource = null;
|
||||
private void CheckToken(string[] pddAccessTokenArr, bool isSaveToServer = false)
|
||||
{
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
this.statusBar.lblTaskStatus.Text = "正在检测...";
|
||||
this.statusBar.pgbTaskProgress.Value = 0;
|
||||
this.statusBar.pgbTaskProgress.Maximum = pddAccessTokenArr.Length;
|
||||
this.statusBar.pgbTaskProgress.Text = "0" + "/" + pddAccessTokenArr.Length;
|
||||
Task.Run(() =>
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (int i = 0; i < pddAccessTokenArr.Length; i++)
|
||||
{
|
||||
if (cancellationTokenSource.IsCancellationRequested)
|
||||
{
|
||||
return;
|
||||
}
|
||||
string temp = pddAccessTokenArr[i].Trim();
|
||||
TData<PinDuoDuoTokenInfo> obj = null;
|
||||
if (GetProxyHtml.ips.Count > 0)
|
||||
{
|
||||
obj = CheckPDDAccessToken(temp, 1);
|
||||
if (obj.Result.ProductDetailStatus == 1)
|
||||
{
|
||||
sb.Append(temp + ",");
|
||||
}
|
||||
}
|
||||
if (obj == null || obj.Result == null)
|
||||
{
|
||||
obj = CheckPDDAccessToken(temp, 0);
|
||||
if (obj.Result.ProductDetailStatus == 1)
|
||||
{
|
||||
sb.Append(temp + ",");
|
||||
}
|
||||
}
|
||||
if (this.Created)
|
||||
{
|
||||
if (i % 5 == 0 || i == pddAccessTokenArr.Length - 1)
|
||||
{
|
||||
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.lblTaskStatus.Text = "正在检测...";
|
||||
this.statusBar.pgbTaskProgress.Value = (i + 1);
|
||||
this.statusBar.pgbTaskProgress.Text = (i + 1) + "/" + pddAccessTokenArr.Length;
|
||||
}));
|
||||
}
|
||||
AddToken(obj.Result);
|
||||
}
|
||||
//AddToken(obj.Result);
|
||||
}
|
||||
if (isSaveToServer)
|
||||
{
|
||||
string pddAccessToken = sb.ToString().Trim(',');
|
||||
if (!string.IsNullOrEmpty(pddAccessToken))
|
||||
{
|
||||
SaveToken(pddAccessToken);
|
||||
}
|
||||
}
|
||||
if (this.Created)
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
this.button1.Text = "检测Token";
|
||||
this.statusBar.lblTaskStatus.Text = "检测完毕";
|
||||
}));
|
||||
}
|
||||
SaveConfig();
|
||||
});
|
||||
}
|
||||
public void SaveToken(string pddAccessToken)
|
||||
{
|
||||
string url = BaseClass.BuildObjString("sign");
|
||||
string data = UserLogin.GetSignaturex() +
|
||||
"&act=add_token" +
|
||||
"&token=" + pddAccessToken;
|
||||
var result = GetHtml.PostUtf8(url, data);
|
||||
}
|
||||
private void SaveConfig()
|
||||
{
|
||||
SavePinDuoDuoAccessToken();
|
||||
}
|
||||
public static void SavePinDuoDuoAccessToken()
|
||||
{
|
||||
SaveConfig("temp/pinduoduo_token", PinduoduoProductCollect.PinDuoDuoTokenList);
|
||||
}
|
||||
public static void SaveConfig<T>(string fileName, T config)
|
||||
{
|
||||
try
|
||||
{
|
||||
string filePath = AppDomain.CurrentDomain.BaseDirectory + fileName;
|
||||
if (!Directory.Exists(Path.GetDirectoryName(filePath)))
|
||||
{
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(filePath));
|
||||
}
|
||||
string content = JsonConvert.SerializeObject(config);
|
||||
File.WriteAllText(filePath, content, Encoding.UTF8);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
private void AddToken(PinDuoDuoTokenInfo param)
|
||||
{
|
||||
PinDuoDuoTokenInfo tokenInfo = PinduoduoProductCollect.PinDuoDuoTokenList.Where(p => p.PDDAccessToken == param.PDDAccessToken).FirstOrDefault();
|
||||
if (tokenInfo == null)
|
||||
{
|
||||
PinduoduoProductCollect.PinDuoDuoTokenList.Add(param);
|
||||
}
|
||||
else
|
||||
{
|
||||
tokenInfo.UserId = param.UserId;
|
||||
tokenInfo.ProductDetailStatus = param.ProductDetailStatus;
|
||||
tokenInfo.LoginStatus = param.LoginStatus;
|
||||
tokenInfo.SearchStatus = param.SearchStatus;
|
||||
tokenInfo.IsCaptcha = param.IsCaptcha;
|
||||
}
|
||||
AddDataGridViewRowToken(param);
|
||||
}
|
||||
private void UpdateDataGridViewRowToken(DataGridViewRow dgvr, PinDuoDuoTokenInfo param)
|
||||
{
|
||||
dgvr.Cells["StatusColumn"].Value = (param.ProductDetailStatus == 1 ? "正常" : "不能用");
|
||||
dgvr.Cells["loginStatusColumn"].Value = (param.LoginStatus == 1 ? "正常" : "不能用");
|
||||
dgvr.Cells["colSearchStatusColumn"].Value = (param.SearchStatus == 1 ? "正常" : "不能用");
|
||||
//dgvr.Cells["colCaptchaColumn"].Value = (param.IsCaptcha ? "激活" : string.Empty);
|
||||
dgvr.Cells["colCaptchaColumn"].Value = "激活";
|
||||
}
|
||||
private void AddDataGridViewRowToken(PinDuoDuoTokenInfo param)
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
DataGridViewRow dgvr = dataGridView3.Rows.Cast<DataGridViewRow>().Where(p => p.Cells["TokenColumn"].Value.ToString() == param.PDDAccessToken).FirstOrDefault();
|
||||
if (dgvr != null)
|
||||
{
|
||||
UpdateDataGridViewRowToken(dgvr, param);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.dataGridView3.Rows.Add(
|
||||
false,
|
||||
param.PDDAccessToken,
|
||||
param.LoginStatus == 1 ? "正常" : "未登录",
|
||||
param.SearchStatus == 1 ? "正常" : "不能用",
|
||||
param.ProductDetailStatus == 1 ? "正常" : "不能用",
|
||||
//param.IsCaptcha ? "激活" : string.Empty,
|
||||
"激活",
|
||||
"检测",
|
||||
"删除"
|
||||
);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
public TData<PinDuoDuoTokenInfo> CheckPDDAccessToken(string pddAccessToken, int flag = 0)
|
||||
{
|
||||
TData<PinDuoDuoTokenInfo> obj = new TData<PinDuoDuoTokenInfo>();
|
||||
obj.Result = new PinDuoDuoTokenInfo
|
||||
{
|
||||
PDDAccessToken = pddAccessToken
|
||||
};
|
||||
string url = BaseClass.NewUrl+"/personal.html";
|
||||
string refere = "";
|
||||
string html = "";
|
||||
if (flag == 1)
|
||||
html = GetProxyHtml.UploadProxyTaobao(url, refere, true, "PDDAccessToken=" + pddAccessToken);
|
||||
else
|
||||
html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, "PDDAccessToken=" + pddAccessToken);
|
||||
if (string.IsNullOrEmpty(html))
|
||||
{
|
||||
obj.Result.LoginStatus = obj.Result.ProductDetailStatus = -1;
|
||||
}
|
||||
else if (html.Contains("我的订单"))
|
||||
{
|
||||
obj.Result.LoginStatus = 1;
|
||||
url = "http://yangkeduo.com/goods.html?goods_id=17252982258";
|
||||
if (flag == 1)
|
||||
{
|
||||
html = GetProxyHtml.UploadProxyTaobao(url, refere, true, "PDDAccessToken=" + pddAccessToken);
|
||||
}
|
||||
else
|
||||
{
|
||||
html = GetProductDetail(url, pddAccessToken);
|
||||
if (!IsNotPinDuoDuoProductDetail(html))
|
||||
{
|
||||
if (html.Contains("垃圾桶"))
|
||||
{
|
||||
obj.Result.ProductDetailStatus = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
html = GetProductDetailByApi(17252982258, pddAccessToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (html.Contains("goodsName")|| html.Contains("垃圾桶"))
|
||||
{
|
||||
obj.Result.ProductDetailStatus = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
obj.Result.ProductDetailStatus = -1;
|
||||
obj.Result.IsCaptcha = true;
|
||||
}
|
||||
url = "http://yangkeduo.com/search_result.html?search_key=垃圾桶";
|
||||
if (flag == 1)
|
||||
html = GetProxyHtml.UploadProxyTaobao(url, refere, true, "PDDAccessToken=" + pddAccessToken);
|
||||
else
|
||||
html = GetPostTaobaoHtml.UploadTaobao(url, refere, true, "PDDAccessToken=" + pddAccessToken);
|
||||
|
||||
if (html.Contains("goodsName"))
|
||||
{
|
||||
obj.Result.SearchStatus = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
int keyWordIndex = url.LastIndexOf('=');
|
||||
if (keyWordIndex > 0)
|
||||
{
|
||||
var keyWord = url.Substring(keyWordIndex + 1);
|
||||
if (html.Contains(keyWord))
|
||||
{
|
||||
obj.Result.SearchStatus = -1;
|
||||
}
|
||||
}
|
||||
obj.Result.IsCaptcha = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
obj.Result.LoginStatus = -1;
|
||||
obj.Result.IsCaptcha = true;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
public string GetProductDetailByApi(long productId, string pddAccessToken)
|
||||
{
|
||||
string url = "https://yangkeduo.com/proxy/api/api/oak/integration/render?pdduid={0}";
|
||||
HttpParam httpParam = new HttpParam();
|
||||
string cookie = "PDDAccessToken=" + pddAccessToken;
|
||||
Dictionary<string, string> cookieDict = GetCookieDictionary(cookie);
|
||||
string key = "pdd_user_id";
|
||||
if (cookieDict.ContainsKey(key))
|
||||
{
|
||||
httpParam.Url = string.Format(url, cookieDict[key]);
|
||||
}
|
||||
else
|
||||
{
|
||||
httpParam.Url = string.Format(url, 0);
|
||||
}
|
||||
httpParam.ContentType = "application/json;charset=UTF-8";
|
||||
httpParam.PostData = JsonConvert.SerializeObject(new
|
||||
{
|
||||
page_version = "7",
|
||||
goods_id = productId,
|
||||
page_from = 0,
|
||||
hostname = "yangkeduo.com",
|
||||
client_time =GetUnixMilliSecondTimeStamp(DateTime.Now) + BaseClass.TimeDifferent * 1000
|
||||
});
|
||||
AddHeader(httpParam, "AccessToken", pddAccessToken);
|
||||
AddRequestParamForPinDuoDuoWeb(httpParam, pddAccessToken);
|
||||
string html = Post(httpParam);
|
||||
if (html.Contains("goods_id") && html.Contains("mall_id"))
|
||||
{
|
||||
JObject jObj = JObject.Parse(html);
|
||||
return html;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
public static string Post(HttpParam httpParam)
|
||||
{
|
||||
try
|
||||
{
|
||||
HttpWebRequest request = GetHttpWebRequest(httpParam);
|
||||
request.Method = "Post";
|
||||
request.ServicePoint.Expect100Continue = false;
|
||||
byte[] postDataByte = Encoding.UTF8.GetBytes(httpParam.PostData);
|
||||
request.ContentLength = postDataByte.Length;
|
||||
request.AllowAutoRedirect = false;
|
||||
using (Stream requestStream = request.GetRequestStream())
|
||||
{
|
||||
requestStream.Write(postDataByte, 0, postDataByte.Length);
|
||||
}
|
||||
return ReadResponse(httpParam, (HttpWebResponse)request.GetResponse());
|
||||
}
|
||||
catch
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
public static long GetUnixMilliSecondTimeStamp(DateTime dt)
|
||||
{
|
||||
DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1));
|
||||
return (long)(dt - startTime).TotalMilliseconds;
|
||||
}
|
||||
public static bool IsNotPinDuoDuoProductDetail(string html)
|
||||
{
|
||||
return !html.Contains("topGallery") && !html.Contains("商品不存在") && !html.Contains("商品已下架") && !html.Contains("\"mall\"");
|
||||
}
|
||||
public string GetProductDetail(string url, string pddAccessToken)
|
||||
{
|
||||
HttpParam httpParam = new HttpParam { Url = url };
|
||||
AddRequestParamForPinDuoDuoWeb(httpParam, pddAccessToken);
|
||||
string html = Get(httpParam);
|
||||
return html;
|
||||
}
|
||||
public static string UserAgent = "Mozilla/5.0 (Linux; Android 7.1.1; OD103 Build/NMF26F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.84 Mobile Safari/537.36";
|
||||
private void AddRequestParamForPinDuoDuoWeb(HttpParam httpParam, string accessToken)
|
||||
{
|
||||
httpParam.Cookie = "PDDAccessToken=" + accessToken;
|
||||
httpParam.UserAgent = UserAgent;
|
||||
if (!string.IsNullOrEmpty(httpParam.Cookie))
|
||||
{
|
||||
Dictionary<string, string> cookieDict = GetCookieDictionary(httpParam.Cookie);
|
||||
string key = "VerifyAuthToken";
|
||||
if (cookieDict.ContainsKey(key))
|
||||
{
|
||||
AddHeader(httpParam, key, cookieDict[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
public static void AddHeader(HttpParam httpParam, string key, string value)
|
||||
{
|
||||
if (httpParam.Header == null)
|
||||
{
|
||||
httpParam.Header = new Dictionary<string, string>();
|
||||
}
|
||||
httpParam.Header.Remove(key);
|
||||
httpParam.Header.Add(key, value);
|
||||
}
|
||||
/// <summary>
|
||||
/// 字符串转成Cookie Dictionary
|
||||
/// </summary>
|
||||
/// <param name="cookie"></param>
|
||||
/// <returns></returns>
|
||||
public static Dictionary<string, string> GetCookieDictionary(string cookie)
|
||||
{
|
||||
Dictionary<string, string> dict = new Dictionary<string, string>();
|
||||
string[] cookieArr = SplitToArray<string>(cookie, ';');
|
||||
foreach (string line in cookieArr)
|
||||
{
|
||||
int index = line.IndexOf('=');
|
||||
if (index > 0)
|
||||
{
|
||||
string key = line.Substring(0, index);
|
||||
string value = line.Substring(index + 1);
|
||||
if (!dict.ContainsKey(key))
|
||||
{
|
||||
dict.Add(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
return dict;
|
||||
}
|
||||
public static T[] SplitToArray<T>(string value, char split)
|
||||
{
|
||||
T[] arr = value.Split(new string[] { split.ToString() }, StringSplitOptions.RemoveEmptyEntries).CastSuper<T>().ToArray();
|
||||
return arr;
|
||||
}
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
isSaveToServer = checkBox1.Checked;
|
||||
}
|
||||
|
||||
private void splitContainer1_Panel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
private void TextBoxForm_SaveComplete(object param)
|
||||
{
|
||||
string[] lineArr = param.ParseToString().Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).Distinct().ToArray();
|
||||
List<string> tokenList = new List<string>();
|
||||
foreach (string token in lineArr)
|
||||
{
|
||||
string[] tokenArr = token.Split(new string[] { "----" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
switch (tokenArr.Length)
|
||||
{
|
||||
case 1:
|
||||
tokenList.Add(token);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
// 第三个是token,格式为 14704717242----9496706479025----5FMVBP7QAK4DQNJO6NE3225GGSLBQEO2S5LT4GF3DUD2BVJVEW5Q103b187
|
||||
tokenList.Add(tokenArr[2]);
|
||||
break;
|
||||
|
||||
case 4:
|
||||
// 第二个是token,格式为 13598846146----B6SD4DVKPFKTK5ZX5MWGOAS3TK6HIJNMK4AVJ6SZAZDVL4CTSP5Q110e49e----5054402823396----3045303225
|
||||
tokenList.Add(tokenArr[1]);
|
||||
break;
|
||||
|
||||
default:
|
||||
foreach (string split in tokenArr)
|
||||
{
|
||||
// 拼多多的token是59个字符
|
||||
if (split.Length == 59)
|
||||
{
|
||||
tokenList.Add(split);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
CheckToken(tokenList.ToArray(), isSaveToServer);
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshDataGridView();
|
||||
}
|
||||
|
||||
public bool isLoading = false;
|
||||
private void RefreshDataGridView()
|
||||
{
|
||||
if (isLoading)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("当前正在加载,请稍等");
|
||||
return;
|
||||
}
|
||||
this.statusBar.pgbTaskProgress.Maximum = PinduoduoProductCollect.PinDuoDuoTokenList.Count;
|
||||
Task.Run(() =>
|
||||
{
|
||||
isLoading = true;
|
||||
for (int i = 0; i < PinduoduoProductCollect.PinDuoDuoTokenList.Count; i++)
|
||||
{
|
||||
if (i % 5 == 0 || i == PinduoduoProductCollect.PinDuoDuoTokenList.Count - 1)
|
||||
{
|
||||
if (this.Created)
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.lblTaskStatus.Text = "正在加载...";
|
||||
this.statusBar.pgbTaskProgress.Value = (i + 1);
|
||||
this.statusBar.pgbTaskProgress.Text = (i + 1) + "/" + PinduoduoProductCollect.PinDuoDuoTokenList.Count;
|
||||
}));
|
||||
}
|
||||
}
|
||||
AddDataGridViewRowToken(PinduoduoProductCollect.PinDuoDuoTokenList[i]);
|
||||
}
|
||||
if (this.Created)
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.lblTaskStatus.Text = "加载完毕";
|
||||
}));
|
||||
}
|
||||
isLoading = false;
|
||||
});
|
||||
}
|
||||
|
||||
private void textBox2_Click(object sender, EventArgs e)
|
||||
{
|
||||
TextForm textForm = new TextForm();
|
||||
textForm.onSaveComplete += TextBoxForm_SaveComplete;
|
||||
textForm.ShowDialog();
|
||||
}
|
||||
|
||||
private void textBox1_Click(object sender, EventArgs e)
|
||||
{
|
||||
PinDuoDuoLoginForm pinDuoDuoLoginForm = new PinDuoDuoLoginForm();
|
||||
pinDuoDuoLoginForm.onSaveComplete += PinDuoDuoLoginForm_SaveComplete;
|
||||
pinDuoDuoLoginForm.ShowDialog();
|
||||
}
|
||||
private void PinDuoDuoLoginForm_SaveComplete(object obj)
|
||||
{
|
||||
CheckToken(new string[] { obj.ParseToString() }, true);
|
||||
}
|
||||
|
||||
private void textBox1_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<DataGridViewRow> dataGridViewRowList = dataGridView3.Rows.Cast<DataGridViewRow>().Where(p => p.Cells["onSelectColumn"].Value.ToString() == "True").ToList();
|
||||
if (!dataGridViewRowList.Any())
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请选择需要删除的Token码");
|
||||
return;
|
||||
}
|
||||
foreach (DataGridViewRow dgvr in dataGridViewRowList)
|
||||
{
|
||||
DeleteToken(dgvr.Index);
|
||||
}
|
||||
SaveConfig();
|
||||
}
|
||||
|
||||
private void DeleteToken(int rowIndex)
|
||||
{
|
||||
string token = this.dataGridView3.Rows[rowIndex].Cells["TokenColumn"].Value.ParseToString();
|
||||
dataGridView3.Rows.RemoveAt(rowIndex);
|
||||
PinduoduoProductCollect.PinDuoDuoTokenList.RemoveAll(p => p.PDDAccessToken == token);
|
||||
}
|
||||
|
||||
private void TokenNewForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseClass.Ico != null)
|
||||
Icon = BaseClass.Ico;
|
||||
this.statusBar.pgbTaskProgress.Minimum = 0;
|
||||
RefreshDataGridView();
|
||||
}
|
||||
|
||||
private void selectAllcheckBox_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
for (int i = 0; i < dataGridView3.Rows.Count; i++)
|
||||
{
|
||||
dataGridView3.Rows[i].Cells["onSelectColumn"].Value = selectAllcheckBox.Checked;
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox2_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
for (int i = 0; i < dataGridView3.Rows.Count; i++)
|
||||
{
|
||||
if (checkBox2.Checked && dataGridView3.Rows[i].Cells["StatusColumn"].Value.ToString() == "不能用")
|
||||
{
|
||||
dataGridView3.Rows[i].Cells["onSelectColumn"].Value = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
dataGridView3.Rows[i].Cells["onSelectColumn"].Value = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox3_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
for (int i = 0; i < dataGridView3.Rows.Count; i++)
|
||||
{
|
||||
if (checkBox3.Checked && dataGridView3.Rows[i].Cells["StatusColumn"].Value.ToString() == "正常")
|
||||
{
|
||||
dataGridView3.Rows[i].Cells["onSelectColumn"].Value = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
dataGridView3.Rows[i].Cells["onSelectColumn"].Value = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static string Get(HttpParam httpParam)
|
||||
{
|
||||
try
|
||||
{
|
||||
HttpWebRequest request = GetHttpWebRequest(httpParam);
|
||||
request.Method = "Get";
|
||||
return ReadResponse(httpParam, (HttpWebResponse)request.GetResponse());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
public static string ReadResponse(HttpParam httpParam, HttpWebResponse response)
|
||||
{
|
||||
using (Stream stream = DecompressStream(response))
|
||||
{
|
||||
using (StreamReader streamReader = new StreamReader(stream, httpParam.ResponseEncoding))
|
||||
{
|
||||
return streamReader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
}
|
||||
public static Stream DecompressStream(HttpWebResponse response)
|
||||
{
|
||||
Stream responseStream = response.GetResponseStream();
|
||||
Stream stream = null;
|
||||
if (response.ContentEncoding.ToLower().Contains("gzip"))
|
||||
{
|
||||
stream = new GZipStream(responseStream, CompressionMode.Decompress);
|
||||
}
|
||||
else if (response.ContentEncoding.ToLower().Contains("deflate"))
|
||||
{
|
||||
stream = new DeflateStream(responseStream, CompressionMode.Decompress);
|
||||
}
|
||||
if (stream == null)
|
||||
{
|
||||
return responseStream;
|
||||
}
|
||||
else
|
||||
{
|
||||
return stream;
|
||||
}
|
||||
}
|
||||
public static HttpWebRequest GetHttpWebRequest(HttpParam param)
|
||||
{
|
||||
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(param.Url);
|
||||
if (param.Proxy != null)
|
||||
{
|
||||
request.Proxy = param.Proxy;
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// request.Proxy = NaiBaGlobalConfig.GetDevelopProxy();
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(param.UserAgent))
|
||||
{
|
||||
request.UserAgent = param.UserAgent;
|
||||
}
|
||||
else
|
||||
{
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(param.Accept))
|
||||
{
|
||||
request.Accept = param.Accept;
|
||||
}
|
||||
else
|
||||
{
|
||||
request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
|
||||
}
|
||||
if (string.IsNullOrEmpty(param.AcceptLanguage))
|
||||
{
|
||||
request.Headers.Add("Accept-Language", "zh-CN,zh;q=0.9,en;q=0.8");
|
||||
}
|
||||
else
|
||||
{
|
||||
request.Headers.Add("Accept-Language", param.AcceptLanguage);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(param.ContentType))
|
||||
{
|
||||
request.ContentType = param.ContentType;
|
||||
}
|
||||
else
|
||||
{
|
||||
request.ContentType = "application/x-www-form-urlencoded;charset=UTF-8";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(param.Referer))
|
||||
{
|
||||
request.Referer = param.Referer;
|
||||
}
|
||||
request.Headers.Remove("Cookie");
|
||||
if (!string.IsNullOrEmpty(param.Cookie))
|
||||
{
|
||||
request.Headers.Add("Cookie", param.Cookie);
|
||||
}
|
||||
if (param.Header != null)
|
||||
{
|
||||
foreach (KeyValuePair<string, string> header in param.Header)
|
||||
{
|
||||
request.Headers.Add(header.Key, header.Value);
|
||||
}
|
||||
}
|
||||
if (param.Timeout > 0)
|
||||
{
|
||||
request.Timeout = param.Timeout;
|
||||
}
|
||||
else
|
||||
{
|
||||
request.Timeout = 60 * 1000;
|
||||
}
|
||||
return request;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public enum UserAgentTypeEnum
|
||||
{
|
||||
[Description("未知")]
|
||||
Unknown = 0,
|
||||
|
||||
[Description("PC")]
|
||||
PC = 1,
|
||||
|
||||
[Description("Mobile")]
|
||||
Mobile = 2,
|
||||
|
||||
[Description("Pad")]
|
||||
Pad = 3
|
||||
}
|
||||
public class HttpParam
|
||||
{
|
||||
public HttpParam()
|
||||
{
|
||||
ResponseEncoding = Encoding.UTF8;
|
||||
}
|
||||
public string Url { get; set; }
|
||||
public string Method { get; set; }
|
||||
public string PostData { get; set; }
|
||||
public string ContentType { get; set; }
|
||||
public string Cookie { get; set; }
|
||||
public string Referer { get; set; }
|
||||
public string UserAgent { get; set; }
|
||||
public UserAgentTypeEnum UserAgentType { get; set; }
|
||||
public string AcceptLanguage { get; set; }
|
||||
public string Accept { get; set; }
|
||||
[JsonIgnore]
|
||||
public WebProxy Proxy { get; set; }
|
||||
public int Timeout { get; set; }
|
||||
public Dictionary<string, string> Header { get; set; }
|
||||
public int ProxySleep { get; set; }
|
||||
public int TryTimes { get; set; }
|
||||
public int ActualTryTimes { get; set; }
|
||||
[JsonIgnore]
|
||||
public CancellationTokenSource CancellationTokenSource { get; set; }
|
||||
[JsonIgnore]
|
||||
public Encoding ResponseEncoding { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
+491
@@ -0,0 +1,491 @@
|
||||
|
||||
namespace LittleRabbit.LittleRabbitForms.ToolForms
|
||||
{
|
||||
partial class TokenNewForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.selectAllcheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.button3 = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.button1 = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.button2 = new LittleRabbit.UserControls.ButtonEx();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.dataGridView3 = new System.Windows.Forms.DataGridView();
|
||||
this.onSelectColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.TokenColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.loginStatusColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSearchStatusColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.StatusColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCaptchaColumn = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colShopOperateColumn = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.delColumn = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.statusBar = new LittleRabbit.UserControls.StatusBarUserControl();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
|
||||
this.splitContainer3.Panel1.SuspendLayout();
|
||||
this.splitContainer3.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(98)))), ((int)(((byte)(200)))));
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(1, 33);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Panel1.Controls.Add(this.splitContainer3);
|
||||
this.splitContainer1.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer1_Panel1_Paint);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1048, 576);
|
||||
this.splitContainer1.SplitterDistance = 109;
|
||||
this.splitContainer1.SplitterWidth = 1;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// splitContainer3
|
||||
//
|
||||
this.splitContainer3.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer3.Name = "splitContainer3";
|
||||
//
|
||||
// splitContainer3.Panel1
|
||||
//
|
||||
this.splitContainer3.Panel1.Controls.Add(this.groupBox1);
|
||||
this.splitContainer3.Panel1.Controls.Add(this.groupBox3);
|
||||
this.splitContainer3.Panel1.Controls.Add(this.groupBox2);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1048, 109);
|
||||
this.splitContainer3.SplitterDistance = 880;
|
||||
this.splitContainer3.SplitterWidth = 1;
|
||||
this.splitContainer3.TabIndex = 5;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.checkBox3);
|
||||
this.groupBox1.Controls.Add(this.checkBox2);
|
||||
this.groupBox1.Controls.Add(this.selectAllcheckBox);
|
||||
this.groupBox1.Controls.Add(this.button3);
|
||||
this.groupBox1.Controls.Add(this.checkBox1);
|
||||
this.groupBox1.Controls.Add(this.button1);
|
||||
this.groupBox1.Controls.Add(this.button2);
|
||||
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox1.Location = new System.Drawing.Point(540, 8);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(293, 91);
|
||||
this.groupBox1.TabIndex = 2;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "操作";
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.AutoSize = true;
|
||||
this.checkBox3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.checkBox3.Location = new System.Drawing.Point(179, 17);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(46, 20);
|
||||
this.checkBox3.TabIndex = 397;
|
||||
this.checkBox3.Text = "正常";
|
||||
this.checkBox3.UseVisualStyleBackColor = true;
|
||||
this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.AutoSize = true;
|
||||
this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.checkBox2.Location = new System.Drawing.Point(109, 17);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(57, 20);
|
||||
this.checkBox2.TabIndex = 396;
|
||||
this.checkBox2.Text = "不可用";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
|
||||
//
|
||||
// selectAllcheckBox
|
||||
//
|
||||
this.selectAllcheckBox.AutoSize = true;
|
||||
this.selectAllcheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.selectAllcheckBox.Location = new System.Drawing.Point(23, 17);
|
||||
this.selectAllcheckBox.Name = "selectAllcheckBox";
|
||||
this.selectAllcheckBox.Size = new System.Drawing.Size(78, 20);
|
||||
this.selectAllcheckBox.TabIndex = 395;
|
||||
this.selectAllcheckBox.Text = "全选Token";
|
||||
this.selectAllcheckBox.UseVisualStyleBackColor = true;
|
||||
this.selectAllcheckBox.CheckedChanged += new System.EventHandler(this.selectAllcheckBox_CheckedChanged);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.button3.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.button3.ForeColor = System.Drawing.Color.White;
|
||||
this.button3.Location = new System.Drawing.Point(202, 39);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(75, 26);
|
||||
this.button3.TabIndex = 3;
|
||||
this.button3.Text = "刷新";
|
||||
this.button3.UseVisualStyleBackColor = false;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.checkBox1.Location = new System.Drawing.Point(23, 69);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(90, 20);
|
||||
this.checkBox1.TabIndex = 2;
|
||||
this.checkBox1.Text = "同步到服务器";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.Visible = false;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.button1.ForeColor = System.Drawing.Color.White;
|
||||
this.button1.Location = new System.Drawing.Point(22, 39);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 26);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "检测Token";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.button2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.button2.ForeColor = System.Drawing.Color.White;
|
||||
this.button2.Location = new System.Drawing.Point(112, 39);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 26);
|
||||
this.button2.TabIndex = 1;
|
||||
this.button2.Text = "删除Token";
|
||||
this.button2.UseVisualStyleBackColor = false;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.label2);
|
||||
this.groupBox3.Controls.Add(this.textBox2);
|
||||
this.groupBox3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox3.Location = new System.Drawing.Point(269, 8);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(263, 91);
|
||||
this.groupBox3.TabIndex = 4;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Token设置";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(31, 45);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(38, 16);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "token";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(71, 40);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(152, 22);
|
||||
this.textBox2.TabIndex = 0;
|
||||
this.textBox2.Click += new System.EventHandler(this.textBox2_Click);
|
||||
this.textBox2.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.textBox1);
|
||||
this.groupBox2.Controls.Add(this.label1);
|
||||
this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox2.Location = new System.Drawing.Point(10, 8);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(250, 91);
|
||||
this.groupBox2.TabIndex = 3;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "买手号设置";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(76, 41);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(143, 22);
|
||||
this.textBox1.TabIndex = 1;
|
||||
this.textBox1.Click += new System.EventHandler(this.textBox1_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(23, 45);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 16);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "手机号";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(98)))), ((int)(((byte)(200)))));
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dataGridView3);
|
||||
this.splitContainer2.Panel1.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1048, 466);
|
||||
this.splitContainer2.SplitterDistance = 432;
|
||||
this.splitContainer2.SplitterWidth = 1;
|
||||
this.splitContainer2.TabIndex = 5;
|
||||
//
|
||||
// dataGridView3
|
||||
//
|
||||
this.dataGridView3.AllowUserToAddRows = false;
|
||||
this.dataGridView3.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dataGridView3.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView3.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dataGridView3.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dataGridView3.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
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.dataGridView3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.onSelectColumn,
|
||||
this.TokenColumn,
|
||||
this.loginStatusColumn,
|
||||
this.colSearchStatusColumn,
|
||||
this.StatusColumn,
|
||||
this.colCaptchaColumn,
|
||||
this.colShopOperateColumn,
|
||||
this.delColumn});
|
||||
this.dataGridView3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView3.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView3.Name = "dataGridView3";
|
||||
this.dataGridView3.ReadOnly = true;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridView3.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView3.RowTemplate.Height = 23;
|
||||
this.dataGridView3.Size = new System.Drawing.Size(1048, 432);
|
||||
this.dataGridView3.TabIndex = 4;
|
||||
this.dataGridView3.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView3_CellContentClick);
|
||||
this.dataGridView3.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView3_RowPostPaint);
|
||||
//
|
||||
// onSelectColumn
|
||||
//
|
||||
this.onSelectColumn.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.onSelectColumn.HeaderText = "选择";
|
||||
this.onSelectColumn.Name = "onSelectColumn";
|
||||
this.onSelectColumn.ReadOnly = true;
|
||||
this.onSelectColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.onSelectColumn.Width = 40;
|
||||
//
|
||||
// TokenColumn
|
||||
//
|
||||
this.TokenColumn.HeaderText = "Token";
|
||||
this.TokenColumn.Name = "TokenColumn";
|
||||
this.TokenColumn.ReadOnly = true;
|
||||
this.TokenColumn.Width = 399;
|
||||
//
|
||||
// loginStatusColumn
|
||||
//
|
||||
this.loginStatusColumn.HeaderText = "登录状态";
|
||||
this.loginStatusColumn.Name = "loginStatusColumn";
|
||||
this.loginStatusColumn.ReadOnly = true;
|
||||
//
|
||||
// colSearchStatusColumn
|
||||
//
|
||||
this.colSearchStatusColumn.HeaderText = "关键词采集状态";
|
||||
this.colSearchStatusColumn.Name = "colSearchStatusColumn";
|
||||
this.colSearchStatusColumn.ReadOnly = true;
|
||||
this.colSearchStatusColumn.Visible = false;
|
||||
this.colSearchStatusColumn.Width = 120;
|
||||
//
|
||||
// StatusColumn
|
||||
//
|
||||
this.StatusColumn.HeaderText = "商品详情状态";
|
||||
this.StatusColumn.Name = "StatusColumn";
|
||||
this.StatusColumn.ReadOnly = true;
|
||||
//
|
||||
// colCaptchaColumn
|
||||
//
|
||||
this.colCaptchaColumn.HeaderText = "激活";
|
||||
this.colCaptchaColumn.Name = "colCaptchaColumn";
|
||||
this.colCaptchaColumn.ReadOnly = true;
|
||||
this.colCaptchaColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCaptchaColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colCaptchaColumn.Width = 66;
|
||||
//
|
||||
// colShopOperateColumn
|
||||
//
|
||||
this.colShopOperateColumn.HeaderText = "检测";
|
||||
this.colShopOperateColumn.Name = "colShopOperateColumn";
|
||||
this.colShopOperateColumn.ReadOnly = true;
|
||||
this.colShopOperateColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colShopOperateColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colShopOperateColumn.Width = 66;
|
||||
//
|
||||
// delColumn
|
||||
//
|
||||
this.delColumn.HeaderText = "删除";
|
||||
this.delColumn.Name = "delColumn";
|
||||
this.delColumn.ReadOnly = true;
|
||||
this.delColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.delColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.delColumn.Width = 66;
|
||||
//
|
||||
// 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(1048, 33);
|
||||
this.statusBar.TabIndex = 0;
|
||||
//
|
||||
// TokenNewForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1050, 610);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("华文宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "TokenNewForm";
|
||||
this.Text = "拼多多token管理";
|
||||
this.TitleText = "拼多多token管理";
|
||||
this.Load += new System.EventHandler(this.TokenNewForm_Load);
|
||||
this.Controls.SetChildIndex(this.splitContainer1, 0);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.splitContainer3.Panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
|
||||
this.splitContainer3.ResumeLayout(false);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.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.dataGridView3)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private UserControls.ButtonEx button1;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private UserControls.ButtonEx button2;
|
||||
private System.Windows.Forms.DataGridView dataGridView3;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private UserControls.ButtonEx button3;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private System.Windows.Forms.CheckBox selectAllcheckBox;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer3;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn onSelectColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn TokenColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn loginStatusColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSearchStatusColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn StatusColumn;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colCaptchaColumn;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colShopOperateColumn;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn delColumn;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,144 @@
|
||||
<?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="onSelectColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="TokenColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="loginStatusColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSearchStatusColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="StatusColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colCaptchaColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colShopOperateColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="delColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in new issue
Block a user