Advertisement
seltaeb42

Spambot v1.0

May 4th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.96 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace SpamBotText
  12. {
  13.     public partial class Form1 : Form
  14.     {
  15.         public Form1()
  16.         {
  17.             InitializeComponent();
  18.         }
  19.        
  20.         private void Form1_Load(object sender, EventArgs e)
  21.         {
  22.             textBox2.Text = "100";
  23.         }
  24.  
  25.         private void timer1_Tick(object sender, EventArgs e)
  26.         {
  27.             SendKeys.Send(textBox1.Text);
  28.             SendKeys.Send("{ENTER}");
  29.         }
  30.  
  31.         private void button1_Click(object sender, EventArgs e)
  32.         {
  33.             timer1.Interval = Convert.ToInt32(textBox2.Text);
  34.             timer1.Start();
  35.         }
  36.  
  37.         private void button2_Click(object sender, EventArgs e)
  38.         {
  39.             timer1.Stop();
  40.         }
  41.  
  42.  
  43.     }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement