├── README.md
├── WeChatAuto
├── Form1.cs
├── Program.cs
├── WeChatAuto.csproj
├── InputTxtMsg.cs
├── InputTitle.cs
├── InputTxtMsg.Designer.cs
├── InputTitle.resx
├── InputTxtMsg.resx
├── InputTitle.Designer.cs
├── Form1.resx
└── Form1.Designer.cs
├── LICENSE
└── WeChatAuto.sln
/README.md:
--------------------------------------------------------------------------------
1 | # WeChatAuto
2 | 实现微信的获取好友列表、群发消息、定时发消息、刷朋友圈、获取聊天记录
3 |
--------------------------------------------------------------------------------
/WeChatAuto/Form1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZHHHHH/WeChatAuto/HEAD/WeChatAuto/Form1.cs
--------------------------------------------------------------------------------
/WeChatAuto/Program.cs:
--------------------------------------------------------------------------------
1 | namespace WeChatAuto
2 | {
3 | internal static class Program
4 | {
5 | ///
6 | /// The main entry point for the application.
7 | ///
8 | [STAThread]
9 | static void Main()
10 | {
11 | // To customize application configuration such as set high DPI settings or default font,
12 | // see https://aka.ms/applicationconfiguration.
13 | ApplicationConfiguration.Initialize();
14 | Application.Run(new Form1());
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/WeChatAuto/WeChatAuto.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | net7.0-windows
6 | enable
7 | true
8 | enable
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/WeChatAuto/InputTxtMsg.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace WeChatAuto
12 | {
13 | public partial class InputTxtMsg : Form
14 | {
15 | public InputTxtMsg()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void button2_Click(object sender, EventArgs e)
21 | {
22 | this.Close();
23 | }
24 |
25 | private void button1_Click(object sender, EventArgs e)
26 | {
27 | if (string.IsNullOrWhiteSpace(this.richTextBox1.Text))
28 | {
29 | MessageBox.Show("请输入信息");
30 | return;
31 | }
32 | DialogResult = DialogResult.OK;
33 | this.Close();
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 ZH、
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/WeChatAuto.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.5.33414.496
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeChatAuto", "WeChatAuto\WeChatAuto.csproj", "{BE626B32-F575-4F82-ACFF-0C2FC94A08BB}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {BE626B32-F575-4F82-ACFF-0C2FC94A08BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {BE626B32-F575-4F82-ACFF-0C2FC94A08BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {BE626B32-F575-4F82-ACFF-0C2FC94A08BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {BE626B32-F575-4F82-ACFF-0C2FC94A08BB}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {EA38BFBD-FACB-415D-A5CF-79E2B994A3B7}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/WeChatAuto/InputTitle.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Diagnostics;
6 | using System.Drawing;
7 | using System.Linq;
8 | using System.Security.Policy;
9 | using System.Text;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 |
13 | namespace WeChatAuto
14 | {
15 | public partial class InputTitle : Form
16 | {
17 | public InputTitle()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 | private void button2_Click(object sender, EventArgs e)
23 | {
24 | this.Close();
25 | }
26 |
27 | private void button1_Click(object sender, EventArgs e)
28 | {
29 | if (string.IsNullOrWhiteSpace(this.textBox2.Text) || string.IsNullOrWhiteSpace(this.textBox1.Text))
30 | {
31 | MessageBox.Show("请输入信息");
32 | return;
33 | }
34 |
35 | this.DialogResult = DialogResult.OK;
36 | this.Close();
37 | }
38 |
39 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
40 | {
41 | var psi = new ProcessStartInfo
42 | {
43 | FileName = "https://cron.qqe2.com/",
44 | UseShellExecute = true
45 | };
46 | System.Diagnostics.Process.Start(psi);
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/WeChatAuto/InputTxtMsg.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WeChatAuto
2 | {
3 | partial class InputTxtMsg
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | richTextBox1 = new RichTextBox();
32 | button1 = new Button();
33 | button2 = new Button();
34 | SuspendLayout();
35 | //
36 | // richTextBox1
37 | //
38 | richTextBox1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
39 | richTextBox1.Location = new Point(12, 12);
40 | richTextBox1.Name = "richTextBox1";
41 | richTextBox1.Size = new Size(1005, 546);
42 | richTextBox1.TabIndex = 0;
43 | richTextBox1.Text = "";
44 | //
45 | // button1
46 | //
47 | button1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
48 | button1.Location = new Point(393, 581);
49 | button1.Name = "button1";
50 | button1.Size = new Size(123, 56);
51 | button1.TabIndex = 1;
52 | button1.Text = "确定";
53 | button1.UseVisualStyleBackColor = true;
54 | button1.Click += button1_Click;
55 | //
56 | // button2
57 | //
58 | button2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
59 | button2.Location = new Point(549, 581);
60 | button2.Name = "button2";
61 | button2.Size = new Size(123, 56);
62 | button2.TabIndex = 1;
63 | button2.Text = "取消";
64 | button2.UseVisualStyleBackColor = true;
65 | button2.Click += button2_Click;
66 | //
67 | // InputTxtMsg
68 | //
69 | AutoScaleDimensions = new SizeF(11F, 24F);
70 | AutoScaleMode = AutoScaleMode.Font;
71 | ClientSize = new Size(1029, 649);
72 | Controls.Add(button2);
73 | Controls.Add(button1);
74 | Controls.Add(richTextBox1);
75 | FormBorderStyle = FormBorderStyle.FixedSingle;
76 | MaximizeBox = false;
77 | MinimizeBox = false;
78 | Name = "InputTxtMsg";
79 | StartPosition = FormStartPosition.CenterScreen;
80 | Text = "输入文本信息";
81 | ResumeLayout(false);
82 | }
83 |
84 | #endregion
85 | private Button button1;
86 | private Button button2;
87 | public RichTextBox richTextBox1;
88 | }
89 | }
--------------------------------------------------------------------------------
/WeChatAuto/InputTitle.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/WeChatAuto/InputTxtMsg.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/WeChatAuto/InputTitle.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WeChatAuto
2 | {
3 | partial class InputTitle
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | button1 = new Button();
32 | button2 = new Button();
33 | textBox2 = new TextBox();
34 | label2 = new Label();
35 | linkLabel1 = new LinkLabel();
36 | textBox1 = new TextBox();
37 | label1 = new Label();
38 | checkBox1 = new CheckBox();
39 | SuspendLayout();
40 | //
41 | // button1
42 | //
43 | button1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
44 | button1.Location = new Point(173, 226);
45 | button1.Name = "button1";
46 | button1.Size = new Size(127, 41);
47 | button1.TabIndex = 1;
48 | button1.Text = "确定";
49 | button1.UseVisualStyleBackColor = true;
50 | button1.Click += button1_Click;
51 | //
52 | // button2
53 | //
54 | button2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
55 | button2.Location = new Point(395, 226);
56 | button2.Name = "button2";
57 | button2.Size = new Size(127, 41);
58 | button2.TabIndex = 1;
59 | button2.Text = "取消";
60 | button2.UseVisualStyleBackColor = true;
61 | button2.Click += button2_Click;
62 | //
63 | // textBox2
64 | //
65 | textBox2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
66 | textBox2.Location = new Point(222, 100);
67 | textBox2.Name = "textBox2";
68 | textBox2.Size = new Size(409, 38);
69 | textBox2.TabIndex = 1;
70 | //
71 | // label2
72 | //
73 | label2.AutoSize = true;
74 | label2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
75 | label2.Location = new Point(19, 100);
76 | label2.Name = "label2";
77 | label2.Size = new Size(187, 31);
78 | label2.TabIndex = 2;
79 | label2.Text = "定时间隔(Cron):";
80 | //
81 | // linkLabel1
82 | //
83 | linkLabel1.AutoSize = true;
84 | linkLabel1.Location = new Point(475, 169);
85 | linkLabel1.Name = "linkLabel1";
86 | linkLabel1.Size = new Size(156, 24);
87 | linkLabel1.TabIndex = 3;
88 | linkLabel1.TabStop = true;
89 | linkLabel1.Text = "cron表达式生成器";
90 | linkLabel1.LinkClicked += linkLabel1_LinkClicked;
91 | //
92 | // textBox1
93 | //
94 | textBox1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
95 | textBox1.Location = new Point(222, 41);
96 | textBox1.Name = "textBox1";
97 | textBox1.Size = new Size(409, 38);
98 | textBox1.TabIndex = 1;
99 | //
100 | // label1
101 | //
102 | label1.AutoSize = true;
103 | label1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
104 | label1.Location = new Point(42, 41);
105 | label1.Name = "label1";
106 | label1.Size = new Size(164, 31);
107 | label1.TabIndex = 2;
108 | label1.Text = "定时任务标题:";
109 | //
110 | // checkBox1
111 | //
112 | checkBox1.AutoSize = true;
113 | checkBox1.Checked = true;
114 | checkBox1.CheckState = CheckState.Checked;
115 | checkBox1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
116 | checkBox1.Location = new Point(222, 162);
117 | checkBox1.Name = "checkBox1";
118 | checkBox1.Size = new Size(232, 35);
119 | checkBox1.TabIndex = 4;
120 | checkBox1.Text = "定时任务立刻启动";
121 | checkBox1.UseVisualStyleBackColor = true;
122 | //
123 | // InputTitle
124 | //
125 | AutoScaleDimensions = new SizeF(11F, 24F);
126 | AutoScaleMode = AutoScaleMode.Font;
127 | ClientSize = new Size(693, 296);
128 | Controls.Add(checkBox1);
129 | Controls.Add(linkLabel1);
130 | Controls.Add(label1);
131 | Controls.Add(label2);
132 | Controls.Add(button2);
133 | Controls.Add(button1);
134 | Controls.Add(textBox1);
135 | Controls.Add(textBox2);
136 | FormBorderStyle = FormBorderStyle.FixedSingle;
137 | MaximizeBox = false;
138 | MinimizeBox = false;
139 | Name = "InputTitle";
140 | StartPosition = FormStartPosition.CenterScreen;
141 | Text = "输入定时任务信息";
142 | ResumeLayout(false);
143 | PerformLayout();
144 | }
145 |
146 | #endregion
147 | private Button button1;
148 | private Button button2;
149 | public TextBox textBox2;
150 | private Label label2;
151 | private LinkLabel linkLabel1;
152 | public TextBox textBox1;
153 | private Label label1;
154 | public CheckBox checkBox1;
155 | }
156 | }
--------------------------------------------------------------------------------
/WeChatAuto/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | True
122 |
123 |
124 | True
125 |
126 |
127 | True
128 |
129 |
130 | True
131 |
132 |
133 | True
134 |
135 |
136 | True
137 |
138 |
139 | True
140 |
141 |
--------------------------------------------------------------------------------
/WeChatAuto/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WeChatAuto
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | DataGridViewCellStyle dataGridViewCellStyle37 = new DataGridViewCellStyle();
32 | DataGridViewCellStyle dataGridViewCellStyle38 = new DataGridViewCellStyle();
33 | DataGridViewCellStyle dataGridViewCellStyle39 = new DataGridViewCellStyle();
34 | DataGridViewCellStyle dataGridViewCellStyle40 = new DataGridViewCellStyle();
35 | DataGridViewCellStyle dataGridViewCellStyle41 = new DataGridViewCellStyle();
36 | DataGridViewCellStyle dataGridViewCellStyle42 = new DataGridViewCellStyle();
37 | DataGridViewCellStyle dataGridViewCellStyle43 = new DataGridViewCellStyle();
38 | DataGridViewCellStyle dataGridViewCellStyle44 = new DataGridViewCellStyle();
39 | DataGridViewCellStyle dataGridViewCellStyle45 = new DataGridViewCellStyle();
40 | button1 = new Button();
41 | button2 = new Button();
42 | button3 = new Button();
43 | button4 = new Button();
44 | button5 = new Button();
45 | dataGridView1 = new DataGridView();
46 | Friend = new DataGridViewTextBoxColumn();
47 | LastRecord = new DataGridViewTextBoxColumn();
48 | Time = new DataGridViewTextBoxColumn();
49 | button6 = new Button();
50 | button7 = new Button();
51 | dataGridView2 = new DataGridView();
52 | dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
53 | dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn();
54 | MediaType = new DataGridViewTextBoxColumn();
55 | dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn();
56 | tabControl1 = new TabControl();
57 | tabPage1 = new TabPage();
58 | tableLayoutPanel5 = new TableLayoutPanel();
59 | flowLayoutPanel2 = new FlowLayoutPanel();
60 | button10 = new Button();
61 | button16 = new Button();
62 | groupBox2 = new GroupBox();
63 | tableLayoutPanel4 = new TableLayoutPanel();
64 | flowLayoutPanel3 = new FlowLayoutPanel();
65 | button15 = new Button();
66 | button17 = new Button();
67 | button18 = new Button();
68 | checkedListBox2 = new CheckedListBox();
69 | groupBox4 = new GroupBox();
70 | tableLayoutPanel7 = new TableLayoutPanel();
71 | flowLayoutPanel5 = new FlowLayoutPanel();
72 | button14 = new Button();
73 | button12 = new Button();
74 | button9 = new Button();
75 | checkedListBox3 = new CheckedListBox();
76 | tabPage4 = new TabPage();
77 | groupBox3 = new GroupBox();
78 | tableLayoutPanel6 = new TableLayoutPanel();
79 | listView1 = new ListView();
80 | columnHeader1 = new ColumnHeader();
81 | columnHeader2 = new ColumnHeader();
82 | columnHeader3 = new ColumnHeader();
83 | flowLayoutPanel4 = new FlowLayoutPanel();
84 | button8 = new Button();
85 | button11 = new Button();
86 | button13 = new Button();
87 | tabPage2 = new TabPage();
88 | tableLayoutPanel2 = new TableLayoutPanel();
89 | tabPage3 = new TabPage();
90 | tableLayoutPanel3 = new TableLayoutPanel();
91 | splitContainer1 = new SplitContainer();
92 | tableLayoutPanel1 = new TableLayoutPanel();
93 | groupBox1 = new GroupBox();
94 | checkedListBox1 = new CheckedListBox();
95 | flowLayoutPanel1 = new FlowLayoutPanel();
96 | title = new DataGridViewTextBoxColumn();
97 | time1 = new DataGridViewTextBoxColumn();
98 | ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
99 | ((System.ComponentModel.ISupportInitialize)dataGridView2).BeginInit();
100 | tabControl1.SuspendLayout();
101 | tabPage1.SuspendLayout();
102 | tableLayoutPanel5.SuspendLayout();
103 | flowLayoutPanel2.SuspendLayout();
104 | groupBox2.SuspendLayout();
105 | tableLayoutPanel4.SuspendLayout();
106 | flowLayoutPanel3.SuspendLayout();
107 | groupBox4.SuspendLayout();
108 | tableLayoutPanel7.SuspendLayout();
109 | flowLayoutPanel5.SuspendLayout();
110 | tabPage4.SuspendLayout();
111 | groupBox3.SuspendLayout();
112 | tableLayoutPanel6.SuspendLayout();
113 | flowLayoutPanel4.SuspendLayout();
114 | tabPage2.SuspendLayout();
115 | tableLayoutPanel2.SuspendLayout();
116 | tabPage3.SuspendLayout();
117 | tableLayoutPanel3.SuspendLayout();
118 | ((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
119 | splitContainer1.Panel1.SuspendLayout();
120 | splitContainer1.Panel2.SuspendLayout();
121 | splitContainer1.SuspendLayout();
122 | tableLayoutPanel1.SuspendLayout();
123 | groupBox1.SuspendLayout();
124 | flowLayoutPanel1.SuspendLayout();
125 | SuspendLayout();
126 | //
127 | // button1
128 | //
129 | button1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
130 | button1.Location = new Point(5, 4);
131 | button1.Margin = new Padding(5, 4, 5, 4);
132 | button1.Name = "button1";
133 | button1.Size = new Size(172, 49);
134 | button1.TabIndex = 0;
135 | button1.Text = "获取好友列表";
136 | button1.UseVisualStyleBackColor = true;
137 | button1.Click += button1_Click;
138 | //
139 | // button2
140 | //
141 | button2.Enabled = false;
142 | button2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
143 | button2.Location = new Point(187, 4);
144 | button2.Margin = new Padding(5, 4, 5, 4);
145 | button2.Name = "button2";
146 | button2.Size = new Size(125, 49);
147 | button2.TabIndex = 1;
148 | button2.Text = "停止获取";
149 | button2.UseVisualStyleBackColor = true;
150 | button2.Click += button2_Click;
151 | //
152 | // button3
153 | //
154 | button3.Location = new Point(494, 4);
155 | button3.Margin = new Padding(5, 4, 5, 4);
156 | button3.Name = "button3";
157 | button3.Size = new Size(124, 52);
158 | button3.TabIndex = 4;
159 | button3.Text = "发送文本";
160 | button3.UseVisualStyleBackColor = true;
161 | button3.Click += button3_Click_1;
162 | //
163 | // button4
164 | //
165 | button4.Location = new Point(5, 4);
166 | button4.Margin = new Padding(5, 4, 5, 4);
167 | button4.Name = "button4";
168 | button4.Size = new Size(195, 45);
169 | button4.TabIndex = 5;
170 | button4.Text = "获取聊天列表";
171 | button4.UseVisualStyleBackColor = true;
172 | button4.Click += button4_Click;
173 | //
174 | // button5
175 | //
176 | button5.Enabled = false;
177 | button5.Location = new Point(210, 4);
178 | button5.Margin = new Padding(5, 4, 5, 4);
179 | button5.Name = "button5";
180 | button5.Size = new Size(156, 45);
181 | button5.TabIndex = 6;
182 | button5.Text = "停止获取";
183 | button5.UseVisualStyleBackColor = true;
184 | button5.Click += button5_Click;
185 | //
186 | // dataGridView1
187 | //
188 | dataGridView1.AllowUserToAddRows = false;
189 | dataGridView1.AllowUserToDeleteRows = false;
190 | dataGridView1.AllowUserToResizeColumns = false;
191 | dataGridView1.AllowUserToResizeRows = false;
192 | dataGridViewCellStyle37.Alignment = DataGridViewContentAlignment.MiddleCenter;
193 | dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle37;
194 | dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
195 | dataGridView1.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders;
196 | dataGridViewCellStyle38.Alignment = DataGridViewContentAlignment.MiddleCenter;
197 | dataGridViewCellStyle38.BackColor = SystemColors.Control;
198 | dataGridViewCellStyle38.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
199 | dataGridViewCellStyle38.ForeColor = SystemColors.WindowText;
200 | dataGridViewCellStyle38.SelectionBackColor = SystemColors.Highlight;
201 | dataGridViewCellStyle38.SelectionForeColor = SystemColors.HighlightText;
202 | dataGridViewCellStyle38.WrapMode = DataGridViewTriState.True;
203 | dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle38;
204 | dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
205 | dataGridView1.Columns.AddRange(new DataGridViewColumn[] { Friend, LastRecord, Time });
206 | tableLayoutPanel2.SetColumnSpan(dataGridView1, 2);
207 | dataGridView1.Dock = DockStyle.Fill;
208 | dataGridView1.Location = new Point(5, 57);
209 | dataGridView1.Margin = new Padding(5, 4, 5, 4);
210 | dataGridView1.Name = "dataGridView1";
211 | dataGridView1.ReadOnly = true;
212 | dataGridViewCellStyle39.Alignment = DataGridViewContentAlignment.MiddleCenter;
213 | dataGridViewCellStyle39.BackColor = SystemColors.Control;
214 | dataGridViewCellStyle39.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
215 | dataGridViewCellStyle39.ForeColor = SystemColors.WindowText;
216 | dataGridViewCellStyle39.SelectionBackColor = SystemColors.Highlight;
217 | dataGridViewCellStyle39.SelectionForeColor = SystemColors.HighlightText;
218 | dataGridViewCellStyle39.WrapMode = DataGridViewTriState.True;
219 | dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle39;
220 | dataGridView1.RowHeadersWidth = 62;
221 | dataGridViewCellStyle40.Alignment = DataGridViewContentAlignment.MiddleCenter;
222 | dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle40;
223 | dataGridView1.RowTemplate.Height = 25;
224 | dataGridView1.Size = new Size(1709, 1231);
225 | dataGridView1.TabIndex = 7;
226 | //
227 | // Friend
228 | //
229 | Friend.HeaderText = "好友";
230 | Friend.MinimumWidth = 8;
231 | Friend.Name = "Friend";
232 | Friend.ReadOnly = true;
233 | //
234 | // LastRecord
235 | //
236 | LastRecord.HeaderText = "最后一条记录";
237 | LastRecord.MinimumWidth = 8;
238 | LastRecord.Name = "LastRecord";
239 | LastRecord.ReadOnly = true;
240 | //
241 | // Time
242 | //
243 | Time.HeaderText = "时间";
244 | Time.MinimumWidth = 8;
245 | Time.Name = "Time";
246 | Time.ReadOnly = true;
247 | //
248 | // button6
249 | //
250 | button6.Enabled = false;
251 | button6.Location = new Point(170, 4);
252 | button6.Margin = new Padding(5, 4, 5, 4);
253 | button6.Name = "button6";
254 | button6.Size = new Size(155, 53);
255 | button6.TabIndex = 9;
256 | button6.Text = "停止获取";
257 | button6.UseVisualStyleBackColor = true;
258 | button6.Click += button6_Click;
259 | //
260 | // button7
261 | //
262 | button7.Location = new Point(5, 4);
263 | button7.Margin = new Padding(5, 4, 5, 4);
264 | button7.Name = "button7";
265 | button7.Size = new Size(155, 53);
266 | button7.TabIndex = 8;
267 | button7.Text = "刷朋友圈";
268 | button7.UseVisualStyleBackColor = true;
269 | button7.Click += button7_Click;
270 | //
271 | // dataGridView2
272 | //
273 | dataGridView2.AllowUserToAddRows = false;
274 | dataGridView2.AllowUserToDeleteRows = false;
275 | dataGridView2.AllowUserToResizeColumns = false;
276 | dataGridView2.AllowUserToResizeRows = false;
277 | dataGridViewCellStyle41.Alignment = DataGridViewContentAlignment.MiddleCenter;
278 | dataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle41;
279 | dataGridView2.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
280 | dataGridView2.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders;
281 | dataGridViewCellStyle42.Alignment = DataGridViewContentAlignment.MiddleCenter;
282 | dataGridViewCellStyle42.BackColor = SystemColors.Control;
283 | dataGridViewCellStyle42.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
284 | dataGridViewCellStyle42.ForeColor = SystemColors.WindowText;
285 | dataGridViewCellStyle42.SelectionBackColor = SystemColors.Highlight;
286 | dataGridViewCellStyle42.SelectionForeColor = SystemColors.HighlightText;
287 | dataGridViewCellStyle42.WrapMode = DataGridViewTriState.True;
288 | dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle42;
289 | dataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
290 | dataGridView2.Columns.AddRange(new DataGridViewColumn[] { dataGridViewTextBoxColumn1, dataGridViewTextBoxColumn2, MediaType, dataGridViewTextBoxColumn3 });
291 | tableLayoutPanel3.SetColumnSpan(dataGridView2, 2);
292 | dataGridView2.Dock = DockStyle.Fill;
293 | dataGridView2.Location = new Point(5, 65);
294 | dataGridView2.Margin = new Padding(5, 4, 5, 4);
295 | dataGridView2.Name = "dataGridView2";
296 | dataGridView2.ReadOnly = true;
297 | dataGridViewCellStyle43.Alignment = DataGridViewContentAlignment.MiddleCenter;
298 | dataGridViewCellStyle43.BackColor = SystemColors.Control;
299 | dataGridViewCellStyle43.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
300 | dataGridViewCellStyle43.ForeColor = SystemColors.WindowText;
301 | dataGridViewCellStyle43.SelectionBackColor = SystemColors.Highlight;
302 | dataGridViewCellStyle43.SelectionForeColor = SystemColors.HighlightText;
303 | dataGridViewCellStyle43.WrapMode = DataGridViewTriState.True;
304 | dataGridView2.RowHeadersDefaultCellStyle = dataGridViewCellStyle43;
305 | dataGridView2.RowHeadersWidth = 62;
306 | dataGridViewCellStyle44.Alignment = DataGridViewContentAlignment.MiddleCenter;
307 | dataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle44;
308 | dataGridView2.RowTemplate.Height = 25;
309 | dataGridView2.Size = new Size(1709, 1223);
310 | dataGridView2.TabIndex = 10;
311 | //
312 | // dataGridViewTextBoxColumn1
313 | //
314 | dataGridViewTextBoxColumn1.HeaderText = "好友";
315 | dataGridViewTextBoxColumn1.MinimumWidth = 8;
316 | dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
317 | dataGridViewTextBoxColumn1.ReadOnly = true;
318 | //
319 | // dataGridViewTextBoxColumn2
320 | //
321 | dataGridViewTextBoxColumn2.HeaderText = "朋友圈";
322 | dataGridViewTextBoxColumn2.MinimumWidth = 8;
323 | dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
324 | dataGridViewTextBoxColumn2.ReadOnly = true;
325 | //
326 | // MediaType
327 | //
328 | MediaType.HeaderText = "媒体类型";
329 | MediaType.MinimumWidth = 8;
330 | MediaType.Name = "MediaType";
331 | MediaType.ReadOnly = true;
332 | //
333 | // dataGridViewTextBoxColumn3
334 | //
335 | dataGridViewTextBoxColumn3.HeaderText = "时间";
336 | dataGridViewTextBoxColumn3.MinimumWidth = 8;
337 | dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
338 | dataGridViewTextBoxColumn3.ReadOnly = true;
339 | //
340 | // tabControl1
341 | //
342 | tabControl1.Controls.Add(tabPage1);
343 | tabControl1.Controls.Add(tabPage4);
344 | tabControl1.Controls.Add(tabPage2);
345 | tabControl1.Controls.Add(tabPage3);
346 | tabControl1.Dock = DockStyle.Fill;
347 | tabControl1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
348 | tabControl1.Location = new Point(0, 0);
349 | tabControl1.Name = "tabControl1";
350 | tabControl1.SelectedIndex = 0;
351 | tabControl1.Size = new Size(1733, 1342);
352 | tabControl1.TabIndex = 0;
353 | //
354 | // tabPage1
355 | //
356 | tabPage1.Controls.Add(tableLayoutPanel5);
357 | tabPage1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
358 | tabPage1.Location = new Point(4, 40);
359 | tabPage1.Name = "tabPage1";
360 | tabPage1.Padding = new Padding(3);
361 | tabPage1.Size = new Size(1725, 1298);
362 | tabPage1.TabIndex = 0;
363 | tabPage1.Text = "群发消息";
364 | tabPage1.UseVisualStyleBackColor = true;
365 | //
366 | // tableLayoutPanel5
367 | //
368 | tableLayoutPanel5.ColumnCount = 1;
369 | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
370 | tableLayoutPanel5.Controls.Add(flowLayoutPanel2, 0, 2);
371 | tableLayoutPanel5.Controls.Add(groupBox2, 0, 0);
372 | tableLayoutPanel5.Controls.Add(groupBox4, 0, 1);
373 | tableLayoutPanel5.Dock = DockStyle.Fill;
374 | tableLayoutPanel5.Location = new Point(3, 3);
375 | tableLayoutPanel5.Name = "tableLayoutPanel5";
376 | tableLayoutPanel5.RowCount = 3;
377 | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 55.2631569F));
378 | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 44.7368431F));
379 | tableLayoutPanel5.RowStyles.Add(new RowStyle());
380 | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
381 | tableLayoutPanel5.Size = new Size(1719, 1292);
382 | tableLayoutPanel5.TabIndex = 6;
383 | //
384 | // flowLayoutPanel2
385 | //
386 | tableLayoutPanel5.SetColumnSpan(flowLayoutPanel2, 3);
387 | flowLayoutPanel2.Controls.Add(button10);
388 | flowLayoutPanel2.Controls.Add(button16);
389 | flowLayoutPanel2.Dock = DockStyle.Bottom;
390 | flowLayoutPanel2.Location = new Point(3, 1220);
391 | flowLayoutPanel2.Name = "flowLayoutPanel2";
392 | flowLayoutPanel2.Size = new Size(1713, 69);
393 | flowLayoutPanel2.TabIndex = 5;
394 | //
395 | // button10
396 | //
397 | button10.Location = new Point(5, 4);
398 | button10.Margin = new Padding(5, 4, 5, 4);
399 | button10.Name = "button10";
400 | button10.Size = new Size(136, 53);
401 | button10.TabIndex = 4;
402 | button10.Text = "全部发送";
403 | button10.UseVisualStyleBackColor = true;
404 | button10.Click += button10_Click;
405 | //
406 | // button16
407 | //
408 | button16.Location = new Point(149, 3);
409 | button16.Name = "button16";
410 | button16.Size = new Size(218, 54);
411 | button16.TabIndex = 5;
412 | button16.Text = "添加定时发送消息";
413 | button16.UseVisualStyleBackColor = true;
414 | button16.Click += button16_Click;
415 | //
416 | // groupBox2
417 | //
418 | groupBox2.Controls.Add(tableLayoutPanel4);
419 | groupBox2.Dock = DockStyle.Fill;
420 | groupBox2.Location = new Point(3, 3);
421 | groupBox2.Name = "groupBox2";
422 | groupBox2.Size = new Size(1713, 666);
423 | groupBox2.TabIndex = 4;
424 | groupBox2.TabStop = false;
425 | groupBox2.Text = "文本消息";
426 | //
427 | // tableLayoutPanel4
428 | //
429 | tableLayoutPanel4.ColumnCount = 1;
430 | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
431 | tableLayoutPanel4.Controls.Add(flowLayoutPanel3, 0, 0);
432 | tableLayoutPanel4.Controls.Add(checkedListBox2, 0, 1);
433 | tableLayoutPanel4.Dock = DockStyle.Fill;
434 | tableLayoutPanel4.Location = new Point(3, 34);
435 | tableLayoutPanel4.Name = "tableLayoutPanel4";
436 | tableLayoutPanel4.RowCount = 2;
437 | tableLayoutPanel4.RowStyles.Add(new RowStyle());
438 | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
439 | tableLayoutPanel4.Size = new Size(1707, 629);
440 | tableLayoutPanel4.TabIndex = 1;
441 | //
442 | // flowLayoutPanel3
443 | //
444 | flowLayoutPanel3.Controls.Add(button15);
445 | flowLayoutPanel3.Controls.Add(button17);
446 | flowLayoutPanel3.Controls.Add(button18);
447 | flowLayoutPanel3.Controls.Add(button3);
448 | flowLayoutPanel3.Dock = DockStyle.Top;
449 | flowLayoutPanel3.Location = new Point(3, 3);
450 | flowLayoutPanel3.Name = "flowLayoutPanel3";
451 | flowLayoutPanel3.Size = new Size(1701, 62);
452 | flowLayoutPanel3.TabIndex = 1;
453 | //
454 | // button15
455 | //
456 | button15.Location = new Point(3, 3);
457 | button15.Name = "button15";
458 | button15.Size = new Size(126, 53);
459 | button15.TabIndex = 5;
460 | button15.Text = "添加文本";
461 | button15.UseVisualStyleBackColor = true;
462 | button15.Click += button15_Click;
463 | //
464 | // button17
465 | //
466 | button17.Location = new Point(137, 4);
467 | button17.Margin = new Padding(5, 4, 5, 4);
468 | button17.Name = "button17";
469 | button17.Size = new Size(174, 52);
470 | button17.TabIndex = 4;
471 | button17.Text = "删除选中文本";
472 | button17.UseVisualStyleBackColor = true;
473 | button17.Click += button17_Click;
474 | //
475 | // button18
476 | //
477 | button18.Location = new Point(319, 3);
478 | button18.Name = "button18";
479 | button18.Size = new Size(167, 53);
480 | button18.TabIndex = 5;
481 | button18.Text = "编辑选中文本";
482 | button18.UseVisualStyleBackColor = true;
483 | button18.Click += button18_Click;
484 | //
485 | // checkedListBox2
486 | //
487 | checkedListBox2.Dock = DockStyle.Fill;
488 | checkedListBox2.FormattingEnabled = true;
489 | checkedListBox2.HorizontalScrollbar = true;
490 | checkedListBox2.Location = new Point(3, 71);
491 | checkedListBox2.Name = "checkedListBox2";
492 | checkedListBox2.Size = new Size(1701, 555);
493 | checkedListBox2.TabIndex = 2;
494 | checkedListBox2.ThreeDCheckBoxes = true;
495 | checkedListBox2.UseCompatibleTextRendering = true;
496 | //
497 | // groupBox4
498 | //
499 | groupBox4.Controls.Add(tableLayoutPanel7);
500 | groupBox4.Dock = DockStyle.Fill;
501 | groupBox4.Location = new Point(3, 675);
502 | groupBox4.Name = "groupBox4";
503 | groupBox4.Size = new Size(1713, 538);
504 | groupBox4.TabIndex = 4;
505 | groupBox4.TabStop = false;
506 | groupBox4.Text = "文件消息";
507 | //
508 | // tableLayoutPanel7
509 | //
510 | tableLayoutPanel7.ColumnCount = 1;
511 | tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
512 | tableLayoutPanel7.Controls.Add(flowLayoutPanel5, 0, 0);
513 | tableLayoutPanel7.Controls.Add(checkedListBox3, 0, 1);
514 | tableLayoutPanel7.Dock = DockStyle.Fill;
515 | tableLayoutPanel7.Location = new Point(3, 34);
516 | tableLayoutPanel7.Name = "tableLayoutPanel7";
517 | tableLayoutPanel7.RowCount = 2;
518 | tableLayoutPanel7.RowStyles.Add(new RowStyle());
519 | tableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
520 | tableLayoutPanel7.Size = new Size(1707, 501);
521 | tableLayoutPanel7.TabIndex = 1;
522 | //
523 | // flowLayoutPanel5
524 | //
525 | flowLayoutPanel5.Controls.Add(button14);
526 | flowLayoutPanel5.Controls.Add(button12);
527 | flowLayoutPanel5.Controls.Add(button9);
528 | flowLayoutPanel5.Dock = DockStyle.Top;
529 | flowLayoutPanel5.Location = new Point(3, 3);
530 | flowLayoutPanel5.Name = "flowLayoutPanel5";
531 | flowLayoutPanel5.Size = new Size(1701, 60);
532 | flowLayoutPanel5.TabIndex = 1;
533 | //
534 | // button14
535 | //
536 | button14.Location = new Point(3, 3);
537 | button14.Name = "button14";
538 | button14.Size = new Size(180, 54);
539 | button14.TabIndex = 6;
540 | button14.Text = "添加文件";
541 | button14.UseVisualStyleBackColor = true;
542 | button14.Click += button14_Click;
543 | //
544 | // button12
545 | //
546 | button12.Location = new Point(191, 4);
547 | button12.Margin = new Padding(5, 4, 5, 4);
548 | button12.Name = "button12";
549 | button12.Size = new Size(230, 53);
550 | button12.TabIndex = 4;
551 | button12.Text = "删除选中文件";
552 | button12.UseVisualStyleBackColor = true;
553 | button12.Click += button12_Click;
554 | //
555 | // button9
556 | //
557 | button9.Location = new Point(431, 4);
558 | button9.Margin = new Padding(5, 4, 5, 4);
559 | button9.Name = "button9";
560 | button9.Size = new Size(184, 53);
561 | button9.TabIndex = 4;
562 | button9.Text = "发送文件";
563 | button9.UseVisualStyleBackColor = true;
564 | button9.Click += button9_Click;
565 | //
566 | // checkedListBox3
567 | //
568 | checkedListBox3.Dock = DockStyle.Fill;
569 | checkedListBox3.FormattingEnabled = true;
570 | checkedListBox3.HorizontalScrollbar = true;
571 | checkedListBox3.Location = new Point(3, 69);
572 | checkedListBox3.Name = "checkedListBox3";
573 | checkedListBox3.Size = new Size(1701, 429);
574 | checkedListBox3.TabIndex = 2;
575 | checkedListBox3.ThreeDCheckBoxes = true;
576 | checkedListBox3.UseCompatibleTextRendering = true;
577 | //
578 | // tabPage4
579 | //
580 | tabPage4.Controls.Add(groupBox3);
581 | tabPage4.Location = new Point(4, 40);
582 | tabPage4.Name = "tabPage4";
583 | tabPage4.Padding = new Padding(3);
584 | tabPage4.Size = new Size(1725, 1298);
585 | tabPage4.TabIndex = 3;
586 | tabPage4.Text = "定时任务";
587 | tabPage4.UseVisualStyleBackColor = true;
588 | //
589 | // groupBox3
590 | //
591 | groupBox3.Controls.Add(tableLayoutPanel6);
592 | groupBox3.Dock = DockStyle.Fill;
593 | groupBox3.Location = new Point(3, 3);
594 | groupBox3.Name = "groupBox3";
595 | groupBox3.Size = new Size(1719, 1292);
596 | groupBox3.TabIndex = 0;
597 | groupBox3.TabStop = false;
598 | groupBox3.Text = "定时任务列表";
599 | //
600 | // tableLayoutPanel6
601 | //
602 | tableLayoutPanel6.ColumnCount = 1;
603 | tableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
604 | tableLayoutPanel6.Controls.Add(listView1, 0, 1);
605 | tableLayoutPanel6.Controls.Add(flowLayoutPanel4, 0, 0);
606 | tableLayoutPanel6.Dock = DockStyle.Fill;
607 | tableLayoutPanel6.Location = new Point(3, 34);
608 | tableLayoutPanel6.Name = "tableLayoutPanel6";
609 | tableLayoutPanel6.RowCount = 2;
610 | tableLayoutPanel6.RowStyles.Add(new RowStyle());
611 | tableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
612 | tableLayoutPanel6.Size = new Size(1713, 1255);
613 | tableLayoutPanel6.TabIndex = 0;
614 | //
615 | // listView1
616 | //
617 | listView1.Columns.AddRange(new ColumnHeader[] { columnHeader1, columnHeader2, columnHeader3 });
618 | listView1.Dock = DockStyle.Fill;
619 | listView1.FullRowSelect = true;
620 | listView1.HeaderStyle = ColumnHeaderStyle.Nonclickable;
621 | listView1.Location = new Point(3, 71);
622 | listView1.Name = "listView1";
623 | listView1.Size = new Size(1707, 1181);
624 | listView1.TabIndex = 0;
625 | listView1.UseCompatibleStateImageBehavior = false;
626 | listView1.View = View.Details;
627 | listView1.Resize += listView1_Resize;
628 | //
629 | // columnHeader1
630 | //
631 | columnHeader1.Text = "任务标题";
632 | columnHeader1.Width = 300;
633 | //
634 | // columnHeader2
635 | //
636 | columnHeader2.Text = "定时间隔表达式";
637 | columnHeader2.TextAlign = HorizontalAlignment.Center;
638 | columnHeader2.Width = 300;
639 | //
640 | // columnHeader3
641 | //
642 | columnHeader3.Text = "任务状态";
643 | columnHeader3.TextAlign = HorizontalAlignment.Center;
644 | columnHeader3.Width = 200;
645 | //
646 | // flowLayoutPanel4
647 | //
648 | flowLayoutPanel4.Controls.Add(button8);
649 | flowLayoutPanel4.Controls.Add(button11);
650 | flowLayoutPanel4.Controls.Add(button13);
651 | flowLayoutPanel4.Dock = DockStyle.Top;
652 | flowLayoutPanel4.Location = new Point(3, 3);
653 | flowLayoutPanel4.Name = "flowLayoutPanel4";
654 | flowLayoutPanel4.Size = new Size(1707, 62);
655 | flowLayoutPanel4.TabIndex = 1;
656 | //
657 | // button8
658 | //
659 | button8.Location = new Point(3, 3);
660 | button8.Name = "button8";
661 | button8.Size = new Size(188, 54);
662 | button8.TabIndex = 0;
663 | button8.Text = "启动选中任务";
664 | button8.UseVisualStyleBackColor = true;
665 | button8.Click += button8_Click_1;
666 | //
667 | // button11
668 | //
669 | button11.Location = new Point(197, 3);
670 | button11.Name = "button11";
671 | button11.Size = new Size(188, 54);
672 | button11.TabIndex = 0;
673 | button11.Text = "停止选中任务";
674 | button11.UseVisualStyleBackColor = true;
675 | button11.Click += button11_Click;
676 | //
677 | // button13
678 | //
679 | button13.Location = new Point(391, 3);
680 | button13.Name = "button13";
681 | button13.Size = new Size(188, 54);
682 | button13.TabIndex = 0;
683 | button13.Text = "删除选中任务";
684 | button13.UseVisualStyleBackColor = true;
685 | button13.Click += button13_Click;
686 | //
687 | // tabPage2
688 | //
689 | tabPage2.Controls.Add(tableLayoutPanel2);
690 | tabPage2.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
691 | tabPage2.Location = new Point(4, 40);
692 | tabPage2.Name = "tabPage2";
693 | tabPage2.Padding = new Padding(3);
694 | tabPage2.Size = new Size(1725, 1298);
695 | tabPage2.TabIndex = 1;
696 | tabPage2.Text = "聊天列表";
697 | tabPage2.UseVisualStyleBackColor = true;
698 | //
699 | // tableLayoutPanel2
700 | //
701 | tableLayoutPanel2.ColumnCount = 2;
702 | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle());
703 | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
704 | tableLayoutPanel2.Controls.Add(button4, 0, 0);
705 | tableLayoutPanel2.Controls.Add(button5, 1, 0);
706 | tableLayoutPanel2.Controls.Add(dataGridView1, 0, 1);
707 | tableLayoutPanel2.Dock = DockStyle.Fill;
708 | tableLayoutPanel2.Location = new Point(3, 3);
709 | tableLayoutPanel2.Name = "tableLayoutPanel2";
710 | tableLayoutPanel2.RowCount = 2;
711 | tableLayoutPanel2.RowStyles.Add(new RowStyle());
712 | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
713 | tableLayoutPanel2.Size = new Size(1719, 1292);
714 | tableLayoutPanel2.TabIndex = 0;
715 | //
716 | // tabPage3
717 | //
718 | tabPage3.Controls.Add(tableLayoutPanel3);
719 | tabPage3.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
720 | tabPage3.Location = new Point(4, 40);
721 | tabPage3.Name = "tabPage3";
722 | tabPage3.Padding = new Padding(3);
723 | tabPage3.Size = new Size(1725, 1298);
724 | tabPage3.TabIndex = 2;
725 | tabPage3.Text = "朋友圈";
726 | tabPage3.UseVisualStyleBackColor = true;
727 | //
728 | // tableLayoutPanel3
729 | //
730 | tableLayoutPanel3.ColumnCount = 2;
731 | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle());
732 | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
733 | tableLayoutPanel3.Controls.Add(dataGridView2, 0, 1);
734 | tableLayoutPanel3.Controls.Add(button7, 0, 0);
735 | tableLayoutPanel3.Controls.Add(button6, 1, 0);
736 | tableLayoutPanel3.Dock = DockStyle.Fill;
737 | tableLayoutPanel3.Location = new Point(3, 3);
738 | tableLayoutPanel3.Name = "tableLayoutPanel3";
739 | tableLayoutPanel3.RowCount = 2;
740 | tableLayoutPanel3.RowStyles.Add(new RowStyle());
741 | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
742 | tableLayoutPanel3.Size = new Size(1719, 1292);
743 | tableLayoutPanel3.TabIndex = 0;
744 | //
745 | // splitContainer1
746 | //
747 | splitContainer1.Dock = DockStyle.Fill;
748 | splitContainer1.Location = new Point(0, 0);
749 | splitContainer1.Name = "splitContainer1";
750 | //
751 | // splitContainer1.Panel1
752 | //
753 | splitContainer1.Panel1.Controls.Add(tableLayoutPanel1);
754 | //
755 | // splitContainer1.Panel2
756 | //
757 | splitContainer1.Panel2.Controls.Add(tabControl1);
758 | splitContainer1.Size = new Size(2289, 1342);
759 | splitContainer1.SplitterDistance = 552;
760 | splitContainer1.TabIndex = 13;
761 | //
762 | // tableLayoutPanel1
763 | //
764 | tableLayoutPanel1.ColumnCount = 1;
765 | tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
766 | tableLayoutPanel1.Controls.Add(groupBox1, 0, 1);
767 | tableLayoutPanel1.Controls.Add(flowLayoutPanel1, 0, 0);
768 | tableLayoutPanel1.Dock = DockStyle.Fill;
769 | tableLayoutPanel1.Location = new Point(0, 0);
770 | tableLayoutPanel1.Name = "tableLayoutPanel1";
771 | tableLayoutPanel1.RowCount = 2;
772 | tableLayoutPanel1.RowStyles.Add(new RowStyle());
773 | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
774 | tableLayoutPanel1.Size = new Size(552, 1342);
775 | tableLayoutPanel1.TabIndex = 0;
776 | //
777 | // groupBox1
778 | //
779 | groupBox1.Controls.Add(checkedListBox1);
780 | groupBox1.Dock = DockStyle.Fill;
781 | groupBox1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
782 | groupBox1.Location = new Point(3, 69);
783 | groupBox1.Name = "groupBox1";
784 | groupBox1.Size = new Size(546, 1270);
785 | groupBox1.TabIndex = 0;
786 | groupBox1.TabStop = false;
787 | groupBox1.Text = "好友列表";
788 | //
789 | // checkedListBox1
790 | //
791 | checkedListBox1.Dock = DockStyle.Fill;
792 | checkedListBox1.FormattingEnabled = true;
793 | checkedListBox1.HorizontalScrollbar = true;
794 | checkedListBox1.Location = new Point(3, 34);
795 | checkedListBox1.Name = "checkedListBox1";
796 | checkedListBox1.Size = new Size(540, 1233);
797 | checkedListBox1.TabIndex = 0;
798 | checkedListBox1.ThreeDCheckBoxes = true;
799 | checkedListBox1.UseCompatibleTextRendering = true;
800 | //
801 | // flowLayoutPanel1
802 | //
803 | flowLayoutPanel1.Controls.Add(button1);
804 | flowLayoutPanel1.Controls.Add(button2);
805 | flowLayoutPanel1.Dock = DockStyle.Top;
806 | flowLayoutPanel1.Location = new Point(3, 3);
807 | flowLayoutPanel1.Name = "flowLayoutPanel1";
808 | flowLayoutPanel1.Size = new Size(546, 60);
809 | flowLayoutPanel1.TabIndex = 1;
810 | //
811 | // title
812 | //
813 | title.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
814 | dataGridViewCellStyle45.Alignment = DataGridViewContentAlignment.MiddleCenter;
815 | title.DefaultCellStyle = dataGridViewCellStyle45;
816 | title.HeaderText = "标题";
817 | title.MinimumWidth = 8;
818 | title.Name = "title";
819 | title.ReadOnly = true;
820 | title.Width = 150;
821 | //
822 | // time1
823 | //
824 | time1.HeaderText = "间隔时间";
825 | time1.MinimumWidth = 8;
826 | time1.Name = "time1";
827 | time1.Width = 150;
828 | //
829 | // Form1
830 | //
831 | AutoScaleDimensions = new SizeF(11F, 24F);
832 | AutoScaleMode = AutoScaleMode.Font;
833 | ClientSize = new Size(2289, 1342);
834 | Controls.Add(splitContainer1);
835 | Margin = new Padding(5, 4, 5, 4);
836 | Name = "Form1";
837 | StartPosition = FormStartPosition.CenterScreen;
838 | Text = "微信自动化";
839 | ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
840 | ((System.ComponentModel.ISupportInitialize)dataGridView2).EndInit();
841 | tabControl1.ResumeLayout(false);
842 | tabPage1.ResumeLayout(false);
843 | tableLayoutPanel5.ResumeLayout(false);
844 | flowLayoutPanel2.ResumeLayout(false);
845 | groupBox2.ResumeLayout(false);
846 | tableLayoutPanel4.ResumeLayout(false);
847 | flowLayoutPanel3.ResumeLayout(false);
848 | groupBox4.ResumeLayout(false);
849 | tableLayoutPanel7.ResumeLayout(false);
850 | flowLayoutPanel5.ResumeLayout(false);
851 | tabPage4.ResumeLayout(false);
852 | groupBox3.ResumeLayout(false);
853 | tableLayoutPanel6.ResumeLayout(false);
854 | flowLayoutPanel4.ResumeLayout(false);
855 | tabPage2.ResumeLayout(false);
856 | tableLayoutPanel2.ResumeLayout(false);
857 | tabPage3.ResumeLayout(false);
858 | tableLayoutPanel3.ResumeLayout(false);
859 | splitContainer1.Panel1.ResumeLayout(false);
860 | splitContainer1.Panel2.ResumeLayout(false);
861 | ((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
862 | splitContainer1.ResumeLayout(false);
863 | tableLayoutPanel1.ResumeLayout(false);
864 | groupBox1.ResumeLayout(false);
865 | flowLayoutPanel1.ResumeLayout(false);
866 | ResumeLayout(false);
867 | }
868 |
869 | #endregion
870 |
871 | private Button button1;
872 | private Button button2;
873 | private Button button3;
874 | private Button button4;
875 | private Button button5;
876 | private DataGridView dataGridView1;
877 | private DataGridViewTextBoxColumn Friend;
878 | private DataGridViewTextBoxColumn LastRecord;
879 | private DataGridViewTextBoxColumn Time;
880 | private Button button6;
881 | private Button button7;
882 | private DataGridView dataGridView2;
883 | private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
884 | private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
885 | private DataGridViewTextBoxColumn MediaType;
886 | private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
887 | private TabControl tabControl1;
888 | private TabPage tabPage1;
889 | private TabPage tabPage2;
890 | private SplitContainer splitContainer1;
891 | private GroupBox groupBox1;
892 | private TableLayoutPanel tableLayoutPanel1;
893 | private FlowLayoutPanel flowLayoutPanel1;
894 | private TabPage tabPage3;
895 | private TableLayoutPanel tableLayoutPanel2;
896 | private TableLayoutPanel tableLayoutPanel3;
897 | private GroupBox groupBox2;
898 | private GroupBox groupBox4;
899 | private FlowLayoutPanel flowLayoutPanel2;
900 | private Button button12;
901 | private Button button10;
902 | private Button button9;
903 | private Button button14;
904 | private TableLayoutPanel tableLayoutPanel5;
905 | private Button button15;
906 | private Button button16;
907 | private Button button17;
908 | private TableLayoutPanel tableLayoutPanel4;
909 | private FlowLayoutPanel flowLayoutPanel3;
910 | private TableLayoutPanel tableLayoutPanel7;
911 | private FlowLayoutPanel flowLayoutPanel5;
912 | private Button button18;
913 | private DataGridViewTextBoxColumn title;
914 | private DataGridViewTextBoxColumn time1;
915 | private CheckedListBox checkedListBox1;
916 | private CheckedListBox checkedListBox2;
917 | private CheckedListBox checkedListBox3;
918 | private TabPage tabPage4;
919 | private GroupBox groupBox3;
920 | private TableLayoutPanel tableLayoutPanel6;
921 | private ListView listView1;
922 | private FlowLayoutPanel flowLayoutPanel4;
923 | private Button button8;
924 | private Button button11;
925 | private Button button13;
926 | private ColumnHeader columnHeader1;
927 | private ColumnHeader columnHeader2;
928 | private ColumnHeader columnHeader3;
929 | }
930 | }
--------------------------------------------------------------------------------