#pragma once
namespace BotGUI {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
///
/// Summary for Form1
///
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
///
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
///
/// Clean up any resources being used.
///
~Form1()
{
if (components)
{
delete components;
}
}
protected:
private: System::Windows::Forms::ToolStripDropDownButton^ toolStripDropDownButton1;
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ ConnectionToolStripMenuItem;
private: System::Windows::Forms::ToolStripDropDownButton^ toolStripDropDownButton2;
private: System::Windows::Forms::ToolStripMenuItem^ aboutToolStripMenuItem;
private: System::Windows::Forms::ToolStrip^ toolStrip1;
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem1;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator2;
private: System::Windows::Forms::TabPage^ tabPageCommands;
private: System::Windows::Forms::Label^ label9;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::GroupBox^ groupBox3;
private: System::Windows::Forms::CheckBox^ suicide;
private: System::Windows::Forms::GroupBox^ groupBox2;
private: System::Windows::Forms::CheckBox^ setp;
private: System::Windows::Forms::CheckBox^ kill;
private: System::Windows::Forms::CheckBox^ setm;
private: System::Windows::Forms::CheckBox^ go;
private: System::Windows::Forms::GroupBox^ groupBox1;
private: System::Windows::Forms::CheckBox^ wc;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::TabControl^ tabControl1;
private: System::Windows::Forms::TabPage^ tabPageAutoannounce;
private: System::Windows::Forms::TabPage^ tabPageInGame;
private: System::Windows::Forms::GroupBox^ groupBox4;
private: System::Windows::Forms::GroupBox^ groupBox6;
private: System::Windows::Forms::GroupBox^ groupBox5;
private: System::Windows::Forms::TabPage^ tabPageCredits;
private: System::Windows::Forms::LinkLabel^ linkLabel2;
private: System::Windows::Forms::LinkLabel^ linkLabel1;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::CheckBox^ c4;
private: System::Windows::Forms::CheckBox^ team;
private: System::Windows::Forms::CheckBox^ kick;
private: System::Windows::Forms::GroupBox^ groupBox8;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::CheckBox^ tup;
private: System::Windows::Forms::CheckBox^ website;
private: System::Windows::Forms::CheckBox^ afk;
private: System::Windows::Forms::CheckBox^ bank;
private: System::Windows::Forms::CheckBox^ api;
private: System::Windows::Forms::CheckBox^ donate;
private: System::Windows::Forms::Button^ addbtn;
private: System::Windows::Forms::MaskedTextBox^ autoannouncetxtbox;
private: System::Windows::Forms::ListBox^ listBoxautoannounce;
private: System::Windows::Forms::MaskedTextBox^ timeouttxtbox;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::GroupBox^ groupBox9;
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::TabPage^ tabPageStart;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::CheckBox^ vo;
private: System::Windows::Forms::TabPage^ Report;
private: System::Windows::Forms::RichTextBox^ richTextBox1;
private: System::Windows::Forms::StatusStrip^ statusStrip1;
private: System::Windows::Forms::LinkLabel^ linkLabel3;
private: System::Windows::Forms::Timer^ timer1;
private: System::Windows::Forms::ToolStripStatusLabel^ toolStripStatusLabel1;
private: System::Windows::Forms::ToolStripStatusLabel^ toolStripStatusLabel2;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator3;
private: System::Windows::Forms::Timer^ Connect2_DoWork;
private: System::Windows::Forms::Timer^ BackGround_Worker;
private: System::Windows::Forms::Button^ button6;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::ListBox^ listBox1;
private: System::Windows::Forms::ListBox^ listBox2;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::Label^ label10;
private: System::Windows::Forms::Button^ button8;
private: System::Windows::Forms::Button^ button7;
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem2;
private: System::Windows::Forms::Timer^ HeartBeater;
private: System::Windows::Forms::Timer^ Form_Load;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Timer^ Reporter;
protected:
protected:
protected:
private: System::ComponentModel::IContainer^ components;
private:
///
/// Required designer variable.
///
#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
this->toolStripDropDownButton1 = (gcnew System::Windows::Forms::ToolStripDropDownButton());
this->ConnectionToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripDropDownButton2 = (gcnew System::Windows::Forms::ToolStripDropDownButton());
this->toolStripMenuItem2 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip());
this->tabPageCommands = (gcnew System::Windows::Forms::TabPage());
this->groupBox8 = (gcnew System::Windows::Forms::GroupBox());
this->label4 = (gcnew System::Windows::Forms::Label());
this->button2 = (gcnew System::Windows::Forms::Button());
this->label9 = (gcnew System::Windows::Forms::Label());
this->button1 = (gcnew System::Windows::Forms::Button());
this->label8 = (gcnew System::Windows::Forms::Label());
this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
this->vo = (gcnew System::Windows::Forms::CheckBox());
this->bank = (gcnew System::Windows::Forms::CheckBox());
this->api = (gcnew System::Windows::Forms::CheckBox());
this->donate = (gcnew System::Windows::Forms::CheckBox());
this->tup = (gcnew System::Windows::Forms::CheckBox());
this->website = (gcnew System::Windows::Forms::CheckBox());
this->afk = (gcnew System::Windows::Forms::CheckBox());
this->c4 = (gcnew System::Windows::Forms::CheckBox());
this->suicide = (gcnew System::Windows::Forms::CheckBox());
this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
this->team = (gcnew System::Windows::Forms::CheckBox());
this->kick = (gcnew System::Windows::Forms::CheckBox());
this->setp = (gcnew System::Windows::Forms::CheckBox());
this->kill = (gcnew System::Windows::Forms::CheckBox());
this->setm = (gcnew System::Windows::Forms::CheckBox());
this->go = (gcnew System::Windows::Forms::CheckBox());
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
this->wc = (gcnew System::Windows::Forms::CheckBox());
this->label3 = (gcnew System::Windows::Forms::Label());
this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
this->tabPageStart = (gcnew System::Windows::Forms::TabPage());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->tabPageAutoannounce = (gcnew System::Windows::Forms::TabPage());
this->label6 = (gcnew System::Windows::Forms::Label());
this->groupBox9 = (gcnew System::Windows::Forms::GroupBox());
this->button8 = (gcnew System::Windows::Forms::Button());
this->button7 = (gcnew System::Windows::Forms::Button());
this->button4 = (gcnew System::Windows::Forms::Button());
this->button3 = (gcnew System::Windows::Forms::Button());
this->timeouttxtbox = (gcnew System::Windows::Forms::MaskedTextBox());
this->label5 = (gcnew System::Windows::Forms::Label());
this->addbtn = (gcnew System::Windows::Forms::Button());
this->autoannouncetxtbox = (gcnew System::Windows::Forms::MaskedTextBox());
this->listBoxautoannounce = (gcnew System::Windows::Forms::ListBox());
this->tabPageInGame = (gcnew System::Windows::Forms::TabPage());
this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->label10 = (gcnew System::Windows::Forms::Label());
this->button6 = (gcnew System::Windows::Forms::Button());
this->button5 = (gcnew System::Windows::Forms::Button());
this->groupBox6 = (gcnew System::Windows::Forms::GroupBox());
this->listBox1 = (gcnew System::Windows::Forms::ListBox());
this->groupBox5 = (gcnew System::Windows::Forms::GroupBox());
this->listBox2 = (gcnew System::Windows::Forms::ListBox());
this->Report = (gcnew System::Windows::Forms::TabPage());
this->richTextBox1 = (gcnew System::Windows::Forms::RichTextBox());
this->tabPageCredits = (gcnew System::Windows::Forms::TabPage());
this->linkLabel3 = (gcnew System::Windows::Forms::LinkLabel());
this->linkLabel2 = (gcnew System::Windows::Forms::LinkLabel());
this->linkLabel1 = (gcnew System::Windows::Forms::LinkLabel());
this->label7 = (gcnew System::Windows::Forms::Label());
this->statusStrip1 = (gcnew System::Windows::Forms::StatusStrip());
this->toolStripStatusLabel1 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
this->toolStripStatusLabel2 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
this->timer1 = (gcnew System::Windows::Forms::Timer(this->components));
this->Connect2_DoWork = (gcnew System::Windows::Forms::Timer(this->components));
this->BackGround_Worker = (gcnew System::Windows::Forms::Timer(this->components));
this->HeartBeater = (gcnew System::Windows::Forms::Timer(this->components));
this->Form_Load = (gcnew System::Windows::Forms::Timer(this->components));
this->Reporter = (gcnew System::Windows::Forms::Timer(this->components));
this->toolStrip1->SuspendLayout();
this->tabPageCommands->SuspendLayout();
this->groupBox8->SuspendLayout();
this->groupBox3->SuspendLayout();
this->groupBox2->SuspendLayout();
this->groupBox1->SuspendLayout();
this->tabControl1->SuspendLayout();
this->tabPageStart->SuspendLayout();
(cli::safe_cast(this->pictureBox1))->BeginInit();
this->tabPageAutoannounce->SuspendLayout();
this->groupBox9->SuspendLayout();
this->tabPageInGame->SuspendLayout();
this->groupBox4->SuspendLayout();
this->panel1->SuspendLayout();
this->groupBox6->SuspendLayout();
this->groupBox5->SuspendLayout();
this->Report->SuspendLayout();
this->tabPageCredits->SuspendLayout();
this->statusStrip1->SuspendLayout();
this->SuspendLayout();
//
// toolStripDropDownButton1
//
this->toolStripDropDownButton1->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Text;
this->toolStripDropDownButton1->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->ConnectionToolStripMenuItem,
this->toolStripSeparator3, this->exitToolStripMenuItem});
this->toolStripDropDownButton1->Image = (cli::safe_cast(resources->GetObject(L"toolStripDropDownButton1.Image")));
this->toolStripDropDownButton1->ImageTransparentColor = System::Drawing::Color::Magenta;
this->toolStripDropDownButton1->Name = L"toolStripDropDownButton1";
this->toolStripDropDownButton1->Size = System::Drawing::Size(36, 22);
this->toolStripDropDownButton1->Text = L"File";
//
// ConnectionToolStripMenuItem
//
this->ConnectionToolStripMenuItem->Name = L"ConnectionToolStripMenuItem";
this->ConnectionToolStripMenuItem->Size = System::Drawing::Size(125, 22);
this->ConnectionToolStripMenuItem->Text = L"Connect";
this->ConnectionToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::ConnectionToolStripMenuItem_Click);
//
// toolStripSeparator3
//
this->toolStripSeparator3->Name = L"toolStripSeparator3";
this->toolStripSeparator3->Size = System::Drawing::Size(122, 6);
//
// exitToolStripMenuItem
//
this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";
this->exitToolStripMenuItem->Size = System::Drawing::Size(125, 22);
this->exitToolStripMenuItem->Text = L"Exit";
this->exitToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::exitToolStripMenuItem_Click);
//
// toolStripDropDownButton2
//
this->toolStripDropDownButton2->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Text;
this->toolStripDropDownButton2->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) {this->toolStripMenuItem2,
this->toolStripSeparator2, this->aboutToolStripMenuItem, this->toolStripMenuItem1});
this->toolStripDropDownButton2->Image = (cli::safe_cast(resources->GetObject(L"toolStripDropDownButton2.Image")));
this->toolStripDropDownButton2->ImageTransparentColor = System::Drawing::Color::Magenta;
this->toolStripDropDownButton2->Name = L"toolStripDropDownButton2";
this->toolStripDropDownButton2->Size = System::Drawing::Size(45, 22);
this->toolStripDropDownButton2->Text = L"Tools";
//
// toolStripMenuItem2
//
this->toolStripMenuItem2->Name = L"toolStripMenuItem2";
this->toolStripMenuItem2->Size = System::Drawing::Size(124, 22);
this->toolStripMenuItem2->Text = L"Options";
//
// toolStripSeparator2
//
this->toolStripSeparator2->Name = L"toolStripSeparator2";
this->toolStripSeparator2->Size = System::Drawing::Size(121, 6);
//
// aboutToolStripMenuItem
//
this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
this->aboutToolStripMenuItem->Size = System::Drawing::Size(124, 22);
this->aboutToolStripMenuItem->Text = L"About";
this->aboutToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::aboutToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this->toolStripMenuItem1->Name = L"toolStripMenuItem1";
this->toolStripMenuItem1->Size = System::Drawing::Size(124, 22);
this->toolStripMenuItem1->Text = L"Readme";
this->toolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::toolStripMenuItem1_Click);
//
// toolStrip1
//
this->toolStrip1->GripStyle = System::Windows::Forms::ToolStripGripStyle::Hidden;
this->toolStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->toolStripDropDownButton1,
this->toolStripDropDownButton2});
this->toolStrip1->Location = System::Drawing::Point(0, 0);
this->toolStrip1->Name = L"toolStrip1";
this->toolStrip1->RenderMode = System::Windows::Forms::ToolStripRenderMode::System;
this->toolStrip1->Size = System::Drawing::Size(796, 25);
this->toolStrip1->TabIndex = 0;
this->toolStrip1->Text = L"toolStrip1";
//
// tabPageCommands
//
this->tabPageCommands->BackColor = System::Drawing::Color::Transparent;
this->tabPageCommands->Controls->Add(this->groupBox8);
this->tabPageCommands->Controls->Add(this->button2);
this->tabPageCommands->Controls->Add(this->label9);
this->tabPageCommands->Controls->Add(this->button1);
this->tabPageCommands->Controls->Add(this->label8);
this->tabPageCommands->Controls->Add(this->groupBox3);
this->tabPageCommands->Controls->Add(this->groupBox2);
this->tabPageCommands->Controls->Add(this->groupBox1);
this->tabPageCommands->Controls->Add(this->label3);
this->tabPageCommands->Location = System::Drawing::Point(4, 22);
this->tabPageCommands->Name = L"tabPageCommands";
this->tabPageCommands->Padding = System::Windows::Forms::Padding(3);
this->tabPageCommands->Size = System::Drawing::Size(788, 309);
this->tabPageCommands->TabIndex = 1;
this->tabPageCommands->Text = L"Commands";
this->tabPageCommands->UseVisualStyleBackColor = true;
this->tabPageCommands->Click += gcnew System::EventHandler(this, &Form1::tabPage1_Click);
//
// groupBox8
//
this->groupBox8->Controls->Add(this->label4);
this->groupBox8->Location = System::Drawing::Point(491, 188);
this->groupBox8->Name = L"groupBox8";
this->groupBox8->Size = System::Drawing::Size(289, 100);
this->groupBox8->TabIndex = 10;
this->groupBox8->TabStop = false;
this->groupBox8->Text = L"Un-Changable";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Location = System::Drawing::Point(7, 20);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(278, 78);
this->label4->TabIndex = 0;
this->label4->Text = L"!version/!bot\r\n\r\n\r\n\r\nAll the commands in this list are un-changable and cannot\r\nb"
L"e disabled!";
//
// button2
//
this->button2->Location = System::Drawing::Point(637, 116);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(75, 23);
this->button2->TabIndex = 9;
this->button2->Text = L"Reset";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
//
// label9
//
this->label9->Location = System::Drawing::Point(0, 0);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(100, 23);
this->label9->TabIndex = 0;
//
// button1
//
this->button1->Location = System::Drawing::Point(556, 116);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 23);
this->button1->TabIndex = 8;
this->button1->Text = L"Update";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
//
// label8
//
this->label8->AutoSize = true;
this->label8->Location = System::Drawing::Point(553, 69);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(159, 39);
this->label8->TabIndex = 7;
this->label8->Text = L"Please click the button below\r\nto update the bot and the server\r\nwill be updated "
L"automatically!";
//
// groupBox3
//
this->groupBox3->Controls->Add(this->vo);
this->groupBox3->Controls->Add(this->bank);
this->groupBox3->Controls->Add(this->api);
this->groupBox3->Controls->Add(this->donate);
this->groupBox3->Controls->Add(this->tup);
this->groupBox3->Controls->Add(this->website);
this->groupBox3->Controls->Add(this->afk);
this->groupBox3->Controls->Add(this->c4);
this->groupBox3->Controls->Add(this->suicide);
this->groupBox3->Location = System::Drawing::Point(330, 27);
this->groupBox3->Name = L"groupBox3";
this->groupBox3->Size = System::Drawing::Size(155, 261);
this->groupBox3->TabIndex = 6;
this->groupBox3->TabStop = false;
this->groupBox3->Text = L"Player Commands";
//
// vo
//
this->vo->AutoSize = true;
this->vo->Location = System::Drawing::Point(6, 200);
this->vo->Name = L"vo";
this->vo->Size = System::Drawing::Size(114, 17);
this->vo->TabIndex = 13;
this->vo->Text = L"Vehicle Ownership";
this->vo->UseVisualStyleBackColor = true;
//
// bank
//
this->bank->AutoSize = true;
this->bank->Location = System::Drawing::Point(6, 177);
this->bank->Name = L"bank";
this->bank->Size = System::Drawing::Size(91, 17);
this->bank->TabIndex = 12;
this->bank->Text = L"!bank/!dbank";
this->bank->UseVisualStyleBackColor = true;
//
// api
//
this->api->AutoSize = true;
this->api->Location = System::Drawing::Point(6, 156);
this->api->Name = L"api";
this->api->Size = System::Drawing::Size(43, 17);
this->api->TabIndex = 11;
this->api->Text = L"!api";
this->api->UseVisualStyleBackColor = true;
//
// donate
//
this->donate->AutoSize = true;
this->donate->Location = System::Drawing::Point(6, 133);
this->donate->Name = L"donate";
this->donate->Size = System::Drawing::Size(62, 17);
this->donate->TabIndex = 9;
this->donate->Text = L"!donate";
this->donate->UseVisualStyleBackColor = true;
//
// tup
//
this->tup->AutoSize = true;
this->tup->Enabled = false;
this->tup->Location = System::Drawing::Point(6, 110);
this->tup->Name = L"tup";
this->tup->Size = System::Drawing::Size(99, 17);
this->tup->TabIndex = 8;
this->tup->Text = L"!tup/!teleportup";
this->tup->UseVisualStyleBackColor = true;
//
// website
//
this->website->AutoSize = true;
this->website->Location = System::Drawing::Point(6, 89);
this->website->Name = L"website";
this->website->Size = System::Drawing::Size(89, 17);
this->website->TabIndex = 7;
this->website->Text = L"!website/!site";
this->website->UseVisualStyleBackColor = true;
//
// afk
//
this->afk->AutoSize = true;
this->afk->Location = System::Drawing::Point(6, 66);
this->afk->Name = L"afk";
this->afk->Size = System::Drawing::Size(76, 17);
this->afk->TabIndex = 6;
this->afk->Text = L"!afk/!back";
this->afk->UseVisualStyleBackColor = true;
//
// c4
//
this->c4->AutoSize = true;
this->c4->Location = System::Drawing::Point(6, 43);
this->c4->Name = L"c4";
this->c4->Size = System::Drawing::Size(41, 17);
this->c4->TabIndex = 4;
this->c4->Text = L"!c4";
this->c4->UseVisualStyleBackColor = true;
//
// suicide
//
this->suicide->AutoSize = true;
this->suicide->Location = System::Drawing::Point(6, 20);
this->suicide->Name = L"suicide";
this->suicide->Size = System::Drawing::Size(96, 17);
this->suicide->TabIndex = 1;
this->suicide->Text = L"!suicide/!killme";
this->suicide->UseVisualStyleBackColor = true;
//
// groupBox2
//
this->groupBox2->Controls->Add(this->team);
this->groupBox2->Controls->Add(this->kick);
this->groupBox2->Controls->Add(this->setp);
this->groupBox2->Controls->Add(this->kill);
this->groupBox2->Controls->Add(this->setm);
this->groupBox2->Controls->Add(this->go);
this->groupBox2->Location = System::Drawing::Point(169, 26);
this->groupBox2->Name = L"groupBox2";
this->groupBox2->Size = System::Drawing::Size(155, 262);
this->groupBox2->TabIndex = 5;
this->groupBox2->TabStop = false;
this->groupBox2->Text = L"Mod Commands";
//
// team
//
this->team->AutoSize = true;
this->team->Location = System::Drawing::Point(6, 136);
this->team->Name = L"team";
this->team->Size = System::Drawing::Size(52, 17);
this->team->TabIndex = 8;
this->team->Text = L"!team";
this->team->UseVisualStyleBackColor = true;
//
// kick
//
this->kick->AutoSize = true;
this->kick->Location = System::Drawing::Point(6, 113);
this->kick->Name = L"kick";
this->kick->Size = System::Drawing::Size(109, 17);
this->kick->TabIndex = 7;
this->kick->Text = L"!kick/!ban/!qkick";
this->kick->UseVisualStyleBackColor = true;
//
// setp
//
this->setp->AutoSize = true;
this->setp->Location = System::Drawing::Point(6, 67);
this->setp->Name = L"setp";
this->setp->Size = System::Drawing::Size(49, 17);
this->setp->TabIndex = 6;
this->setp->Text = L"!setp";
this->setp->UseVisualStyleBackColor = true;
//
// kill
//
this->kill->AutoSize = true;
this->kill->Location = System::Drawing::Point(6, 90);
this->kill->Name = L"kill";
this->kill->Size = System::Drawing::Size(41, 17);
this->kill->TabIndex = 3;
this->kill->Text = L"!kill";
this->kill->UseVisualStyleBackColor = true;
//
// setm
//
this->setm->AutoSize = true;
this->setm->Location = System::Drawing::Point(6, 44);
this->setm->Name = L"setm";
this->setm->Size = System::Drawing::Size(51, 17);
this->setm->TabIndex = 6;
this->setm->Text = L"!setm";
this->setm->UseVisualStyleBackColor = true;
//
// go
//
this->go->AutoSize = true;
this->go->Location = System::Drawing::Point(6, 21);
this->go->Name = L"go";
this->go->Size = System::Drawing::Size(96, 17);
this->go->TabIndex = 6;
this->go->Text = L"!gameover/!go";
this->go->UseVisualStyleBackColor = true;
//
// groupBox1
//
this->groupBox1->Controls->Add(this->wc);
this->groupBox1->Location = System::Drawing::Point(8, 26);
this->groupBox1->Name = L"groupBox1";
this->groupBox1->Size = System::Drawing::Size(155, 262);
this->groupBox1->TabIndex = 4;
this->groupBox1->TabStop = false;
this->groupBox1->Text = L"Admin Commands";
this->groupBox1->Enter += gcnew System::EventHandler(this, &Form1::groupBox1_Enter_1);
//
// wc
//
this->wc->AutoSize = true;
this->wc->Location = System::Drawing::Point(6, 21);
this->wc->Name = L"wc";
this->wc->Size = System::Drawing::Size(122, 17);
this->wc->TabIndex = 5;
this->wc->Text = L"Weather Commands";
this->wc->UseVisualStyleBackColor = true;
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System::Drawing::Point(209, 8);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(386, 13);
this->label3->TabIndex = 2;
this->label3->Text = L"Please check/uncheck the commands you wish the bot to use during gameplay!";
//
// tabControl1
//
this->tabControl1->Controls->Add(this->tabPageStart);
this->tabControl1->Controls->Add(this->tabPageCommands);
this->tabControl1->Controls->Add(this->tabPageAutoannounce);
this->tabControl1->Controls->Add(this->tabPageInGame);
this->tabControl1->Controls->Add(this->Report);
this->tabControl1->Controls->Add(this->tabPageCredits);
this->tabControl1->Dock = System::Windows::Forms::DockStyle::Fill;
this->tabControl1->Location = System::Drawing::Point(0, 25);
this->tabControl1->Name = L"tabControl1";
this->tabControl1->SelectedIndex = 0;
this->tabControl1->Size = System::Drawing::Size(796, 335);
this->tabControl1->TabIndex = 1;
//
// tabPageStart
//
this->tabPageStart->BackColor = System::Drawing::Color::Transparent;
this->tabPageStart->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
this->tabPageStart->Controls->Add(this->pictureBox1);
this->tabPageStart->Controls->Add(this->label1);
this->tabPageStart->Location = System::Drawing::Point(4, 22);
this->tabPageStart->Name = L"tabPageStart";
this->tabPageStart->Padding = System::Windows::Forms::Padding(3);
this->tabPageStart->Size = System::Drawing::Size(788, 309);
this->tabPageStart->TabIndex = 0;
this->tabPageStart->Text = L"Start";
this->tabPageStart->UseVisualStyleBackColor = true;
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->ImageLocation = L"";
this->pictureBox1->Location = System::Drawing::Point(278, 118);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(204, 157);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::Zoom;
this->pictureBox1->TabIndex = 4;
this->pictureBox1->TabStop = false;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Porky\'s", 15.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(273, 3);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(209, 28);
this->label1->TabIndex = 0;
this->label1->Text = L"DragonFireBot V2.0A";
//
// tabPageAutoannounce
//
this->tabPageAutoannounce->Controls->Add(this->label6);
this->tabPageAutoannounce->Controls->Add(this->groupBox9);
this->tabPageAutoannounce->Controls->Add(this->timeouttxtbox);
this->tabPageAutoannounce->Controls->Add(this->label5);
this->tabPageAutoannounce->Controls->Add(this->addbtn);
this->tabPageAutoannounce->Controls->Add(this->autoannouncetxtbox);
this->tabPageAutoannounce->Controls->Add(this->listBoxautoannounce);
this->tabPageAutoannounce->Location = System::Drawing::Point(4, 22);
this->tabPageAutoannounce->Name = L"tabPageAutoannounce";
this->tabPageAutoannounce->Padding = System::Windows::Forms::Padding(3);
this->tabPageAutoannounce->Size = System::Drawing::Size(788, 309);
this->tabPageAutoannounce->TabIndex = 3;
this->tabPageAutoannounce->Text = L"Autoannounce";
this->tabPageAutoannounce->UseVisualStyleBackColor = true;
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label6->Location = System::Drawing::Point(316, 6);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(147, 24);
this->label6->TabIndex = 6;
this->label6->Text = L"Autoannounce";
//
// groupBox9
//
this->groupBox9->Controls->Add(this->button8);
this->groupBox9->Controls->Add(this->button7);
this->groupBox9->Controls->Add(this->button4);
this->groupBox9->Controls->Add(this->button3);
this->groupBox9->Location = System::Drawing::Point(8, 30);
this->groupBox9->Name = L"groupBox9";
this->groupBox9->Size = System::Drawing::Size(330, 45);
this->groupBox9->TabIndex = 5;
this->groupBox9->TabStop = false;
this->groupBox9->Text = L"Controls";
//
// button8
//
this->button8->Location = System::Drawing::Point(249, 16);
this->button8->Name = L"button8";
this->button8->Size = System::Drawing::Size(75, 23);
this->button8->TabIndex = 8;
this->button8->Text = L"Disable";
this->button8->UseVisualStyleBackColor = true;
this->button8->Click += gcnew System::EventHandler(this, &Form1::button8_Click);
//
// button7
//
this->button7->Location = System::Drawing::Point(168, 16);
this->button7->Name = L"button7";
this->button7->Size = System::Drawing::Size(75, 23);
this->button7->TabIndex = 7;
this->button7->Text = L"Enable";
this->button7->UseVisualStyleBackColor = true;
this->button7->Click += gcnew System::EventHandler(this, &Form1::button7_Click);
//
// button4
//
this->button4->Location = System::Drawing::Point(87, 16);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(75, 23);
this->button4->TabIndex = 6;
this->button4->Text = L"Reset";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
//
// button3
//
this->button3->Location = System::Drawing::Point(6, 16);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(75, 23);
this->button3->TabIndex = 6;
this->button3->Text = L"Remove";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
//
// timeouttxtbox
//
this->timeouttxtbox->Location = System::Drawing::Point(680, 55);
this->timeouttxtbox->Name = L"timeouttxtbox";
this->timeouttxtbox->Size = System::Drawing::Size(100, 20);
this->timeouttxtbox->TabIndex = 4;
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label5->Location = System::Drawing::Point(566, 56);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(117, 16);
this->label5->TabIndex = 3;
this->label5->Text = L"Timeout (Secs):";
//
// addbtn
//
this->addbtn->Location = System::Drawing::Point(688, 264);
this->addbtn->Name = L"addbtn";
this->addbtn->Size = System::Drawing::Size(92, 20);
this->addbtn->TabIndex = 2;
this->addbtn->Text = L"->ADD<-";
this->addbtn->UseVisualStyleBackColor = true;
this->addbtn->Click += gcnew System::EventHandler(this, &Form1::addbtn_Click);
//
// autoannouncetxtbox
//
this->autoannouncetxtbox->Location = System::Drawing::Point(8, 264);
this->autoannouncetxtbox->Name = L"autoannouncetxtbox";
this->autoannouncetxtbox->Size = System::Drawing::Size(674, 20);
this->autoannouncetxtbox->TabIndex = 1;
this->autoannouncetxtbox->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::KBH);
//
// listBoxautoannounce
//
this->listBoxautoannounce->FormattingEnabled = true;
this->listBoxautoannounce->Location = System::Drawing::Point(8, 82);
this->listBoxautoannounce->Name = L"listBoxautoannounce";
this->listBoxautoannounce->Size = System::Drawing::Size(772, 173);
this->listBoxautoannounce->TabIndex = 0;
//
// tabPageInGame
//
this->tabPageInGame->AllowDrop = true;
this->tabPageInGame->Controls->Add(this->groupBox4);
this->tabPageInGame->Location = System::Drawing::Point(4, 22);
this->tabPageInGame->Name = L"tabPageInGame";
this->tabPageInGame->Padding = System::Windows::Forms::Padding(3);
this->tabPageInGame->Size = System::Drawing::Size(788, 309);
this->tabPageInGame->TabIndex = 5;
this->tabPageInGame->Text = L"In-Game";
this->tabPageInGame->UseVisualStyleBackColor = true;
//
// groupBox4
//
this->groupBox4->Controls->Add(this->panel1);
this->groupBox4->Controls->Add(this->button6);
this->groupBox4->Controls->Add(this->button5);
this->groupBox4->Controls->Add(this->groupBox6);
this->groupBox4->Controls->Add(this->groupBox5);
this->groupBox4->Location = System::Drawing::Point(8, 4);
this->groupBox4->Name = L"groupBox4";
this->groupBox4->Size = System::Drawing::Size(772, 282);
this->groupBox4->TabIndex = 5;
this->groupBox4->TabStop = false;
this->groupBox4->Text = L"In-Game Players";
//
// panel1
//
this->panel1->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
this->panel1->Controls->Add(this->label10);
this->panel1->Location = System::Drawing::Point(517, 33);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(249, 39);
this->panel1->TabIndex = 4;
//
// label10
//
this->label10->AutoSize = true;
this->label10->Location = System::Drawing::Point(1, 5);
this->label10->Name = L"label10";
this->label10->Size = System::Drawing::Size(219, 26);
this->label10->TabIndex = 0;
this->label10->Text = L"Use the controls on the left to switch in-game\r\nplayer teams!";
//
// button6
//
this->button6->Location = System::Drawing::Point(221, 194);
this->button6->Name = L"button6";
this->button6->Size = System::Drawing::Size(75, 23);
this->button6->TabIndex = 3;
this->button6->Text = L"->";
this->button6->UseVisualStyleBackColor = true;
//
// button5
//
this->button5->Location = System::Drawing::Point(221, 69);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(75, 23);
this->button5->TabIndex = 2;
this->button5->Text = L"<-";
this->button5->UseVisualStyleBackColor = true;
//
// groupBox6
//
this->groupBox6->Controls->Add(this->listBox1);
this->groupBox6->Location = System::Drawing::Point(311, 19);
this->groupBox6->Name = L"groupBox6";
this->groupBox6->Size = System::Drawing::Size(200, 257);
this->groupBox6->TabIndex = 1;
this->groupBox6->TabStop = false;
this->groupBox6->Text = L"GDI";
//
// listBox1
//
this->listBox1->BackColor = System::Drawing::Color::DarkOrange;
this->listBox1->FormattingEnabled = true;
this->listBox1->Location = System::Drawing::Point(6, 14);
this->listBox1->Name = L"listBox1";
this->listBox1->Size = System::Drawing::Size(188, 238);
this->listBox1->TabIndex = 4;
//
// groupBox5
//
this->groupBox5->BackColor = System::Drawing::Color::Transparent;
this->groupBox5->Controls->Add(this->listBox2);
this->groupBox5->Location = System::Drawing::Point(6, 19);
this->groupBox5->Name = L"groupBox5";
this->groupBox5->Size = System::Drawing::Size(200, 257);
this->groupBox5->TabIndex = 0;
this->groupBox5->TabStop = false;
this->groupBox5->Text = L"Nod";
//
// listBox2
//
this->listBox2->BackColor = System::Drawing::Color::Red;
this->listBox2->FormattingEnabled = true;
this->listBox2->Location = System::Drawing::Point(6, 14);
this->listBox2->Name = L"listBox2";
this->listBox2->Size = System::Drawing::Size(188, 238);
this->listBox2->TabIndex = 4;
//
// Report
//
this->Report->Controls->Add(this->richTextBox1);
this->Report->Location = System::Drawing::Point(4, 22);
this->Report->Name = L"Report";
this->Report->Padding = System::Windows::Forms::Padding(3);
this->Report->Size = System::Drawing::Size(788, 309);
this->Report->TabIndex = 7;
this->Report->Text = L"Report";
this->Report->UseVisualStyleBackColor = true;
//
// richTextBox1
//
this->richTextBox1->BackColor = System::Drawing::Color::DarkRed;
this->richTextBox1->ForeColor = System::Drawing::SystemColors::InactiveCaptionText;
this->richTextBox1->Location = System::Drawing::Point(8, 6);
this->richTextBox1->Name = L"richTextBox1";
this->richTextBox1->Size = System::Drawing::Size(772, 282);
this->richTextBox1->TabIndex = 0;
this->richTextBox1->Text = L"";
//
// tabPageCredits
//
this->tabPageCredits->BackColor = System::Drawing::Color::Transparent;
this->tabPageCredits->Controls->Add(this->linkLabel3);
this->tabPageCredits->Controls->Add(this->linkLabel2);
this->tabPageCredits->Controls->Add(this->linkLabel1);
this->tabPageCredits->Controls->Add(this->label7);
this->tabPageCredits->Location = System::Drawing::Point(4, 22);
this->tabPageCredits->Name = L"tabPageCredits";
this->tabPageCredits->Padding = System::Windows::Forms::Padding(3);
this->tabPageCredits->Size = System::Drawing::Size(788, 309);
this->tabPageCredits->TabIndex = 6;
this->tabPageCredits->Text = L"Credits";
this->tabPageCredits->UseVisualStyleBackColor = true;
//
// linkLabel3
//
this->linkLabel3->AutoSize = true;
this->linkLabel3->Location = System::Drawing::Point(108, 159);
this->linkLabel3->Name = L"linkLabel3";
this->linkLabel3->Size = System::Drawing::Size(142, 13);
this->linkLabel3->TabIndex = 3;
this->linkLabel3->TabStop = true;
this->linkLabel3->Text = L"http://dcomproductions.net/";
this->linkLabel3->LinkClicked += gcnew System::Windows::Forms::LinkLabelLinkClickedEventHandler(this, &Form1::linkLabel3_LinkClicked);
//
// linkLabel2
//
this->linkLabel2->AutoSize = true;
this->linkLabel2->Location = System::Drawing::Point(68, 146);
this->linkLabel2->Name = L"linkLabel2";
this->linkLabel2->Size = System::Drawing::Size(106, 13);
this->linkLabel2->TabIndex = 2;
this->linkLabel2->TabStop = true;
this->linkLabel2->Text = L"http://black-cell.net/";
this->linkLabel2->LinkClicked += gcnew System::Windows::Forms::LinkLabelLinkClickedEventHandler(this, &Form1::linkLabel2_LinkClicked_1);
//
// linkLabel1
//
this->linkLabel1->AutoSize = true;
this->linkLabel1->Location = System::Drawing::Point(68, 133);
this->linkLabel1->Name = L"linkLabel1";
this->linkLabel1->Size = System::Drawing::Size(109, 13);
this->linkLabel1->TabIndex = 1;
this->linkLabel1->TabStop = true;
this->linkLabel1->Text = L"http://black-intel.net/";
this->linkLabel1->LinkClicked += gcnew System::Windows::Forms::LinkLabelLinkClickedEventHandler(this, &Form1::linkLabel1_LinkClicked_1);
//
// label7
//
this->label7->AutoSize = true;
this->label7->ForeColor = System::Drawing::SystemColors::ActiveCaption;
this->label7->Location = System::Drawing::Point(8, 3);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(492, 169);
this->label7->TabIndex = 0;
this->label7->Text = resources->GetString(L"label7.Text");
//
// statusStrip1
//
this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->toolStripStatusLabel1,
this->toolStripStatusLabel2});
this->statusStrip1->Location = System::Drawing::Point(0, 338);
this->statusStrip1->Name = L"statusStrip1";
this->statusStrip1->RenderMode = System::Windows::Forms::ToolStripRenderMode::Professional;
this->statusStrip1->Size = System::Drawing::Size(796, 22);
this->statusStrip1->TabIndex = 2;
this->statusStrip1->Text = L"statusStrip1";
//
// toolStripStatusLabel1
//
this->toolStripStatusLabel1->Name = L"toolStripStatusLabel1";
this->toolStripStatusLabel1->Size = System::Drawing::Size(109, 17);
this->toolStripStatusLabel1->Text = L"toolStripStatusLabel1";
//
// toolStripStatusLabel2
//
this->toolStripStatusLabel2->Name = L"toolStripStatusLabel2";
this->toolStripStatusLabel2->Size = System::Drawing::Size(109, 17);
this->toolStripStatusLabel2->Text = L"toolStripStatusLabel2";
//
// timer1
//
this->timer1->Enabled = true;
this->timer1->Interval = 1000;
this->timer1->Tick += gcnew System::EventHandler(this, &Form1::timer1_Tick);
//
// Connect2_DoWork
//
this->Connect2_DoWork->Interval = 7000;
this->Connect2_DoWork->Tick += gcnew System::EventHandler(this, &Form1::Connect2_DoWork_Tick);
//
// BackGround_Worker
//
this->BackGround_Worker->Enabled = true;
this->BackGround_Worker->Interval = 1000;
this->BackGround_Worker->Tick += gcnew System::EventHandler(this, &Form1::BackGround_Worker_Tick);
//
// HeartBeater
//
this->HeartBeater->Interval = 3000;
this->HeartBeater->Tick += gcnew System::EventHandler(this, &Form1::HeartBeater_Tick);
//
// Form_Load
//
this->Form_Load->Enabled = true;
this->Form_Load->Interval = 1;
this->Form_Load->Tick += gcnew System::EventHandler(this, &Form1::Form_Load_Tick);
//
// Reporter
//
this->Reporter->Enabled = true;
this->Reporter->Interval = 3000;
this->Reporter->Tick += gcnew System::EventHandler(this, &Form1::Reporter_Tick);
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(224)), static_cast(static_cast(224)),
static_cast(static_cast(224)));
this->ClientSize = System::Drawing::Size(796, 360);
this->Controls->Add(this->statusStrip1);
this->Controls->Add(this->tabControl1);
this->Controls->Add(this->toolStrip1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSingle;
this->Icon = (cli::safe_cast(resources->GetObject(L"$this.Icon")));
this->MaximizeBox = false;
this->MinimumSize = System::Drawing::Size(685, 280);
this->Name = L"Form1";
this->Text = L"DragonFireBot V2.0A ~ 00:00:00 ~ Connecting...";
this->FormClosed += gcnew System::Windows::Forms::FormClosedEventHandler(this, &Form1::Form1_Exit);
this->Resize += gcnew System::EventHandler(this, &Form1::check1);
this->FormClosing += gcnew System::Windows::Forms::FormClosingEventHandler(this, &Form1::Confirm1);
this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
this->toolStrip1->ResumeLayout(false);
this->toolStrip1->PerformLayout();
this->tabPageCommands->ResumeLayout(false);
this->tabPageCommands->PerformLayout();
this->groupBox8->ResumeLayout(false);
this->groupBox8->PerformLayout();
this->groupBox3->ResumeLayout(false);
this->groupBox3->PerformLayout();
this->groupBox2->ResumeLayout(false);
this->groupBox2->PerformLayout();
this->groupBox1->ResumeLayout(false);
this->groupBox1->PerformLayout();
this->tabControl1->ResumeLayout(false);
this->tabPageStart->ResumeLayout(false);
this->tabPageStart->PerformLayout();
(cli::safe_cast(this->pictureBox1))->EndInit();
this->tabPageAutoannounce->ResumeLayout(false);
this->tabPageAutoannounce->PerformLayout();
this->groupBox9->ResumeLayout(false);
this->tabPageInGame->ResumeLayout(false);
this->groupBox4->ResumeLayout(false);
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
this->groupBox6->ResumeLayout(false);
this->groupBox5->ResumeLayout(false);
this->Report->ResumeLayout(false);
this->tabPageCredits->ResumeLayout(false);
this->tabPageCredits->PerformLayout();
this->statusStrip1->ResumeLayout(false);
this->statusStrip1->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: static String ^ connectionstatus = "Disconnected";
private: System::Void groupBox1_Enter(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void aboutToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
MessageBox:: Show("DragonFireBot V2.0A\n\nAbout:\nCreated By Bradley Duncan A.K.A Brad101 (Nightsofdark)\n\nWebsite:\n(Not Listed Yet!)\n\nNotes:\nLogo created by Dave S. Anderson, id like to thank all of the people that have lent their minds to this project and have made it the way it is!\n\nThere are loads of hidden extras in the program ;)","About",System::Windows::Forms::MessageBoxButtons::OK,System::Windows::Forms::MessageBoxIcon::Information);
}
private: System::Void tabPage1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void toolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
System::Diagnostics::Process::Start("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\readme.txt");
}
private: System::Void exitToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
if (MessageBox::Show("Are you sure you want to exit?","Confirm?",System::Windows::Forms::MessageBoxButtons::YesNo,System::Windows::Forms::MessageBoxIcon::Question) != System::Windows::Forms::DialogResult::No) {
Close();
}
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
if (this->kill->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[2] = "kill=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->kill->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[2] = "kill=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->wc->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[4] = "weather=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->wc->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[4] = "weather=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->go->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[5] = "gameover=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->go->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[5] = "gameover=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->setm->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[6] = "setm=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->setm->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[6] = "setm=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->setp->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[7] = "setp=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->setp->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[7] = "setp=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->suicide->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[0] = "suicide=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->suicide->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[0] = "suicide=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->kick->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[9] = "kick=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->kick->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[9] = "kick=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->afk->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[8] = "afk=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->afk->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[8] = "afk=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->team->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[10] = "team=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->team->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[10] = "team=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->c4->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[11] = "c4=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->c4->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[11] = "c4=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->website->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[12] = "website=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->website->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[12] = "website=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->donate->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[13] = "donate=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->donate->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[13] = "donate=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->api->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[14] = "api=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->api->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[14] = "api=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->bank->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[15] = "bank=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->bank->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[15] = "bank=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
if (this->vo->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[16] = "vo=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
else if (!this->vo->Checked) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[16] = "vo=0";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
}
MessageBox::Show("Commands Updated...","Information",System::Windows::Forms::MessageBoxButtons::OK,System::Windows::Forms::MessageBoxIcon::Information);
}
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
this->button8->Enabled = false;
this->toolStripStatusLabel1->Text = "Status:";
this->toolStripStatusLabel2->Text = "Connecting...";
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
this->timeouttxtbox->Text = "60";
if (Lines[7] == "setp=1")
{
this->setp->Checked = true;
}
if (Lines[4] == "weather=1")
{
this->wc->Checked = true;
}
if (Lines[5] == "gameover=1")
{
this->go->Checked = true;
}
if (Lines[6] == "setm=1")
{
this->setm->Checked = true;
}
if (Lines[2] == "kill=1")
{
this->kill->Checked = true;
}
if (Lines[0] == "suicide=1")
{
this->suicide->Checked = true;
}
}
private: System::Void groupBox1_Enter_1(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void Form1_Exit(System::Object^ sender, System::Windows::Forms::FormClosedEventArgs^ e) {
array^Lines2 = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll");
Lines2[0] = "NULL";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll", Lines2);
}
private: System::Void listBox1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void tabPageAutoannounce_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
this->suicide->Checked = true;
this->kill->Checked = true;
this->setm->Checked = true;
this->go->Checked = true;
this->wc->Checked = true;
this->setp->Checked = true;
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll");
Lines[0] = "suicide=1";
Lines[7] = "setp=1";
Lines[6] = "setm=1";
Lines[5] = "gameover=1";
Lines[4] = "weather=1";
Lines[2] = "kill=1";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Commands.dll", Lines);
MessageBox::Show("All Commands Have Been Reset!");
}
private: System::Void linkLabel1_LinkClicked_1(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) {
System::Diagnostics::Process::Start("http://www.black-intel.net");
}
private: System::Void linkLabel2_LinkClicked_1(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) {
System::Diagnostics::Process::Start("http://www.black-cell.net");
}
private: System::Void addbtn_Click(System::Object^ sender, System::EventArgs^ e) {
this->listBoxautoannounce->Items->Add(this->autoannouncetxtbox->Text);
this->autoannouncetxtbox->Text = "";
}
private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
this->autoannouncetxtbox->Enabled = false;
this->listBoxautoannounce->Enabled = false;
this->timeouttxtbox->Enabled = false;
this->timeouttxtbox->Text = "";
this->listBoxautoannounce->Items->Clear();
this->listBoxautoannounce->Items->Add("Autoannounce has been disabled!");
this->addbtn->Enabled = false;
;
MessageBox::Show("Done!");
}
private: System::Void button6_Click(System::Object^ sender, System::EventArgs^ e) {
this->autoannouncetxtbox->Enabled = true;
this->listBoxautoannounce->Enabled = true;
this->timeouttxtbox->Enabled = true;
this->timeouttxtbox->Text = "60";
this->listBoxautoannounce->Items->Remove("Autoannounce has been disabled!");
this->addbtn->Enabled = true;
MessageBox::Show("Done!");
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
this->listBoxautoannounce->Items->Clear();
MessageBox::Show("Reset!");
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
this->listBoxautoannounce->Items->Remove(this->listBoxautoannounce->SelectedItem);
MessageBox::Show("Message Removed!");
}
private: System::Void folderBrowserDialog1_HelpRequest(System::Object^ sender, System::EventArgs^ e) {
}
private: static int i = 0;
private: System::Void check1(System::Object^ sender, System::EventArgs^ e) {
if (this->WindowState == System::Windows::Forms::FormWindowState::Minimized) {
}
}
private: System::Void linkLabel3_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) {
System::Diagnostics::Process::Start("http://dcomproductions.net/");
}
private: System::Void Confirm1(System::Object^ sender, System::Windows::Forms::FormClosingEventArgs^ e) {
if(MessageBox::Show("Are you sure you want to exit?", "Confirm?", MessageBoxButtons::YesNo, MessageBoxIcon::Question) == Windows::Forms::DialogResult::No)
{
e->Cancel = true;
}
}
private: System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e) {
String ^timestamp = System::DateTime::Now.ToString("HH:mm:ss");
this->Text = "DragonFireBot V2.0A ~ "+timestamp+" ~ "+connectionstatus;
this->toolStripStatusLabel2->Text = connectionstatus;
}
private: static int v1 = 0;
private: System::Void ConnectionToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
if (v1 == 0) {
connectionstatus = "Connecting...";
this->Connect2_DoWork->Enabled = true;
v1 = 1;
array^Lines2 = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll");
Lines2[0] = "true";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll", Lines2);
}
else {
array^Lines2 = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll");
Lines2[0] = "NULL";
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll", Lines2);
v1 = 0;
this->ConnectionToolStripMenuItem->Text = "Connect";
connectionstatus = "Disconnected";
this->HeartBeater->Enabled = false;
}
}
private: static int msgboxprevent = 0;
private: System::Void Connect2_DoWork_Tick(System::Object^ sender, System::EventArgs^ e) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll");
if (Lines[0] == "FDS" || Lines[0] == "DFB")
{
this->Connect2_DoWork->Enabled = false;
connectionstatus = "Connected";
this->ConnectionToolStripMenuItem->Text = "Disconnect";
this->HeartBeater->Enabled = true;
msgboxprevent = 0;
}
else {
if (msgboxprevent == 0) {
msgboxprevent = 1;
if (MessageBox::Show("Connection Failed!\n\nReason: The FDS Did Not Respond To The Bot's Connection Request!\n\nTimeout: 7(s)","Failed!",System::Windows::Forms::MessageBoxButtons::OK,System::Windows::Forms::MessageBoxIcon::Error,System::Windows::Forms::MessageBoxDefaultButton::Button1) == System::Windows::Forms::DialogResult::OK) {
msgboxprevent = 0;
}
}
this->Connect2_DoWork->Enabled = false;
this->toolStripStatusLabel2->Text = "Disconnected";
connectionstatus = "Disconnected";
this->ConnectionToolStripMenuItem->Text = "Connect";
msgboxprevent = 1;
}
}
private: static int v2 = 0;
private: System::Void BackGround_Worker_Tick(System::Object^ sender, System::EventArgs^ e) {
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll");
if (Lines[0] == "FDS")
{
this->ConnectionToolStripMenuItem->Text = "Disconnect";
v1 = 1;
connectionstatus = "Connected";
this->HeartBeater->Enabled = true;
msgboxprevent = 0;
}
v2 = 1;
}
private: System::Void KBH(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) {
if (e->KeyChar == Convert::ToInt32(13)) {
this->listBoxautoannounce->Items->Add(this->autoannouncetxtbox->Text);
this->autoannouncetxtbox->Text = "";
}
}
private: System::Void button7_Click(System::Object^ sender, System::EventArgs^ e) {
this->button7->Enabled = false;
this->button8->Enabled = true;
}
private: System::Void button8_Click(System::Object^ sender, System::EventArgs^ e) {
this->button7->Enabled = true;
this->button8->Enabled = false;
}
private: static int h1 = 0;
private: static int h2 = 0;
private: System::Void HeartBeater_Tick(System::Object^ sender, System::EventArgs^ e) {
//HEARTBEAT SCRIPT
array^Lines = IO::File::ReadAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll");
array^Lines2 = gcnew array(256);
if (Lines[0] == "FDS") {
Lines2[0] = "DFB";
}
else if (Lines[0] == "DFB") {
if (msgboxprevent == 0) {
msgboxprevent = 1;
if (MessageBox::Show("Connection Lost!\n\nReason: The FDS stopped responding to the bot!","Disconnection Imminent!",System::Windows::Forms::MessageBoxButtons::OK,System::Windows::Forms::MessageBoxIcon::Error) == System::Windows::Forms::DialogResult::OK) {
msgboxprevent = 0;
}
}
connectionstatus = "Disconnected";
v1 = 0;
this->ConnectionToolStripMenuItem->Text = "Connect";
this->HeartBeater->Enabled = false;
msgboxprevent = 1;
}
else {
MessageBox::Show("Closing The Application!\n\nReason: HeartBeat Response Is NULL\n\nRecommended: Please report this error to one of our developers for more information about it and how to stop it happening!","Critical Error!",System::Windows::Forms::MessageBoxButtons::OK,System::Windows::Forms::MessageBoxIcon::Error);
Close();
}
IO::File::WriteAllLines("C:\\Westwood\\RenegadeFDS\\Server\\dragonfirebot\\Tmp\\Tmp.dll", Lines2);
//END HEARTBEAT SCRIPT
}
private: System::Void button10_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: static int abc = 0;
private: System::Void Form_Load_Tick(System::Object^ sender, System::EventArgs^ e) {
if (abc <= 720) {
this->Hide();
abc = (abc+1);
}
else {
this->Show();
}
}
private: System::Void Reporter_Tick(System::Object^ sender, System::EventArgs^ e) {
for each(String ^Str in IO::File::ReadAllLines("C:\\westwood\\RenegadeFDS\\Server\\DragonFireBot\\Logs.txt"))
{
this->richTextBox1->Text += Str->Replace+"\r\n";
}
}
};
}