temu客户端程序

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

No files matched your search

+165
View File
@@ -0,0 +1,165 @@
namespace LittleRabbit.LittleRabbitForms.SystemForms
{
partial class SystemForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("解除限制");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("系统设置", new System.Windows.Forms.TreeNode[] {
treeNode1});
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.lblName = new System.Windows.Forms.Label();
this.tv = new LittleRabbit.UserComponent.UcTreeView();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.panel3);
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(793, 561);
this.panel1.TabIndex = 5;
//
// panel3
//
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 28);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(793, 533);
this.panel3.TabIndex = 1;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
this.panel2.Controls.Add(this.lblName);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(793, 28);
this.panel2.TabIndex = 0;
//
// lblName
//
this.lblName.AutoSize = true;
this.lblName.Location = new System.Drawing.Point(5, 6);
this.lblName.Name = "lblName";
this.lblName.Size = new System.Drawing.Size(57, 17);
this.lblName.TabIndex = 0;
this.lblName.Text = "lblName";
//
// tv
//
this.tv.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.tv.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.tv.ChildNodeSelectedBgColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.tv.Cursor = System.Windows.Forms.Cursors.Hand;
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
this.tv.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
this.tv.ExpandButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.tv.FullRowSelect = true;
this.tv.GroupBgColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
this.tv.GroupFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tv.GroupTitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.tv.HideCollapsedGroup = false;
this.tv.ItemHeight = 32;
this.tv.Location = new System.Drawing.Point(0, 0);
this.tv.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tv.Name = "tv";
treeNode1.Name = "解除限制";
treeNode1.Text = "解除限制";
treeNode2.Name = "系统设置";
treeNode2.Text = "系统设置";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode2});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.tv.Size = new System.Drawing.Size(140, 561);
this.tv.TabIndex = 4;
this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
//
// splitContainer1
//
this.splitContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.tv);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Size = new System.Drawing.Size(934, 561);
this.splitContainer1.SplitterDistance = 140;
this.splitContainer1.SplitterWidth = 1;
this.splitContainer1.TabIndex = 6;
//
// SystemForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(934, 561);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "SystemForm";
this.Text = "SystemForm";
this.Load += new System.EventHandler(this.SystemForm_Load);
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label lblName;
private UserComponent.UcTreeView tv;
private System.Windows.Forms.SplitContainer splitContainer1;
}
}
+104
View File
@@ -0,0 +1,104 @@
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.SystemForms
{
public partial class SystemForm : Form
{
public Lazy<SystemRemoveRestrictionsForm> systemRemoveRestrictionsForm = new Lazy<SystemRemoveRestrictionsForm>();
public SystemForm()
{
InitializeComponent();
}
private void SystemForm_Load(object sender, EventArgs e)
{
try
{
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
}
catch { }
}
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
{
MainForm.sCurrentModule = e.Node.Name;
this.lblName.Text = e.Node.Text;
// 如果是一级菜单,不做任何动作
if (e.Node.Parent == null) return;
new Thread(() =>
{
Thread.Sleep(200);
Invoke(new Action(() =>
{
switch (e.Node.Name)
{
case "解除限制":
SetForm(systemRemoveRestrictionsForm.Value);
break;
//case "商品管理":
// SetForm(shopProductForm.Value);
// break;
}
}));
}).Start();
}
/// <summary>
/// 显示隐藏层
/// </summary>
/// <param name="f"></param>
private void SetForm(Form f)
{
if (f == null)
{
foreach (Control form in panel3.Controls)
{
form.Visible = false;
if (form is Form)
{
panel3.Controls.Remove(form as Form);
}
}
return;
}
bool had = false;
string sCurrentFormName = f.Name;
for (int i = 0; i < panel3.Controls.Count; i++)
{
if (sCurrentFormName == panel3.Controls[i].Name)
{
had = true;
panel3.Controls[i].Visible = true;
}
else
{
panel3.Controls[i].Visible = false;
}
}
if (had)
{
f = null;
return;
}
f.TopLevel = false;
f.Left = 0;
f.Top = 0;
f.FormBorderStyle = FormBorderStyle.None;
panel3.Controls.Add(f);
f.AutoSize = true;
f.Dock = DockStyle.Fill;
f.Show();
}
}
}
@@ -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,348 @@
namespace LittleRabbit.LittleRabbitForms.SystemForms
{
partial class SystemRemoveRestrictionsForm
{
/// <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.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.lbManageToken = new System.Windows.Forms.Label();
this.lbLogin1688 = new System.Windows.Forms.Label();
this.lbLoginPdd = new System.Windows.Forms.Label();
this.lbAdsl = new System.Windows.Forms.Label();
this.lbLoginTaobao = new System.Windows.Forms.Label();
this.pbAgentIp = new System.Windows.Forms.PictureBox();
this.pbManageToken = new System.Windows.Forms.PictureBox();
this.pbLogin1688 = new System.Windows.Forms.PictureBox();
this.pbLoginPdd = new System.Windows.Forms.PictureBox();
this.pbAdsl = new System.Windows.Forms.PictureBox();
this.pbLoginTaobao = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pbAgentIp)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbManageToken)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbLogin1688)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoginPdd)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbAdsl)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoginTaobao)).BeginInit();
this.SuspendLayout();
//
// label6
//
this.label6.AutoSize = true;
this.label6.BackColor = System.Drawing.Color.Transparent;
this.label6.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
this.label6.Location = new System.Drawing.Point(201, 287);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(52, 16);
this.label6.TabIndex = 126;
this.label6.Text = "设置代理";
this.label6.Click += new System.EventHandler(this.pbAgentIp_Click);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Cursor = System.Windows.Forms.Cursors.Hand;
this.label7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(152)))), ((int)(((byte)(240)))));
this.label7.Location = new System.Drawing.Point(199, 267);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(78, 20);
this.label7.TabIndex = 125;
this.label7.Text = "设置代理IP";
this.label7.Click += new System.EventHandler(this.pbAgentIp_Click);
//
// label5
//
this.label5.AutoSize = true;
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
this.label5.Location = new System.Drawing.Point(405, 287);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(52, 16);
this.label5.TabIndex = 123;
this.label5.Text = "进入管理";
this.label5.Click += new System.EventHandler(this.pbManageToken_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
this.label4.Location = new System.Drawing.Point(592, 287);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(52, 16);
this.label4.TabIndex = 122;
this.label4.Text = "设置拨号";
this.label4.Visible = false;
this.label4.Click += new System.EventHandler(this.pbAdsl_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
this.label3.Location = new System.Drawing.Point(592, 143);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(52, 16);
this.label3.TabIndex = 121;
this.label3.Text = "点击登录";
this.label3.Visible = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
this.label2.Location = new System.Drawing.Point(405, 143);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(52, 16);
this.label2.TabIndex = 120;
this.label2.Text = "点击登录";
this.label2.Click += new System.EventHandler(this.pbLogin1688_Click);
//
// label13
//
this.label13.AutoSize = true;
this.label13.BackColor = System.Drawing.Color.Transparent;
this.label13.Font = new System.Drawing.Font("微软雅黑", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
this.label13.Location = new System.Drawing.Point(201, 143);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(52, 16);
this.label13.TabIndex = 119;
this.label13.Text = "点击登录";
this.label13.Click += new System.EventHandler(this.pbLoginTaobao_Click);
//
// lbManageToken
//
this.lbManageToken.AutoSize = true;
this.lbManageToken.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbManageToken.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbManageToken.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(157)))));
this.lbManageToken.Location = new System.Drawing.Point(403, 267);
this.lbManageToken.Name = "lbManageToken";
this.lbManageToken.Size = new System.Drawing.Size(79, 20);
this.lbManageToken.TabIndex = 118;
this.lbManageToken.Text = "Token管理";
this.lbManageToken.Click += new System.EventHandler(this.pbManageToken_Click);
//
// lbLogin1688
//
this.lbLogin1688.AutoSize = true;
this.lbLogin1688.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbLogin1688.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbLogin1688.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(124)))), ((int)(((byte)(27)))));
this.lbLogin1688.Location = new System.Drawing.Point(403, 120);
this.lbLogin1688.Name = "lbLogin1688";
this.lbLogin1688.Size = new System.Drawing.Size(69, 20);
this.lbLogin1688.TabIndex = 116;
this.lbLogin1688.Text = "登录1688";
this.lbLogin1688.Click += new System.EventHandler(this.pbLogin1688_Click);
//
// lbLoginPdd
//
this.lbLoginPdd.AutoSize = true;
this.lbLoginPdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbLoginPdd.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbLoginPdd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(0)))), ((int)(((byte)(9)))));
this.lbLoginPdd.Location = new System.Drawing.Point(590, 120);
this.lbLoginPdd.Name = "lbLoginPdd";
this.lbLoginPdd.Size = new System.Drawing.Size(79, 20);
this.lbLoginPdd.TabIndex = 114;
this.lbLoginPdd.Text = "登录拼多多";
this.lbLoginPdd.Visible = false;
//
// lbAdsl
//
this.lbAdsl.AutoSize = true;
this.lbAdsl.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbAdsl.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbAdsl.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(152)))), ((int)(((byte)(240)))));
this.lbAdsl.Location = new System.Drawing.Point(590, 267);
this.lbAdsl.Name = "lbAdsl";
this.lbAdsl.Size = new System.Drawing.Size(65, 20);
this.lbAdsl.TabIndex = 112;
this.lbAdsl.Text = "自动拨号";
this.lbAdsl.Visible = false;
this.lbAdsl.Click += new System.EventHandler(this.pbAdsl_Click);
//
// lbLoginTaobao
//
this.lbLoginTaobao.AutoSize = true;
this.lbLoginTaobao.Cursor = System.Windows.Forms.Cursors.Hand;
this.lbLoginTaobao.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbLoginTaobao.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(107)))), ((int)(((byte)(6)))));
this.lbLoginTaobao.Location = new System.Drawing.Point(199, 120);
this.lbLoginTaobao.Name = "lbLoginTaobao";
this.lbLoginTaobao.Size = new System.Drawing.Size(65, 20);
this.lbLoginTaobao.TabIndex = 110;
this.lbLoginTaobao.Text = "登录淘宝";
this.lbLoginTaobao.Click += new System.EventHandler(this.pbLoginTaobao_Click);
//
// pbAgentIp
//
this.pbAgentIp.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbAgentIp.Image = global::LittleRabbit.Properties.Resources.system_proxy;
this.pbAgentIp.Location = new System.Drawing.Point(132, 257);
this.pbAgentIp.Name = "pbAgentIp";
this.pbAgentIp.Size = new System.Drawing.Size(64, 64);
this.pbAgentIp.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbAgentIp.TabIndex = 124;
this.pbAgentIp.TabStop = false;
this.pbAgentIp.Click += new System.EventHandler(this.pbAgentIp_Click);
//
// pbManageToken
//
this.pbManageToken.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbManageToken.Image = global::LittleRabbit.Properties.Resources.system_pdd_token;
this.pbManageToken.Location = new System.Drawing.Point(336, 257);
this.pbManageToken.Name = "pbManageToken";
this.pbManageToken.Size = new System.Drawing.Size(64, 64);
this.pbManageToken.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbManageToken.TabIndex = 117;
this.pbManageToken.TabStop = false;
this.pbManageToken.Click += new System.EventHandler(this.pbManageToken_Click);
//
// pbLogin1688
//
this.pbLogin1688.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbLogin1688.Image = global::LittleRabbit.Properties.Resources.system_1688;
this.pbLogin1688.Location = new System.Drawing.Point(336, 111);
this.pbLogin1688.Name = "pbLogin1688";
this.pbLogin1688.Size = new System.Drawing.Size(64, 64);
this.pbLogin1688.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbLogin1688.TabIndex = 115;
this.pbLogin1688.TabStop = false;
this.pbLogin1688.Click += new System.EventHandler(this.pbLogin1688_Click);
//
// pbLoginPdd
//
this.pbLoginPdd.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbLoginPdd.Image = global::LittleRabbit.Properties.Resources.system_pdd;
this.pbLoginPdd.Location = new System.Drawing.Point(523, 111);
this.pbLoginPdd.Name = "pbLoginPdd";
this.pbLoginPdd.Size = new System.Drawing.Size(64, 64);
this.pbLoginPdd.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pbLoginPdd.TabIndex = 113;
this.pbLoginPdd.TabStop = false;
this.pbLoginPdd.Visible = false;
this.pbLoginPdd.Click += new System.EventHandler(this.pbLoginPdd_Click);
//
// pbAdsl
//
this.pbAdsl.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbAdsl.Image = global::LittleRabbit.Properties.Resources.system_pppoe;
this.pbAdsl.Location = new System.Drawing.Point(523, 257);
this.pbAdsl.Name = "pbAdsl";
this.pbAdsl.Size = new System.Drawing.Size(64, 64);
this.pbAdsl.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbAdsl.TabIndex = 111;
this.pbAdsl.TabStop = false;
this.pbAdsl.Visible = false;
this.pbAdsl.Click += new System.EventHandler(this.pbAdsl_Click);
//
// pbLoginTaobao
//
this.pbLoginTaobao.Cursor = System.Windows.Forms.Cursors.Hand;
this.pbLoginTaobao.Image = global::LittleRabbit.Properties.Resources.system_tb;
this.pbLoginTaobao.Location = new System.Drawing.Point(132, 111);
this.pbLoginTaobao.Name = "pbLoginTaobao";
this.pbLoginTaobao.Size = new System.Drawing.Size(64, 64);
this.pbLoginTaobao.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbLoginTaobao.TabIndex = 109;
this.pbLoginTaobao.TabStop = false;
this.pbLoginTaobao.Click += new System.EventHandler(this.pbLoginTaobao_Click);
//
// SystemRemoveRestrictionsForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.label6);
this.Controls.Add(this.label7);
this.Controls.Add(this.pbAgentIp);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label13);
this.Controls.Add(this.lbManageToken);
this.Controls.Add(this.pbManageToken);
this.Controls.Add(this.lbLogin1688);
this.Controls.Add(this.pbLogin1688);
this.Controls.Add(this.lbLoginPdd);
this.Controls.Add(this.pbLoginPdd);
this.Controls.Add(this.lbAdsl);
this.Controls.Add(this.pbAdsl);
this.Controls.Add(this.lbLoginTaobao);
this.Controls.Add(this.pbLoginTaobao);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "SystemRemoveRestrictionsForm";
this.Text = "解除限制";
((System.ComponentModel.ISupportInitialize)(this.pbAgentIp)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbManageToken)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbLogin1688)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoginPdd)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbAdsl)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoginTaobao)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.PictureBox pbAgentIp;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label lbManageToken;
private System.Windows.Forms.PictureBox pbManageToken;
private System.Windows.Forms.Label lbLogin1688;
private System.Windows.Forms.PictureBox pbLogin1688;
private System.Windows.Forms.Label lbLoginPdd;
private System.Windows.Forms.PictureBox pbLoginPdd;
private System.Windows.Forms.Label lbAdsl;
private System.Windows.Forms.PictureBox pbAdsl;
private System.Windows.Forms.Label lbLoginTaobao;
private System.Windows.Forms.PictureBox pbLoginTaobao;
}
}
@@ -0,0 +1,62 @@
using LittleRabbit.LittleRabbitForms.ToolForms;
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.SystemForms
{
public partial class SystemRemoveRestrictionsForm : Form
{
ChangeIPForm changeIPForm = new ChangeIPForm();
public SystemRemoveRestrictionsForm()
{
InitializeComponent();
}
private void pbLogin1688_Click(object sender, EventArgs e)
{
IeForm tbForm = new IeForm("https://work.1688.com/");
tbForm.Show();
}
private void pbLoginTaobao_Click(object sender, EventArgs e)
{
//IeForm tbForm = new IeForm("https://i.taobao.com/my_taobao.htm");
//tbForm.Show();
if (TaobaoLoginForm.instance != null)
TaobaoLoginForm.instance.Show();
else
new TaobaoLoginForm().Show();
}
private void pbManageToken_Click(object sender, EventArgs e)
{
TokenNewForm tokenForm = new TokenNewForm();
tokenForm.Show();
}
private void pbAgentIp_Click(object sender, EventArgs e)
{
ProxyForm proxyForm = new ProxyForm();
proxyForm.Show();
}
private void pbAdsl_Click(object sender, EventArgs e)
{
changeIPForm.Show();
}
private void pbLoginPdd_Click(object sender, EventArgs e)
{
}
}
}
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>