#pragma once
namespace SpamBot {
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>
/// Zusammenfassung für Form1
///
/// Warnung: Wenn Sie den Namen dieser Klasse ändern, müssen Sie auch
/// die Ressourcendateiname-Eigenschaft für das Tool zur Kompilierung verwalteter Ressourcen ändern,
/// das allen RESX-Dateien zugewiesen ist, von denen diese Klasse abhängt.
/// Anderenfalls können die Designer nicht korrekt mit den lokalisierten Ressourcen
/// arbeiten, die diesem Formular zugewiesen sind.
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Konstruktorcode hier hinzufügen.
//
}
protected:
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Button^ button1;
protected:
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::Timer^ timer1;
private: System::Windows::Forms::Timer^ timer2;
private: System::Windows::Forms::Timer^ timer3;
private: System::Windows::Forms::Timer^ timer4;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label3;
private: System::ComponentModel::IContainer^ components;
private:
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(F orm1::typeid));
this->button1 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->timer1 = (gcnew System::Windows::Forms::Timer(this->components));
this->timer2 = (gcnew System::Windows::Forms::Timer(this->components));
this->timer3 = (gcnew System::Windows::Forms::Timer(this->components));
this->timer4 = (gcnew System::Windows::Forms::Timer(this->components));
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->SuspendLayout();
//
// button1
//
this->button1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->button1->Location = System::Drawing::Point(49, 90);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(214, 23);
this->button1->TabIndex = 0;
this->button1->Text = L"Start";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
//
// button2
//
this->button2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->button2->Location = System::Drawing::Point(269, 90);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(205, 23);
this->button2->TabIndex = 1;
this->button2->Text = L"Stop";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
//
// textBox1
//
this->textBox1->BackColor = System::Drawing::Color::Silver;
this->textBox1->Location = System::Drawing::Point(49, 12);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(425, 20);
this->textBox1->TabIndex = 2;
//
// textBox2
//
this->textBox2->BackColor = System::Drawing::Color::Silver;
this->textBox2->Location = System::Drawing::Point(49, 38);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(425, 20);
this->textBox2->TabIndex = 3;
//
// textBox3
//
this->textBox3->BackColor = System::Drawing::Color::Silver;
this->textBox3->Location = System::Drawing::Point(49, 64);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(425, 20);
this->textBox3->TabIndex = 4;
//
// timer1
//
this->timer1->Interval = 1100;
this->timer1->Tick += gcnew System::EventHandler(this, &Form1::timer1_Tick);
//
// timer2
//
this->timer2->Interval = 1100;
this->timer2->Tick += gcnew System::EventHandler(this, &Form1::timer2_Tick);
//
// timer3
//
this->timer3->Interval = 1100;
this->timer3->Tick += gcnew System::EventHandler(this, &Form1::timer3_Tick);
//
// timer4
//
this->timer4->Interval = 1100;
this->timer4->Tick += gcnew System::EventHandler(this, &Form1::timer4_Tick);
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(0, 15);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(43, 13);
this->label1->TabIndex = 5;
this->label1->Text = L"Text 1 :";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Location = System::Drawing::Point(0, 41);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(43, 13);
this->label2->TabIndex = 6;
this->label2->Text = L"Text 2 :";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System::Drawing::Point(0, 67);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(43, 13);
this->label3->TabIndex = 7;
this->label3->Text = L"Text 3 :";
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackColor = System::Drawing::Color::Gray;
this->ClientSize = System::Drawing::Size(486, 118);
this->Controls->Add(this->label3);
this->Controls->Add(this->label2);
this->Controls->Add(this->label1);
this->Controls->Add(this->textBox3);
this->Controls->Add(this->textBox2);
this->Controls->Add(this->textBox1);
this->Controls->Add(this->button2);
this->Controls->Add(this->button1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSing le;
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
this->MaximizeBox = false;
this->Name = L"Form1";
this->Text = L"Spam-Bot by FreeZoNe™";
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
////////////////////////////////////////////////////////////////////////////////////
/ EIGENTLICHER CODE
///////////////////////////////////////////////////////////////////////////////////
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
timer1->Start ();
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
timer1->Stop ();
timer2->Stop ();
timer3->Stop ();
}
private: System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e) {
SendKeys::Send (textBox1->Text);
SendKeys::Send ("{Enter}");
timer1->Stop ();
timer2->Start ();
}
private: System::Void timer2_Tick(System::Object^ sender, System::EventArgs^ e) {
SendKeys::Send (textBox2->Text);
SendKeys::Send ("{Enter}");
timer2->Stop ();
timer3->Start ();
}
private: System::Void timer3_Tick(System::Object^ sender, System::EventArgs^ e) {
SendKeys::Send (textBox3->Text);
SendKeys::Send ("{Enter}");
timer3->Stop ();
timer4->Start ();
}
private: System::Void timer4_Tick(System::Object^ sender, System::EventArgs^ e) {
SendKeys::Send ("_____Visit [www].Elitepvpers.[de] for NEW HACKS_____");
SendKeys::Send ("{Enter}");
timer4->Stop ();
timer1->Start ();
}
};
|