📄 advanced.cs
字号:
namespace WoWBot
{
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using WoWBot.My;
[DesignerGenerated]
public class Advanced : Form
{
private IContainer b;
[AccessedThroughProperty("Button1")]
private Button b;
[AccessedThroughProperty("Relog")]
private CheckBox b;
[AccessedThroughProperty("GroupBox1")]
private GroupBox b;
[AccessedThroughProperty("GroupBox2")]
private GroupBox b;
[AccessedThroughProperty("Label2")]
private Label b;
[AccessedThroughProperty("Label4")]
private Label b;
[AccessedThroughProperty("Label5")]
private Label b;
[AccessedThroughProperty("Label6")]
private Label b;
[AccessedThroughProperty("Label1")]
private Label b;
[AccessedThroughProperty("Label3")]
private Label b;
[AccessedThroughProperty("ProcessText")]
private TextBox b;
[AccessedThroughProperty("AccountLogin")]
private TextBox b;
[AccessedThroughProperty("RelogTime")]
private TextBox b;
[AccessedThroughProperty("AccountPassword")]
private TextBox b;
[AccessedThroughProperty("WindowText")]
private TextBox b;
[DebuggerNonUserCode]
public Advanced()
{
base.Load += new EventHandler(this.b);
this.b();
}
private void a(object b, EventArgs b)
{
StreamWriter writer3 = new StreamWriter(Application.StartupPath + @"\Config\Window.ini");
writer3.Write(this.WindowText.Text);
writer3.Close();
StreamWriter writer2 = new StreamWriter(Application.StartupPath + @"\Config\Process.ini");
writer2.Write(this.ProcessText.Text);
writer2.Close();
StreamWriter writer = new StreamWriter(Application.StartupPath + @"\Config\Account.ini");
writer.Write(this.AccountLogin.Text + "\r\n" + this.AccountPassword.Text + "\r\n" + this.RelogTime.Text + "\r\n" + this.Relog.Checked.ToString());
writer.Close();
Interaction.MsgBox("Veuillez relancer le bot pour que le changement de processus soit pris en compte !", MsgBoxStyle.Information, null);
this.Visible = false;
}
[DebuggerStepThrough]
private void b()
{
this.WindowText = new TextBox();
this.Label1 = new Label();
this.Label2 = new Label();
this.ProcessText = new TextBox();
this.Button1 = new Button();
this.GroupBox1 = new GroupBox();
this.GroupBox2 = new GroupBox();
this.Relog = new CheckBox();
this.Label6 = new Label();
this.RelogTime = new TextBox();
this.Label5 = new Label();
this.Label3 = new Label();
this.AccountLogin = new TextBox();
this.Label4 = new Label();
this.AccountPassword = new TextBox();
this.GroupBox1.SuspendLayout();
this.GroupBox2.SuspendLayout();
this.SuspendLayout();
Point point = new Point(0x77, 0x10);
this.WindowText.Location = point;
this.WindowText.Name = "WindowText";
Size size = new Size(100, 20);
this.WindowText.Size = size;
this.WindowText.TabIndex = 0;
this.Label1.AutoSize = true;
point = new Point(6, 0x13);
this.Label1.Location = point;
this.Label1.Name = "Label1";
size = new Size(0x61, 13);
this.Label1.Size = size;
this.Label1.TabIndex = 1;
this.Label1.Text = "Nom de la fen\x00eatre :";
this.Label2.AutoSize = true;
point = new Point(6, 0x2d);
this.Label2.Location = point;
this.Label2.Name = "Label2";
size = new Size(0x65, 13);
this.Label2.Size = size;
this.Label2.TabIndex = 3;
this.Label2.Text = "Nom du processus :";
point = new Point(0x77, 0x2a);
this.ProcessText.Location = point;
this.ProcessText.Name = "ProcessText";
size = new Size(100, 20);
this.ProcessText.Size = size;
this.ProcessText.TabIndex = 2;
point = new Point(12, 220);
this.Button1.Location = point;
this.Button1.Name = "Button1";
size = new Size(0xe8, 0x17);
this.Button1.Size = size;
this.Button1.TabIndex = 4;
this.Button1.Text = "Sauvegarder";
this.Button1.UseVisualStyleBackColor = true;
this.GroupBox1.Controls.Add(this.Label1);
this.GroupBox1.Controls.Add(this.WindowText);
this.GroupBox1.Controls.Add(this.Label2);
this.GroupBox1.Controls.Add(this.ProcessText);
point = new Point(13, 13);
this.GroupBox1.Location = point;
this.GroupBox1.Name = "GroupBox1";
size = new Size(0xe7, 0x49);
this.GroupBox1.Size = size;
this.GroupBox1.TabIndex = 5;
this.GroupBox1.TabStop = false;
this.GroupBox1.Text = "Anti-Warden";
this.GroupBox2.Controls.Add(this.Relog);
this.GroupBox2.Controls.Add(this.Label6);
this.GroupBox2.Controls.Add(this.RelogTime);
this.GroupBox2.Controls.Add(this.Label5);
this.GroupBox2.Controls.Add(this.Label3);
this.GroupBox2.Controls.Add(this.AccountLogin);
this.GroupBox2.Controls.Add(this.Label4);
this.GroupBox2.Controls.Add(this.AccountPassword);
point = new Point(12, 0x60);
this.GroupBox2.Location = point;
this.GroupBox2.Name = "GroupBox2";
size = new Size(0xe7, 0x76);
this.GroupBox2.Size = size;
this.GroupBox2.TabIndex = 6;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "Reconnexion";
this.Relog.AutoSize = true;
point = new Point(9, 0x12);
this.Relog.Location = point;
this.Relog.Name = "Relog";
size = new Size(0xc0, 0x11);
this.Relog.Size = size;
this.Relog.TabIndex = 7;
this.Relog.Text = "Activer la reconnexion automatique";
this.Relog.UseVisualStyleBackColor = true;
this.Label6.AutoSize = true;
point = new Point(0x9a, 0x27);
this.Label6.Location = point;
this.Label6.Name = "Label6";
size = new Size(50, 13);
this.Label6.Size = size;
this.Label6.TabIndex = 6;
this.Label6.Text = "Seconde";
point = new Point(0x77, 0x24);
this.RelogTime.Location = point;
this.RelogTime.Name = "RelogTime";
size = new Size(0x22, 20);
this.RelogTime.Size = size;
this.RelogTime.TabIndex = 5;
this.RelogTime.Text = "60";
this.Label5.AutoSize = true;
point = new Point(6, 0x27);
this.Label5.Location = point;
this.Label5.Name = "Label5";
size = new Size(0x65, 13);
this.Label5.Size = size;
this.Label5.TabIndex = 4;
this.Label5.Text = "Temps avant relog :";
this.Label3.AutoSize = true;
point = new Point(6, 0x41);
this.Label3.Location = point;
this.Label3.Name = "Label3";
size = new Size(0x58, 13);
this.Label3.Size = size;
this.Label3.TabIndex = 1;
this.Label3.Text = "Nom de compte :";
point = new Point(0x77, 0x3e);
this.AccountLogin.Location = point;
this.AccountLogin.Name = "AccountLogin";
size = new Size(100, 20);
this.AccountLogin.Size = size;
this.AccountLogin.TabIndex = 0;
this.Label4.AutoSize = true;
point = new Point(6, 0x5b);
this.Label4.Location = point;
this.Label4.Name = "Label4";
size = new Size(0x4d, 13);
this.Label4.Size = size;
this.Label4.TabIndex = 3;
this.Label4.Text = "Mot de passe :";
point = new Point(0x77, 0x58);
this.AccountPassword.Location = point;
this.AccountPassword.Name = "AccountPassword";
size = new Size(100, 20);
this.AccountPassword.Size = size;
this.AccountPassword.TabIndex = 2;
SizeF ef = new SizeF(6f, 13f);
this.AutoScaleDimensions = ef;
this.AutoScaleMode = AutoScaleMode.Font;
size = new Size(0xfe, 0xff);
this.ClientSize = size;
this.Controls.Add(this.GroupBox2);
this.Controls.Add(this.GroupBox1);
this.Controls.Add(this.Button1);
this.Name = "Advanced";
this.Text = "Advanc\x00e9";
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
this.GroupBox2.ResumeLayout(false);
this.GroupBox2.PerformLayout();
this.ResumeLayout(false);
}
private void b(object b, EventArgs b)
{
this.WindowText.Text = MyProject.Forms.Main.Text;
this.ProcessText.Text = "Process";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -